powered by
Function that plots a matrix as a color image, in matrix order.
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), ... )
Numeric matrix.
Default order used for rows and columns.
Column order.
Row order
Logical, whether matrix m should be converted to ranks or not.
Color of border. Null for no border.
If TRUE, add labels obtained from m.
X coordinates, passed to image.
image
Y coordinates, passed to image.
passed to image.
See Also as image.
d<- dist(scale(iris[,-5])) plotAsColor(d,dser(d,hmethod="average"))
Run the code above in your browser using DataLab