-
Notifications
You must be signed in to change notification settings - Fork 74
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
Non bonferroni comparisons corrections have multiple significances? #30
Comments
Hello @soorajachar, About the annotation produced
I hope it is now at least more clear. Please tell me if it is not the case, if there is a possible bug, or if you'd prefer things to be handled differently in some way. About the warning message This warning is not linked to the correction method. It seems that you are overlaying the bars with data points, but each bar only has 3 corresponding points. This is what is referred to in |
Thank you I believe that makes things more clear. To clarify one point though, does this mean with type I corrections (like holm-bonferroni, benjamin-hochberg etc.) the corrected p-value will always be either significant "*" or not significant "ns"? There will no longer be levels of significance (**, *** etc.)? If so it may be good to add a non-default option to the Annotater class to only show the corrected significance for these type I corrections (either * or ns) and discard the original significance, as it can get a bit crowded to show both at once with many comparisons, and is also a bit difficult to explain. |
No, for these types of corrections, all the thresholds configured (and shown on the star notation legend) are still used, so you could also have Really, these methods only add these Isn't it fairly easy to explain like this ? The idea is to keep displaying the raw p-value. I guess there could be an option to report a corrected one and have the same behaviour as with |
Right I meant that the Type I corrections would never have anything besides an (ns) as the corrected threshold (there would never be a "** (*)" for example). I agree that the (ns) is useful to have, and I think it should be the default option, but it can cause problems in terms of readability when conducting exploratory analysis with a lot of comparisons, so I think it still would be useful to have an option to turn off the original p-values and just display the ns when doing a Type I correction. |
It's a good idea, thank you for sharing your thoughts! I think I can come up with an implementation fairly quickly. I hope you'll give some feedback then too ;-) |
No problem thanks for listening to my feedback. Let me know if I can be of any help. |
Thanks! Would you have the time to review my proposal in #31, or just see if it works for you ? |
Looks good to me; I think adding the option for custom formatting of the "ns" string is an especially good idea as different journals have different formatting standards for reporting multiple comparisons corrections. |
Is it not possible to show both the raw and the adjusted pvalues at least when using verbose output (not in the figure)? The corrected pvalue is useful to report as well. |
Hello thank you for this updated version of statannot it's been very useful. I am currently having an issue with non-bonferroni multiple comparisons corrections; they seem to give me two significances like this (with the holms-bonferroni; the "* (ns)" label is what seems strange to me):
vs. the bonferroni correction, which only gives me a single significance for each comparison:
Strangely I do get this warning for using holms-bonferroni, but not with bonferroni alone:
Thanks in advance.
The text was updated successfully, but these errors were encountered: