Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pairwise comparisons - allow setting the p.value threshold (alpha) #721

Open
smaegol opened this issue Mar 22, 2022 · 0 comments
Open

pairwise comparisons - allow setting the p.value threshold (alpha) #721

smaegol opened this issue Mar 22, 2022 · 0 comments
Labels
enhancement 🔥 New feature or request

Comments

@smaegol
Copy link

smaegol commented Mar 22, 2022

Hi, sometimes (in my case, especially when doing ggbetweenstats) there are so many significant pairwise comparisons that showing them makes a plot very crowdy. However, there are comparisons that could be easily excluded by setting the p.value threshold (alpha value) there than default 0.05. It would be especially useful for comparisons where groups are numerous, leading to low p.values even for small differences.

I can see that 0.05 is hard-coded in the ggsignif_adder. By changing it to the variable (like sig_threshold or whatever), passed from the main function, it would be easy to employ ggsignif filtering without manual invocation of ggsignif::geom_signif and pairwise_comparisons(), very useful also in the case of shiny apps.

@IndrajeetPatil IndrajeetPatil added the enhancement 🔥 New feature or request label Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🔥 New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants