powered by
This is a very simplified heatmap function: basically a convienent wrapper around the 'image' function.
heatmatrix(x, values=TRUE, clp=c('bottom','top'), rlp=c('left','right'), xadj=.02, yadj=.3, ylab.cntr=FALSE, cex=1, cex.axis=1, ...)
a heatmap plot
A matrix
boolean: should the values be plotted over each cell?
column label position: either 'bottom' or 'top'.
row label position: either 'right' or 'left'
x-adjust of the row labels
y-adjust of the column labels.
boolean for justification of row labels.
character expansion factor for values in cells if values == true
character expansion factor for axis tick mark labels
other paramters passed on to image()
image, heatmap, heatmap.2
data(mtcars) x <- as.matrix(mtcars) heatmatrix(x)
Run the code above in your browser using DataLab