这是rcorr.adjust的输出 皮尔逊相关系数:
Eucgr.A00001.v2.0 Eucgr.A00003.v2.0 Eucgr.A00004.v2.0
Eucgr.A00001.v2.0 1.0000 0.1926 0.7389
Eucgr.A00003.v2.0 0.1926 1.0000 -0.0559
Eucgr.A00004.v2.0 0.7389 -0.0559 1.0000
Number of observations: 12
Pairwise two-sided p-values:
Eucgr.A00001.v2.0 Eucgr.A00003.v2.0 Eucgr.A00004.v2.0
Eucgr.A00001.v2.0 0.5487 0.0060
Eucgr.A00003.v2.0 0.5487 0.8631
Eucgr.A00004.v2.0 0.0060 0.8631
Adjusted p-values (Holm's method)
Eucgr.A00001.v2.0 Eucgr.A00003.v2.0 Eucgr.A00004.v2.0
Eucgr.A00001.v2.0 1.0000 0.0181
Eucgr.A00003.v2.0 1.0000 1.0000
Eucgr.A00004.v2.0 0.0181 1.0000
如何将其转换为包含行和列名称以及P的表并调整P?
类似这样的东西:
row column cor P-value padj
Eucgr.A00001.v2.0 Eucgr.A00003.v2.0 0.1926 0.5487 1.0000