[adegenet-forum] DAPC error

LAURA NICOLE WOODINGS 17869067 at students.latrobe.edu.au
Mon Oct 5 05:43:35 CEST 2015


I am using adegenet to perform a DAPC on some SNP data. When I run the DAPC using the following command:
Dapc_cnt75_cl94_all <- dapc(cnt75_cl94_all, grp=Cluster_cnt75_cl94_k15$grp
I get this error: Error in svd(X, nu = 0L) : infinite or missing values in 'x'
I have checked that all the group memberships are in the input file using "pop(cnt75_cl94_all)" and all group memberships are present.
The code I use to read in the original structure input file is:
cnt75_cl94_all <- read.structure("../Excelformat_cnt75_cl94_2-16_ml80_maf0.10_missing0.8_hwe0.05.stru", n.ind=98, n.loc=735, onerowperind=TRUE, col.lab=1, col.pop=2, row.marknames=1, NA.char="0", missing=0)

I am not sure why I am getting this error. I have attached my input file. Any help would be much appreciated.


PhD Candidate
Department of Ecology, Environment and Evolution| La Trobe University | Bundoora 3086 | Australia

m: +61 408 642 006 | e: 17869067 at students.latrobe.edu.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20151005/cba27e96/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Excelformat_cnt75_cl94_2-16_ml80_maf0.10_missing0.8_hwe0.05.stru
Type: application/x-msexcel
Size: 297572 bytes
Desc: Excelformat_cnt75_cl94_2-16_ml80_maf0.10_missing0.8_hwe0.05.stru
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20151005/cba27e96/attachment-0001.bin>

More information about the adegenet-forum mailing list