Relative Content

Tag Archive for rggplot2bar-chartaxis-labelsstacked-bar-chart

Nested grouping variables for stacked bar graph

I’m trying to improve the visualization of this figure by separating the x-axis into nested subcategories of samples. I’m not able to use ggplot fill for this since I’ve already used pivot_longer() to include 6 types of output. The solution also has to allow a free scale view using facet_wrap() to examine trends between individual protein components.