trevismd / statannotations

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

Feature request: Text format that combines both numerical p-values and stars #139

Open jchartove opened 7 months ago

jchartove commented 7 months ago

I would love if there was a text format option that basically concatenated the simple and star options so that a numerical p-value is displayed followed by either (ns) or stars. As it currently stands, using text_format="simple" with Benjamini-Hochberg correction is confusing because it only displays (ns) for some non-significant comparisons (those that are below the numerical significance threshold) but not for others, and it is not indicated where the significance threshold is. Having either (ns) or stars after all displayed p-values would resolve this.