Skip to content
Prev 76305 / 398502 Next

problem building dendrograms to use with heatmap()

Thanks Paul.

It seems there's an undocumented requirement that in order to use a dendrogram
as an argument to heatmap(),
(a) the leaf nodes must be integers indicating the leaf's position in the
left-to-right ordering of the leafs and/or
(b) only the root of the dendrogram can be of class dendrogram.

I discovered this by doing as you suggested below and with some help from Jeff
Gentry.

-Ben