heatmatrix {caroline}R Documentation

Simple Heatmap Plot

Description

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

Usage

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


data(mtcars)
x  <- as.matrix(mtcars)

heatmatrix(x)


[Package caroline version 0.9.2 Index]