I’ve enjoyed using MaAsLin2 in my research with both non-longitudinal studies and repeated microbiome measurements. I’m wondering now if it’s appropriate to use MaAsLin2 in a case where I have unequal repeated dietary exposure measurements (e.g., up to 3 repeated measures per subject at specific time points) and a single microbiome outcome at a later time point. I would be interested in understanding whether we have time-varying associations between the exposure and the microbiome (in theory by evaluating interaction between exposure and time point on the microbiome).
It seems like I could use MaAsLin2 and implement a mixed model to account for the correlation among the multiple exposure measurements by indicating random effects by participant ID and fixed effects for dietary exposure and potential confounders. Based on earlier forum responses it seems like I would need to first create interaction variable (diet * time point) to include in the model.
Would this make sense for this tool, or would you recommend searching for another tool that may fit better?