[adegenet-forum] Missing values in genlight object

Thiho Jules thjnant at gmail.com
Thu Jan 10 15:05:23 CET 2013


Hello,

I have created a genlight object within the package "adegenet". I wanted 
to do between-group PCA which requires that I first use the funtion, 
dudi.pca.

But my genlight object involves "NA" or missing values, therefore, the 
dudi.pca function gives an error. I would like to know how I can remove 
the NA in a genlight object?

I tried na.replace and na.omit but none works, and NA.posi only gives me 
the position of the missing values.

Thank you in advance for your help,
Best,
Sara


More information about the adegenet-forum mailing list