[adegenet-forum] supplementary individuals
Mark.Coulson at glasgow.ac.uk
Wed Jan 15 14:52:22 CET 2014
I am trying to bring in a genpop file of supplementary individuals to compare to my baseline file. Baseline file works just fine however when I try to bring in the supplementary file I get the following error message:
File description: Title line:"all_farm_wild_SNP_data_35_markers"
Error in `rownames<-`(`*tmp*`, value = c("Eden_farm_01", "Eden_farm_02", :
length of 'dimnames'  not equal to array extent
In addition: Warning message:
In matrix(unlist(strsplit(vec.genot, "[[:space:]]+")), ncol = nloc, :
data length  is not a sub-multiple or multiple of the number of rows 
Not sure what exactly the above means, but I have figured out that the last 9 populations of the supplementary file appear to be causing the problem. If I remove them from the input file, the rest of the supplementary populations go in just fine.
Any thoughts? These last 9 populations are some of the most critical for my analysis!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the adegenet-forum