Dear all,
I would like to output the heat map with colorkey on top. However, colorkey will not be displayed when using the following command.
heatmap.2(as.matrix(data.z),
col=colorRampPalette(c("blue3", "white", "red3")),
scale="none",
key=TRUE,
symkey=FALSE,
density.info="none",
trace="none",
cexRow=0.5,
cexCol = 1,
Colv = FALSE,
lmat = rbind(c(0,4,0),c(2,1,0),c(0,3,0)),
lwid=c(1,10,0.5),lhei=c(1,6,0)
)
The error message shows the following.
Error in plot.new() : outer margins too large (figure region too small)
In addition: Warning message:
In heatmap.2(as.matrix(data.z), col = colorRampPalette(c("blue3", :
Discrepancy: Colv is FALSE, while dendrogram is `both'. Omitting column dendogram.
What problems does my command have?
Thank you
Thank you very much! I was able to solved this probem for your advices.