Skip to contents

Finds the top taxa and arranges in descending order. Uses max() to find the maximum taxon.

Usage

show_top_taxa(rel_abund_tb)

Arguments

rel_abund_tb

A rel_abund table in tibble format.

Value

A tibble.

Examples

show_top_taxa(rel_abund_phy(physeq))
#> # A tibble: 6 × 2
#>   taxon               max
#>   <chr>             <dbl>
#> 1 Pseudomonadota   0.261 
#> 2 Spirochaetota    0.0492
#> 3 Bacteroidota     0.0355
#> 4 Bacillota        0.0350
#> 5 Actinomycetota   0.0332
#> 6 Deferribacterota 0.0249