plotMat | R Documentation |
This function produces a red and green color image of a data matrix using an RGB color specification. Larger entries are represented with reds of increasing intensity, and smaller entries are represented with greens of increasing intensity.
plotMat(x, nrgcols=50, rlabels=FALSE, clabels=FALSE, rcols=1, ccols=1, title="",...)
x |
a matrix of numbers. |
nrgcols |
the number of colors (>= 1) to be used in the red and green palette. |
rlabels |
vector of character strings to be placed at the row
tickpoints, labels for the rows of |
clabels |
vector of character strings to be placed at the
column tickpoints, labels for the columns of |
rcols |
colors to be used for the labels of the rows of
|
ccols |
colors to be used for the labels of the columns of
|
title |
character string, overall title for the plot. |
... |
graphical parameters may also be supplied as arguments to
the function (see |
Sandrine Dudoit, sandrine@stat.berkeley.edu
plotCor
, rgcolors.func
,
cor
, image
,
rgb
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.