summarize_taxa {microbiomeMarker} | R Documentation |
Provides summary information of the representation of a taxonomic levels within each sample.
summarize_taxa(ps, level = rank_names(ps)[1], absolute = TRUE, sep = "|")
ps |
a |
level |
taxonomic level to summarize, default the top level rank of the
|
absolute |
logical, whether return the absolute abundance or
relative abundance, default |
sep |
a character string to separate the taxonomic levels. |
a phyloseq::phyloseq
object, where each row represents a
taxa, and each col represents the taxa abundance of each sample.
data(enterotypes_arumugam) summarize_taxa(enterotypes_arumugam)