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

comp_barplot of raw abundances #131

Closed moyn413 closed 6 months ago

moyn413 commented 7 months 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 7 months ago

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

the default is "compositional"

moyn413 commented 6 months ago

Worked perfectly! Thank you!