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.