How to set different control/reference groups? #55
-
Hello, I'm performing an analysis of microbiome data with ANCOM-BC where samples are taken from 4 different treatments (A->D). I think that, by default, the first variable is set as the reference and the results are A vs B, A vs C, etc. I'd like to perform a few different calculations like A vs B, C vs D, etc. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @maximus-sci, Suppose you have 4 groups, A, B, C, and D, and you are interested in the comparison of C vs. D. A quick and easy way is probably to subset the data to contain only C and D, and then perform ANCOMBC. A sample code would like
Hope it helps, |
Beta Was this translation helpful? Give feedback.
Hi @maximus-sci,
Suppose you have 4 groups, A, B, C, and D, and you are interested in the comparison of C vs. D. A quick and easy way is probably to subset the data to contain only C and D, and then perform ANCOMBC. A sample code would like
Hope it helps,
Huang