Taxa abundance summary by group. Useful for description of microbiome.
get_group_abundances(x, level, group, transform = "compositional")
phyloseq-class
object
Taxonomic level uses microbiome::aggregate_taxa, if NULL with return OTU/ASVs level stats.
Provide overview by groups. Default=NULL and will return values for entire dataset, akin to taxa_summary.
Either "compositional" or "counts". Default= compositional
A data frames/ grouped tibble