Skip to contents

Generates a numeric vector as the threshold to display n taxa.

Usage

choose_n_taxa(rel_abund_tb, n_taxa = 8)

Arguments

rel_abund_tb

A rel_abund table in tibble format.

n_taxa

An integer vector for the number of taxa to display.

Value

A numeric vector.

Examples

choose_n_taxa(rel_abund_phy(physeq), n_taxa = 8)
#> [1] 0.02493449