Replies: 1 comment 2 replies
-
Hi @rdrummond, this is a good question. You have a few different options right now, and which you will prefer will likely come down to how comfortable you are with different statistical frameworks. For some intuition about the various solutions you have available, it is helpful to first talk about the case where all taxa are in all samples. Then you can simply use a log-ratio transformation (ALR, CLR, whatever), and perform multivariate linear regression with the built in Unfortunately, this only works when all taxa are in all samples. For the case where presence/absence varies, some options are:
I'm hoping to post some example workflows doing this type of analysis in the coming 1-2 months that will demonstrate the basic mechanics and perhaps more importantly, how to interpret the coefficients, which is in fact quite tricky due to the compositional nature of the bias parameters. |
Beta Was this translation helpful? Give feedback.
-
I would like to consider sample covariates (sequencing target and platform used, PCR protocol, etc.) when estimating taxon biases to normalize metagenomics data.
I am working with mock samples of known compositions, but presence/absence patterns vary across samples. My goal is to calibrate a model to later normalize cancer samples of unknown composition, in which I am searching microbiota patterns.
Could you please advise me on how to add covariates to the Metacal model?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions