Re: [R] heatmap.2 dendogram algorithm

From: James W. MacDonald <>
Date: Tue, 17 Jun 2008 09:29:13 -0400

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

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 17 Jun 2008 - 13:52:09 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 17 Jun 2008 - 14:30:47 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive