【发布时间】:2020-10-20 19:42:16
【问题描述】:
在许多图中,人们希望突出某些结果之间观察到的差异的统计显着性。可以使用 ggpubr() 或 geom.signif() 扩展在 R 中完成此任务。
我的意思是这里的一个例子(见带星号的水平条): https://www.nature.com/articles/s41598-019-40496-8/figures/1
我正在生成与图中所示完全相同的图,但我的工作流程是基于 python 的,仅仅为此使用 R 会让我很恼火。我想获得类似R的另一个线程中建议的东西,但是在python plotnine中: Put stars on ggplot barplots and boxplots - to indicate the level of significance (p-value)
据我所知,没有办法使用 plotnine 获得这种类型的统计表示。您有解决方法或建议吗?我是否在 plotnine API 中错过了它?
【问题讨论】:
标签: python ggplot2 ggpubr significance plotnine