trevismd / statannotations

add statistical significance annotations on seaborn plots. Further development of statannot, with bugfixes, new features, and a different API.
Other
624 stars 67 forks source link

Limiting annotations shown #49

Closed eddykay310 closed 1 year ago

eddykay310 commented 2 years ago

Hi @mxposed

I will like to find out if there was a documentation for this tool? I would like to know if there is an option to limit annotations to only statistically significant comparisons

Thank you

mxposed commented 2 years ago

Hi Edwin. I'm not a maintainer of this package, but I can tell you what I know. I don't think there is a way to limit the annotations to only statistically significant. In order to do that, I compute p-values externally, filter them and then set them with annotator.set_custom_annotations. This way I have more control over the formatting and test procedure, which I like.

As for the documentation, there are some examples in the main README and here. Also, please check a separate repository with tutorials

trevismd commented 2 years ago

Hello,

I just opened a discussion on this topic here: https://github.com/trevismd/statannotations/discussions/50. Please vote and/or comment there so we can understand what makes the most sense for the community and prioritize our development tasks.

trevismd commented 1 year ago

Work on this is ongoing (see #66)!