As you know, we generally have several replicates (for example, we sequence 5 samples for each treatment), we have these output (e.g. we get their relative abundance). What do you suggest for a stack bar chart if we try to compare different treatments in one figure (I mean how to deal these replicates)? Thanks
I am not sure if I understood the question correctly, but since you have different replicates for each condition I would go for a boxplot like in this example taken from the internet:
(you can use the ggplot2 library in R). In this example, group 1 would be your treatment 1, group 2 your treatment 2, etc.
Indeed, in my opinion stacked box plot are not really a good idea for representing any data, let alone data based on multiple replicates.