Understanding heatmap dendogram clustering in R

后端 未结 3 848
你的背包
你的背包 2021-01-07 03:45

I would appreciate any info material on the dendograms (Colv, Rowv) of R\'s heatmap function. Such as how the clustering works (is it euclidean distance?). You don\'t have t

3条回答
  •  孤城傲影
    2021-01-07 04:14

    From the manual:

    distfun : function used to compute the distance (dissimilarity) between both rows and columns. Defaults to dist.

    hclustfun : function used to compute the hierarchical clustering when Rowv or Colv are not dendrograms. Defaults to hclust. Should take as argument a result of distfun and return an object to which as.dendrogram can be applied.

    dist() has as default the euclidean distance and hclust() the complete linkage method.

提交回复
热议问题