Including covariables

Is it possible to include covariables in the PLS-DA analysis?
Thank you, Anja

HI Anja,
unfortunately not yet - we are working on it, but only for batch effects. If you believe you have with batch effects in your data (categorical variable), let me know we have a few tricks and reproducible R code to diagnose and correct.


could you please share the R codes for this? i want to correct for smoking in spslda.
Thank you,

hi @shshahbazii,

You can have a look at these two papers available in open access:

Your data may not be microbiome data but the same methods / techniques will apply. Just avoid transformation with CLR. The code is all available in the Github page of Yiwen.