[R] heatmap.2 dendogram algorithm

James W. MacDonald jmacdon at med.umich.edu
Tue Jun 17 15:29:13 CEST 2008

RobertsLRRI wrote:
> Hello
> does anyone know what algorithm is used to produce the hierarchical
> clustering in the gplots package using the function heatmap.2?  I think it
> may be the complete linkage clustering algorithm, but I can't find a source
> that seems reliable.

Did you look at the help page?

I get


      heatmap.2 (x,

                           # dendrogram control
                           Rowv = TRUE,
                           Colv=if(symm)"Rowv" else TRUE,
                           distfun = dist,
                           hclustfun = hclust,

Then ?hclust gives me


      hclust(d, method = "complete", members=NULL)

> Thank you and sorry if I posted this in the wrong place.  If I have, please
> let me know and I will move it to the appropriate list.

James W. MacDonald, M.S.
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109

More information about the R-help mailing list