我要绘制一个相关数据的热图,而不是从0.85获得相关比例尺,我要的是0.90。我要知道如何调整这个比例尺。
""https://i.sstatic.net/jP1MF.png" alt="此处输入图像描述"/ >
我使用的命令是:
data<-read.table("data_corr", header=T)
tiff( corrheatmap.tiff )
library(gplots)
z<-cor(data)
lowColor = "purple" #change this if you want
highColor = "blue" #change this if you want
colorMin = 0 # I have made this 0.9 and also 90 in any case I don t see the difference
heatmap.2(z, Rowv=FALSE, Colv=FALSE, dendrogram="none", key=TRUE, density.info="none", trace="none", col=colorpanel(100, lowColor, highColor), scale="none", cexRow=0.15, cexCol=0.15)