Closed Yale73 closed 3 years ago
@Yale73 tell your corrplot version. I suggest corrplot v0.88.
cor.mtest()
function is OK. The previous version 0.85, 0.87 has a serious bug by default setting full_col = TRUE
. Just like #152 #157 #165 #166 The bug was fixed in v0.88. You can get it on CRAN or github.
@vsimko
Hi corrplot team,
Thanks for such a great package to visualize the correlation matrix. Recently, I am using this package to analyze my single-cell data. However, I found the results I got were opposite to that of stat_cor().
I am sure I used the same object and the same cluster. But when I made the single cell data matrix and used the following code for the significant filter.
I got TNFRSF4 and TNFRSF18 are positively correlated but negatively correlated with IL2RA (see the pale pink dots).
But when I used the Seurat embedded FeatureScatter() with stat_cor(), I found all three are positively correlated (R is person correlation coefficient, while p is p-value)
I also checked my data with before and after treatment and found they are definitely positively correlated.
Can you help me fix it? Whether it is because of the
cor.mtest()
function?Thanks, Yale