提问人:stack 提问时间:11/17/2023 更新时间:11/17/2023 访问量:15
如何在和弦图中添加标签并指示显着相关性?
How to add labels and indicate significant correlations in the chord plot?
问:
我corr_mat在哪里存储了微生物群和代谢物数据之间的相关性。 在 pmat 中,我存储了相关性的 pvalue。我使用以下 R 图来创建和弦图。但我不确定该怎么做
- 首先,过滤并存储PMAT的显著相关性
- 在和弦图中以蓝色和红色表示显着的正相关和负相关
- 在和弦图中添加标签
library(ggcorrplot)
ggcorrplot(corr_mat)
chordDiagram(
x = corr_mat,
annotationTrack = "grid",
preAllocateTracks = 1)
答: 暂无答案
评论