ggpubr icon indicating copy to clipboard operation
ggpubr copied to clipboard

add "p.adjust.method" to `stat_compare_means`

Open kapsner opened this issue 3 years ago • 1 comments

Feature request:

It would be great to have the argument p.adjust.method available when computing comparisons using the function stat_compare_means.

Currently, p-value adjustment is defaulted to "holm" and cannot be accessed directly. Instead, for using different p-value adjustment methods, a workaround is required by using compare_means to create a tibble and provide it to stat_pvalue_manual.

kapsner avatar Oct 14 '21 09:10 kapsner

+1, although I believe currently it's hardcoded to none, which disables p adjustment.

maltezacharias avatar Feb 07 '22 12:02 maltezacharias