View source: R/get_group_abundances.R
| get_group_abundances | R Documentation |
Taxa abundance summary by group. Useful for description of microbiome.
get_group_abundances(x, level, group, transform = "compositional")
x |
|
level |
Taxonomic level uses microbiome::aggregate_taxa, if NULL with return OTU/ASVs level stats. |
group |
Provide overview by groups. Default=NULL and will return values for entire dataset, akin to taxa_summary. |
transform |
Either "compositional" or "counts". Default= compositional |
A data frames/ grouped tibble
## Not run:
library(microbiomeutilities)
data("zackular2014")
p0 <- zackular2014
get_group_abundances(p0, level = "Phylum", group = "DiseaseState")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.