statannotations icon indicating copy to clipboard operation
statannotations copied to clipboard

Add support for LSD& Tukey multiple comparisons

Open lxw748 opened this issue 2 years ago • 2 comments

In ecology study, we often apply LSD or Tukey multiple comparisons, which are vital when labeling a batch of significance of experimental result. Most of multiple comparisons methods have been integrated in statmodels.stats.multicomp. You may get more information of multiple comparisons methods from https://zhuanlan.zhihu.com/p/44880434.

lxw748 avatar Apr 18 '22 15:04 lxw748

We were discussing this before ( https://github.com/trevismd/statannotations/issues/39 ) and it isn't as easy as one might think to support these without a significant re-write. You can however compute these before and use this package to plot the results. I've put up a blog post outlining how to do this.

sepro avatar Apr 25 '22 12:04 sepro

I have added in a function (https://github.com/rbpisupati/statannotations/commit/53d40eed7efbeef8af66bfa1c59a5ad5dd827fc3). Idea is to add in the letter representation for Tukey's test. The function is very primitive, one need to fix/add it in main function.

rbpisupati avatar Jun 04 '22 23:06 rbpisupati