Error - adding variants

Skip to first unread message

Leonardo Caserta

Nov 14, 2022, 1:19:11 PM11/14/22
to MixviR
I'm running the example analysis without problems until I got to the point of running with dates + lineages. 
When I run:  

explore_mutations(muts.df = samp_mutations, dates = system.file(muts.df = samp_mutations, "extdata", "example_location_date.csv", package = "MixviR"), lineage.muts = system.file("extdata", "example_lineage_muts.csv", package = "MixviR")) 

I get the following error message: 

Error: '' does not exist in current working directory ('C:/Users/Lenovo/Documents') 

Am I doing something wrong? The shiny window appeared as expected until the previous step (with dates only). 

Thank you 

Mike Sovic

Nov 14, 2022, 2:52:36 PM11/14/22
to MixviR
Hi Leonardo,

Yep, looks like there's a typo in that section of code - sorry about that. The 'muts.df = samp_mutations,' is duplicated. That shouldn't be inside the 'system.file()' function. So, that code should be...

explore_mutations(muts.df = samp_mutations,
                  dates = system.file("extdata",
                                      package = "MixviR"),
                  lineage.muts = system.file("extdata",
                                             package = "MixviR"))

See if that works for you.

Reply all
Reply to author
0 new messages