Entering edit mode
10 weeks ago
flourde • 0
I would like to make a plot similar to the one here in R. I have a phyloseq object that contains the abundance of all taxa and samples associated with each group. What I want to do is to categorize each taxa as Type A or Type B then plot the abundance of the taxa by Type A/B and split them by treatment group.
Any advice on how to do this?
There are plenty of examples using ggplot2 barplots on the internet : http://www.sthda.com/english/wiki/ggplot2-barplots-quick-start-guide-r-software-and-data-visualization, https://www.r-bloggers.com/2019/05/detailed-guide-to-the-bar-chart-in-r-with-ggplot/