david-barnett / microViz

R package for microbiome data visualization and statistics. Uses phyloseq, vegan and the tidyverse. Docker image available.
https://david-barnett.github.io/microViz/
GNU General Public License v3.0
99 stars 10 forks source link

tax_top function #9

Closed david-barnett closed 3 years ago

david-barnett commented 3 years ago

like top_taxa but with options for how "top" is defined (e.g. prevalence/total/max/median)

david-barnett commented 3 years ago

tax_sort() followed by taxa_names() and optionally head() achieves this in a flexible way