How should we replace NAs from a genelight object?
Entering edit mode
18 days ago
jaafari.omid ▴ 50

Hello dears all;

I am working on a vcf file generated from GBS data of some fish populations. So, in R the vcf file was converted to a genelight object through the function vcfR2genelight. Now I wan to perform a PCA using glpca but when I run my command it shows me the following error:

Error in glPca(, nf = 3, parallel = TRUE) : NAs detected in the vector of means

So, I will be grateful if you can help me to overcome this problem. Any command and help is appreciated in advance.

Regards, Omid

R glpca adegenet GBS SNP • 89 views

Login before adding your answer.

Traffic: 1808 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6