cafferychen777 / ggpicrust2

Make Picrust2 Output Analysis and Visualization Easier
https://cafferychen777.github.io/ggpicrust2/
Other
91 stars 11 forks source link

How to model for mixed effects? #82

Open otaviolovison opened 6 months ago

otaviolovison commented 6 months ago

Hello!

I need instructions on how to model for mixed effects. For example, I want to perform a differential abundance analysis using LINDA algorithm modeling for 'Age + Sex + Batch + (my variable of interest).

Thank you!

cafferychen777 commented 6 months ago

Hello @otaviolovison,

Thank you for reaching out with your question. Currently, for the ggpicrust2 package, the functionality you're asking for is not available. However, a good alternative would be to directly use the linda function available in the MicrobiomeStat package. You can find this function and its detailed documentation at the following link: MicrobiomeStat linda function.

This should help you with the differential abundance analysis incorporating mixed effects like 'Age + Sex + Batch + (your variable of interest)' using the LINDA algorithm. If you have any more questions or need further assistance, feel free to ask!

Best regards,

Chen YANG