I am currently using deseq2 for differential abundance analysis. Consider a control-treatment type study where animals are housed in cages/pens and all animals in a given pen receive the same treatment. The only way to account for this using deseq2 is to calculate a median for each OTU and then use cage as the experimental unit. This works but some power is lost. How is this type of analysis handled with gneiss or ancom ?
Many thanks for the quick answer! In the solution suggested cage is a fixed effect as understand it. Is this correct ? I would like to us cage as a random effect.
I found that ANCOM2 was used for the benchmarks while I was reading your differential ranking paper. Do you know if ANCOM2 can be used for differential abundance testing that accounts for nested random effects such as the cages/pens effects? I read the ANCOM2 documentation and tried to contact the authors but got no answers. Could you comment on this?
Hi @yanxianl, sorry I can't comment on that. Theoretically it would be possible, but I'd be worried about interpretation. Should be able to do this in aldex2 and definitely songbird
Thanks for the quick reply! I was actually reading the documentation of the songbird that implements the differential ranking method. Great that the support for nested random effects is much more straightforward in the songbird. Looking forward to its release in the QIIME2 library.
In case it wasn't clear - songbird assumes fixed effects for everything (since it is just multinomial regression). You can have a fixed effects covariate for cage effect for starters - but it won't do random effects (yet).