Add line under stat test
0
0
Entering edit mode
6 months ago
G.S ▴ 60

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 • 283 views
ADD COMMENT
0
Entering edit mode

You could use this

ADD REPLY

Login before adding your answer.

Traffic: 1352 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6