[adegenet-forum] predict.dapc

Thomas, Evert (Bioversity-Colombia) E.Thomas at CGIAR.ORG
Fri Nov 18 14:53:54 CET 2011


Dear Thibaut,

I had problems with R studio - the program froze each time I opened it, even after uninstalling and removing everything and then reinstalling... weird... but the below problem seemed to have been related to this because now it works... However the result is highly unexpected (several of the individuals are assigned to a cluster that is highly unlikely...). On another note: I have noticed that there are some inconsistencies between the cluster assignment and the cluster 'membership values (in the 'posterior' slot) . eg membership values of 0.2 for clus1 and 0.7 for clus 3, but the assignment slot says that the individual belongs to clus1... 

kind regards and have an excellent WE

Evert

-----Original Message-----
From: Jombart, Thibaut [mailto:t.jombart at imperial.ac.uk] 
Sent: lunes, 14 de noviembre de 2011 05:32 a.m.
To: Thomas, Evert (Bioversity-Colombia); adegenet-forum at r-forge.wu-wien.ac.at
Subject: RE: predict.dapc

Hello, 

can you please send code / dummy data to reproduce this error?

Cheers

Thibaut
________________________________________
From: adegenet-forum-bounces at r-forge.wu-wien.ac.at [adegenet-forum-bounces at r-forge.wu-wien.ac.at] on behalf of Thomas, Evert (Bioversity-Colombia) [E.Thomas at CGIAR.ORG]
Sent: 13 November 2011 22:38
To: adegenet-forum at r-forge.wu-wien.ac.at
Subject: [adegenet-forum] predict.dapc

Dear Thibaut,


I tried to apply the "predict.dapc" function but get an error message as follows: Error en predict.lda(x, XU, prior, dimen, method, ...) : subíndice fuera de  los límites (error in predict.lda(x, XU, prior, dimen, method, ...): subindex outside of limits). Any idea what could be the problem?



Many thanks in advance!



Cheers evert



More information about the adegenet-forum mailing list