Closed laiajulianamu closed 2 years ago
the gl.pcoa.plot()
function takes a glPca
object, which contains PC Analysis of a genlight object. You submitted a genlight object. You can create the PC analysis by using gl_pca <- glPca(gl)
and then passing gl_pca
to the gl.pcoa.plot()
function
Hi I am having the next issue when I run the pcoa plot, could you help me please.
Starting gl.pcoa.plot Processing genlight object with SNP data Error in utils.check.datatype(glPca, accept = "glPca", verbose = verbose) : Fatal Error: inappropriate object passed to function, found SNP expecting glPca