top_taxa: Top Taxa

Description Usage Arguments Value Examples

View source: R/top_taxa.R

Description

Return n most abundant taxa (based on total abundance over all samples), sorted by abundance

Usage

1
top_taxa(x, n = ntaxa(x))

Arguments

x

phyloseq object

n

Number of top taxa to return (default: all)

Value

Character vector listing the top taxa

Examples

1
2
data(dietswap)
topx <- top_taxa(dietswap, n=10)

microbiome documentation built on Nov. 8, 2020, 5:08 p.m.