Very nice package but I have noticed an issue: if I have both negative and positive correlations, everything is fine
But if the correlations are all positive, it seems that the color scale is adjusting to the min and max correlations and not to the range displayed in the legend:
The code I am running is
X=na.omit(DH_pheno_pop1[,3:6])
Hello Viliam and Taiyun,
Very nice package but I have noticed an issue: if I have both negative and positive correlations, everything is fine
But if the correlations are all positive, it seems that the color scale is adjusting to the min and max correlations and not to the range displayed in the legend:
The code I am running is
X=na.omit(DH_pheno_pop1[,3:6])
corrplot(cor(X), method="color", col=col(200), type="upper", order="hclust", addCoef.col = "black", tl.col="black", tl.srt=45, p.mat = cor.mtest(X), sig.level = 0.01, insig = "blank", diag=FALSE )
I am using corrplot 0.85 in RStudio 1.2.5001 and R 4.0.0.
Cheers