[adegenet-forum] dealing with colinear variables in dapc

sophie bouchet bouchet.sophie at free.fr
Wed Jul 31 11:42:44 CEST 2013


Thanks,

I guess this is within group variance? because I removed very low maf
markers.

Is there any function in adegenet that gives within group variable variance?

Sophie


2013/7/31 Jombart, Thibaut <t.jombart at imperial.ac.uk>

> Hello,
>
> collinearity is not the problem here, but variables with NULL variance
> give undefined F statistics and should this be discarded.
>
> Best
> Thibaut
> ________________________________________
> From: adegenet-forum-bounces at lists.r-forge.r-project.org [
> adegenet-forum-bounces at lists.r-forge.r-project.org] on behalf of sophie
> bouchet [bouchet.sophie at free.fr]
> Sent: 30 July 2013 17:00
> To: adegenet-forum at lists.r-forge.r-project.org
> Subject: [adegenet-forum] dealing with colinear variables in dapc
>
> Dear Thibault,
>
> When running dapc on a dataset containing 174 individuals and 10000 SNP
> markers, I obtain this error message :
>
> Erreur dans lda.default(x, grouping, ...) :
>   variables 1 2 appear to be constant within groups
>
> Do I need to remove colinear markers from the dataset before running dapc?
>
> Thanks,
>
> Sophie
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20130731/595a1b77/attachment.html>


More information about the adegenet-forum mailing list