I was wondering if anyone has had the following error message when running gl.pcoa.plot after successfully running gl.pcoa on a gl object?
> gl.pcoa.plot(pc, gl_SF_final2, labels="pop", xaxis=1, yaxis=2)
Error in gl.pcoa.plot(pc, gl_SF_final2, labels = "pop", xaxis = 1, yaxis = 2) :
unused argument (labels = "pop")
Can the gl.pcoa.plot function not find the pop factor in gl_SF_final2? This used to work fine before a recent upgrade of R and RStudio but would rather not go back to older versions.
Thanks for any thoughts.