Description Usage Arguments Value Examples
Tabulate interaction between two factors in the sample_data of a phyloseq object
1 | tabulate_factors(physeq, factor1, factor2)
|
physeq |
Phyloseq object |
factor1 |
First factor |
factor2 |
Second factor |
data frame containing table of two-factor interactions.
1 2 3 4 5 6 | ## Not run:
tab <- tabulate_factors(physeq, "Diet", "Enterotype")
colnames(tab) <- paste0("ET-", colnames(tab))
knitr::kable(tab, caption = "Distribution of enterotypes in the different Diet groups")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.