How to control variables


Hello! I’m currently using splsda from mixOmics for my analysis of clinical data. My mentor wants me to control some variables such as Sex and BMI when building the models. Does anyone know how to control variables using plsda and splsda? Thanks so much for the help!

hi @chelsilarious,
Apologies for the answer. It is not straightforward to add covariates in a PLS-DA model. We are still working on it, but specifically to remove batch effects. What we do instead is check a priori that there is no effect of those covariates (you could also check a posteriori after sPLS-DA).

Thank you so much for replying!