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
94 stars 10 forks source link

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

Open david-barnett opened 1 year ago

david-barnett commented 1 year ago

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

example thanks to Valentina