Hello! I am implementing a pls2 model arranged very similar to the liver toxicity study, but I would like to add age (a 2-factor column in my metadata data frame) as a covariate in the model. How can I execute this using the mixOmics package? Thank you in advance!
hi @hardytan and welcome,
Unfortunately we do not have (yet!*) any method to do this. So you will need to correct for age before inputing the data. For example using a linear model and extracting the residuals (or any other method of your choice).
- it will take a long while
Kim-Anh