I am a total beginner in R and I was wondering if I could get some help in data visualisation using ggplot2 package.
I am trying to mark significance level with adjusted p-value (with Bonferroni correction) instead of normal p-value with asterisk.
The codes I tried are...
stat_compare_means(aes(label=..p.adj.., group=sample_type), label = "p.signif", method = "t.test", hide.ns = TRUE)
stat_compare_means(aes(group=sample_type), p.adjust.method = "bonferroni", label = "p.signif", method = "t.test", hide.ns = TRUE)