Simple Heatmap Plot

Share:

Description

This is a very simplified heatmap function: basically a convienent wrapper around the 'image' function.

Usage

1
2
heatmatrix(x, values=TRUE, clp=c('bottom','top'), rlp=c('left','right'), 
                             xadj=.02, yadj=.3, ylab.cntr=FALSE, cex=1, cex.axis=1, ...)

Arguments

x

A matrix

values

boolean: should the values be plotted over each cell?

clp

column label position: either 'bottom' or 'top'.

rlp

row label position: either 'right' or 'left'

xadj

x-adjust of the row labels

yadj

y-adjust of the column labels.

ylab.cntr

boolean for justification of row labels.

cex,

character expansion factor for values in cells if values == true

cex.axis

character expansion factor for axis tick mark labels

...

other paramters passed on to image()

Value

a heatmap plot

See Also

image, heatmap, heatmap.2

Examples

1
2
3
4

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.