Data frame with mean, max, median standard deviation of relative abundance.
Arguments
- x
phyloseq-class
object
- level
Taxonomic level for which summary is required
Value
returns a data frame with relative abundance summary.
Examples
if (FALSE) {
# Example data
library(microbiomeutilities)
data("zackular2014")
p0 <- zackular2014
p0.rel <- microbiome::transform(p0, "compositional")
tx.sum1 <- taxa_summary(p0, "Phylum")
tx.sum2 <- taxa_summary(p0.rel, "Phylum")
}