-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request to understand the LMM models in alpha, beta diversity and Differencial abundance. #67
Comments
Dear Orson, Thank you for your interest in MicrobiomeStat and for reaching out with your question about Linear Mixed Models (LMM). We appreciate your detailed description of your experimental design. From your description, I can see you have:
While the model formula you suggested (y ~ time.var + group.var + time.var:group.var + (1|subject.var)) is generally appropriate for longitudinal microbiome data analysis, to better assist you, could you please specify which MicrobiomeStat function(s) you are using? Each function might have slightly different implementations to accommodate the specific needs of alpha diversity, beta diversity, and differential abundance analyses. Once you clarify which function(s) you're working with, I can provide more specific guidance about the model implementation. Best regards |
Hi Caffery Yang, Thank's for rapid response, I understand based on your response that each function generate a different ecuation model.
Here, I prefered used linda because I can put the ecuation.
|
Hi Orson, Thank you for your detailed follow-up questions about the model equations in MicrobiomeStat. I'll explain how each function implements its statistical models:
This model includes:
First tries:
If that fails to converge, automatically simplifies to:
For your
This model:
Some suggestions for your analysis:
Though your current random intercept model is also perfectly valid. Overall, your implementation looks appropriate for your experimental design (4 treatments, 3 timepoints, 5 replicates per treatment-timepoint combination). Let me know if you need any clarification about specific aspects of these models. Best regards, |
PS: I'd like to encourage you to explore MicrobiomeStat's rich visualization capabilities to complement your statistical analyses. |
I appreciated so much your help @cafferychen777 |
Dear team MicrobiomeStat,
I am appreciate very much your software contribution. I am new using Lineal Mixed models.
Please can you suggest me If I am used my data correctly.
In my experiment, I have this variables:
asv variable : Taxonomical abundances of DADA2 output
treat variable: 4 differents (A, B, C and D)
time variable : 3 differents time points (1,2,3)
sample_treatment_time variable: 5 independent samples for each treatment and their respective replicates over time (60 samples in total).
My question is what is the asv community that are affected by Treat, Time or interaction of these Treat:Time.
I am enter my variables for model in MicrobiomeStat:
group.var = Treat
subject.var = sample_treatment_time
time.var = Time
Please can you explain me how is the ecuation form :
In the manual I am not sure if use the same model for alpha and beta diversity and for diferential abundance of AVS.
I understand that use : y ~ time.var + group.var + time.var : group.var + (1 | subject.var)
is correct ??
Greats
The text was updated successfully, but these errors were encountered: