top_taxa {microbiome} | R Documentation

## Top Taxa

### Description

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

### Usage

    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

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

[Package microbiome version 1.2.1 Index]