R语言

heatmap各个参数含义
# data scaling处理数据
此部分源出处网址:http://www.docin.com/p-1847146477.html

R语言_第1张图片

scale = c("none","row", "column"), #标准化行或者列
default="none"

color key + density info

key = TRUE,
keysize = 1.5,
density.info=c("histogram","density","none"),
denscol=tracecol,
symkey = any(x < 0, na.rm=TRUE) || symbreaks,
densadj = 0.25,
key.title = NULL,
key.xlab = NULL,
key.ylab = NULL,
key.xtickfun = NULL,
key.ytickfun = NULL,
key.par=list(),

Row/Column Labeling

margins = c(5, 5),
ColSideColors,
RowSideColors,
cexRow = 0.2 + 1/log10(nr), #调整行标字体大小
cexCol = 0.2 + 1/log10(nc),
labRow = NULL,
labCol = NULL,
srtRow = NULL,
srtCol = NULL,
adjRow = c(0,NA),
adjCol = c(NA,0),
offsetRow = 0.5,
offsetCol = 0.5,
colRow = NULL,
colCol = NULL,
此部分源网址:http://blog.sina.com.cn/s/blog_670445240101jx2j.html
参数:Rowv
determines if and how the row dendrogram should be reordered.By default, it is TRUE, which implies dendrogram is computed andreordered based on** row means**. If NULL or FALSE, then nodendrogram is computed and no reordering is done. If a dendrogram,then it is used "as-is", ie without any reordering. If a vector ofintegers, then dendrogram is computed and reordered based on theorder of the vector.
决定是否和如何应重新排序的行聚类分析。默认情况下,是TRUE,也就说基于行的平均值聚类。如果为NULL或FALSE,则没有聚类分析计算,并没有进行重新排序。
参数: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.
决定是否以及如何应重新排序列的聚类分析。同上
pheatmap
此部分源出处网址:http://www.docin.com/p-1847146477.html


R语言_第2张图片

你可能感兴趣的:(R语言)