我想制作相关数据的热图,而不是从 0.85 获得相关尺度,我想要从 0.90 开始。我需要知道如何调整这个比例。
我正在使用的命令是:
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)