Description Usage Arguments Details Value Author(s) See Also Examples
Creates a grid of colored rectangles to display a matrix
1 2 3 4 |
x |
A numeric matrix, typically with row and column names |
col |
A vector of colors for boxes |
breaks |
A numeric vector of break points or number of
intervals into which |
log |
Cut values in |
zeroNA |
Set zeros to NA (and color white) |
sort01 |
Sort rows in descending order using the entire string of numbers |
all |
Display entire matrix, default is first 50 rows and columns |
border |
The border color for boxes, default is no borders |
box.offset |
Percent reduction in box size (a number between 0 and 1), default is 10% reduction |
round |
Number of decimal places to display values of |
cex |
Magnification size of text and labels, if specified this will replace values in both text.cex and label.cex |
text.cex |
Magnification size of text in cells only |
text.col |
Color of text in cells, use NA to skip text labels |
mar |
Margins on four sides of plot |
labels |
A vector giving sides of the plot (1=bottom, 2=left, 3=top, 4=right) for row and column labels |
label.offset |
Amount of space between label and boxes |
label.cex |
Magnification size of labels |
Missing values (NAs) and zeroes are assigned to the color white (unless zeroNA is FALSE) and remaining values are cut into groups and colored using the assigned values.
A image plot of the matrix in x
Chris Stubben
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.