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

comp_barplot of raw abundances #131

Closed moyn413 closed 11 months ago

moyn413 commented 1 year ago

Hi, is there a way to stop the comp_barplot() function from normalizing abundances to a value of 1 but instead to plot the raw values in the barplot? Thanks!

david-barnett commented 1 year ago

yep! add argument to comp_barplot: tax_transform_for_plot = "identity", for no transformation

the default is "compositional"

moyn413 commented 10 months ago

Worked perfectly! Thank you!