Dear mixOmics devs,
Thank you for the package, I enjoy using it.
I am trying to obtain biplot for PLDA sparse or not.
I think the answer here is outdated:
(section : * Can I produce a biplot representation where individuals and variables are superimposed?)
I was not able to use the code, some parameters seems outdated and after few attempts, I can’t reach a plot with both variables and individuals.
Then I read this:
And I was able to reproduce it
Then I tried to apply it to the example from the FAQ but the result seems quite surprising to me.
data(liver.toxicity) X <- liver.toxicity$gene Y <- as.factor(liver.toxicity$treatment[, 4]) res = splsda(X, Y, ncomp = 2, keepX = c(20, 20)) biplot(res)
I expected variables to be projected on both component. here they seem to belong to only 1 or 2, never both.
MixOmics : 6.18.0