[adegenet-forum] supplementary individuals error

Mark Coulson Mark.Coulson at glasgow.ac.uk
Thu Jan 16 10:20:06 CET 2014

Dear all,

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' [1] not equal to array extent
In addition: Warning message:
In matrix(unlist(strsplit(vec.genot, "[[:space:]]+")), ncol = nloc,  :
  data length [105141] is not a sub-multiple or multiple of the number of rows [3005]

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...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20140116/e5a2374a/attachment.html>

More information about the adegenet-forum mailing list