Hello bioBakery help forum,
I am trying to use Maaslin2 to look for associations between my two datasets: microbial species (n=255) and dietary variables (n=38). In the script, I had assigned the dietary variables as fixed_effects, and BMI and energy consumption as random_effects. However, there is an error message:
“Error in value[3L] :
Invalid formula. Please provide a different formula: expr ~ Bread_wholegrain(kcal) +…”
Do you know if this may be a limited number of fixed effects (or in this context, dietary variables) in the formula?
Many thanks in advance for your attention,