This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Add line under stat test

enter image description hereHi,

I would like to add a line under the top stat symbols. Any help would be much appreciated.

Here is my code :

gv_interest = ggboxplot(dat_viogenes, x = "Condition", y = colnames(dat_viogenes)[1:19], combine = T, fill="Condition") + theme(axis.text.x = element_text(angle = 45, hjust = 1)) + stat_compare_means( method = "anova", size = 4, label.y = 3, vjust=1.2, label = "p.signif", hjust=-2.5, tip.length = 0.01)+
stat_compare_means(comparisons = my_comparisons, method = "t.test",label.y = 1.75,, size= 4, method.args = list(alternative="greater"), label = "p.signif") # Add pairwise comparisons p-value

gv_interest

Thanks

stats r

0 answers

No answers yet.

Log in to answer this question.