A heat map is a graphical representation of data where the individual values contained in a matrix are represented as colors. Fractal maps and tree maps both often use a similar system of color-coding to represent the values taken by a variable in a hierarchy. It displayed the results of a cluster analysis by permuting the rows and the columns of a matrix to place similar values near each other according to the clustering.

install.packages("pheatmap", repos = "http://cran.csie.ntu.edu.tw")
1. source("http://bioconductor.org/biocLite.R")
2. biocLite("Rgraphviz")
3. library(Rgraphviz) = test !
1. source("http://bioconductor.org/biocLite.R")
2. biocLite("graph")
1. source("http://bioconductor.org/biocLite.R")
2. biocLite("RBGL")
3. install.packages("gRbase")
4. library(gRbase) = test !
Rowv |
determines if and how the row dendrogram should be
reordered. By default, it is TRUE, which implies dendrogram is
computed and reordered based on row means. If NULL or FALSE, then no
dendrogram is computed and no reordering is done. If a
dendrogram , then it is used "as-is", ie
without any reordering. If a vector of integers, then dendrogram is
computed and reordered based on the order of the vector. |
Colv |
determines if and how the column dendrogram should be
reordered. Has the options as the Rowv argument above and
additionally when x is a square matrix, Colv =
"Rowv" means that columns should be treated identically to the rows. |
加強記憶 賺錢工具
借彎彎的圖來記憶
因為有時寫程式 銹逗 短路了
matrix 裡的 row cloumn 哪一個是橫的?
搞瘋了 Orz ...
童鞋 振作點!! 這樣就記得住了吧 ~.~|||