View source: R/getTaxaSummary.R
getTaxaSummary | R Documentation |
Get Taxa Summary at Specific Taxonomic Level
getTaxaSummary(x, rank = "Phylum")
x |
A phyloseq object |
rank |
Taxonomic rank for which abundance summaries are required. |
Get a summary of total abundances of taxa at specific taxonomic level.
Sudarshan A. Shetty
Shetty SA (2020). Utilities for microbiome analytics. https://github.com/RIVM-IIV-Microbiome/biomeUtils
getTaxaSummary
library(biomeUtils)
library(dplyr)
data("SprockettTHData")
x <- subset_samples(SprockettTHData,
Delivery_Mode=="Vaginal" & Cohort == "Tsimane")
x <- removeZeros(x)
getTaxaSummary(x, rank="Phylum")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.