0

Can someone tell me why the Error in t(dat1) : object 'dat1' not found is appearing, and why Error in is.element("pairwise", names(x)) : object 'pwStats' not found is too?

I'm new to R, and I am trying to visualize the Djost graph shown here:

pwStats <-fastDivPart(infile = microsatellitecoyreadyforR, 

                       outfile = "Coyote_resultspwstats",

                       gp = 2, bs_locus = TRUE,

                       bs_pairwise = TRUE, boots = 3)
Error in t(dat1) : object 'dat1' not found

 #visualize pwStats 

 diffPlot(x=pwStats,outfile = "Coyote_resultspwstats", interactive=TRUE)
Error in is.element("pairwise", names(x)) : object 'pwStats' not found
Richie Thomas
  • 3,073
  • 4
  • 32
  • 55
  • `infile` needs to be the name of a genepop file (in quotations) – Esther Jun 20 '18 at 01:36
  • @Esther , sorry, but I am still very new to R, and I am not sure how to make the infile a genepop file. I spent the past four hours trying to understand GenAlEx on excel, attempting to convert things into a genepop file, and inputting the information into the function. I've been able to import things, but what do I do once I have the imported data set? How do I tell R to run it? – Melanie Croft Jun 20 '18 at 18:58
  • Don't import the file, just add the path to the file in quotes. – Esther Jun 20 '18 at 19:07

0 Answers0