# Example with simulated compositional data
X = matrix(runif(30, 1, 10), ncol = 3)
colnames(X) = c("A", "B", "C")
group = rep(c("G1", "G2"), each = 5)
geometric_mean_barplot(X, group, include_boxplot = TRUE)
Run the code above in your browser using DataLab