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
106 stars 11 forks source link

example of tax_mutate for regex-based pre-cleaning of tax_table before tax_fix #93

Open david-barnett opened 2 years ago

david-barnett commented 2 years ago

ps %>% tax_mutate(across(everything(), ~ gsub("^.__uncultured_.+$", "", .))) %>% tax_fix()

example thanks to Valentina