significative_diff_boxplot.Rd
This is a convenience function wrapper around `rstatix` and `ggpubr` functions.
significative_diff_boxplot( melted, type = "Tukey", padjmeth = "bonferroni", ypos = 1.5, step_increase = 0.1, pvalue = 0.05, no_label = FALSE )
melted | a `data.frame` with a column `value`, the numeric value of the variable to test. Usually `melted` will be obtained using `reshape2::melt() |
---|---|
type | `character`, controls the switch between different types of tests: `Dunn` uses `rstatix::dunn_test_test()` `Tukey` uses `rstatix::tukey_hsd()` and `Wilcox` uses `rstatix::wilcox_test()`. |
padjmeth | `character`, passed to `p.adjust.method`, controls the type of p-value adjustement |
ypos | `numeric`, graphical parameter |
step_increase | `numeric`, graphical parameter |
pvalue | `numeric`, p-value threshold |
no_label | `logical`, if `TRUE` remove the labels on the plot |
a named list with three elements `p` a `ggplot` plot, `stats` the statistics table of the test and `p_nop` a `ggplot` plot