plotAsColor {DendSer} | R Documentation |
Function that plots a matrix as a color image
Description
Function that plots a matrix as a color image, in matrix order.
Usage
plotAsColor(m, order = NULL, order.col = order, order.row = order,
rank = FALSE, border.color = "grey70", labels = FALSE,x=1:ncol(d),y=1:nrow(d), ...)
Arguments
m |
Numeric matrix. |
order |
Default order used for rows and columns. |
order.col |
Column order. |
order.row |
Row order |
rank |
Logical, whether matrix m should be converted to ranks or not. |
border.color |
Color of border. Null for no border. |
labels |
If TRUE, add labels obtained from m. |
x |
X coordinates, passed to |
y |
Y coordinates, passed to |
... |
passed to |
See Also
See Also as image
.
Examples
require(DendSer)
d<- dist(scale(iris[,-5]))
plotAsColor(d,dser(d,hmethod="average"))
[Package DendSer version 1.0.2 Index]