Dear mixOmics developer, we are working with your R package but I am having problems to plot my pls-da with the explained variance percentage.
When we use the plotIndiv function, the plot appear only with an “X” and “Y” on the axis labels. We tried to use the X.label and Y.label parameteres but it does not work (there is neither any warning or error message).
Here is the code we use:
X_autoscaled1<-read.table("datos autoescalados marcadores.txt",header=TRUE,sep="\t")
biomarkers.plsda <- plsda(X_autoscaled1, Y, ncomp = 10,scale=FALSE)
plotIndiv(biomarkers.plsda , comp = 1:2,
group = Y, ind.names = FALSE,ellipse = TRUE, legend = TRUE, title = 'PLSDA on biomarkers')
We also checked that “biomarkers.plsda$explained.variance” has values attached.
We will be very gratefull to you if you could solve our issue.
Thanks in advance.
Óscar Brochado kith.