Hi Gabriella,
I cannot think about other method to display the variance explained in the axes, other than the two methods already implemented using the parameter "scale" (TRUE or FALSE).
For your other questions please see the code below.
Cheers,
Luis
library(dartR)
test <-
platypus.glpcoa <- gl.pcoa(test)
# running the function with save2tmp = TRUE to save the plot and tables in
# the temporal directory.
# As explained in the documentation you can change the size of the labels using
# the parameters:
# - label.size Specify the size of the point labels [default 1].
# - axis.label.size Specify the size of the displayed axis labels [default 1.5].
gl.pcoa.plot(pcoa,test, label.size = 2, axis.label.size = 3,save2tmp = TRUE)
# listing the plots and tables in tempdir
gl.list.reports()
# choosing the plot or table to retrieve
res <- gl.print.reports(1)
# changing axes labels
res + labs(x = "Label X", y = "Label Y")
# As explained in the documentation you can choose in which axis you want to plot a specific ordination
# - xaxis Identify the x axis from those available in the ordination [default 1].
# - yaxis Identify the y axis from those available in the ordination [default 2].
gl.pcoa.plot(pcoa,test,xaxis = 2,yaxis = 1)