data("Zoo")
x <- as.matrix(Zoo[, -17])
x <- scale(x, center = FALSE)
## optimally reordered heatmap
hmap(x)
## heatmap with seriated distance matrices
hmap(x, hclustfun = NULL)
## with proportional display
hmap(x, hclustfun = NULL, options = list(prop = TRUE,
main = "Zoo Data"))
Run the code above in your browser using DataLab