How should we replace NAs from a genelight object?
0
0
Entering edit mode
3.6 years ago
jaafari.omid ▴ 80

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(gl.fish, 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 • 681 views
ADD COMMENT

Login before adding your answer.

Traffic: 1869 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

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

Powered by the version 2.3.6