Data frame with mean, max, median standard deviation of relative abundance.

taxa_summary(x, level)

Arguments

x

phyloseq-class object

level

Taxonomic level for which summary is required

Value

returns a data frame with relative abundance summary.

Author

Contact: Sudarshan A. Shetty sudarshanshetty9@gmail.com

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")
}