[R] splitting clusters

Martin Maechler maechler at stat.math.ethz.ch
Thu Sep 25 09:56:27 CEST 2003

>>>>> "KarthiS" == Subramanian Karthikeyan <Subramanian_Karthikeyan at hc-sc.gc.ca>
>>>>>     on Wed, 24 Sep 2003 13:04:04 -0400 writes:

    KarthiS> Hi All: I am clustering 500 genes using hclust of
    KarthiS> R.  Visualizing cluster membership becomes
    KarthiS> difficult with so many genes in each cluster...Is
    KarthiS> there a way of printing the dendrogram in multiple
    KarthiS> pages so that I can clearly see what is in each
    KarthiS> cluster?

- Use dd <- as.dendrogram(hc) on your hclust result `hc',
  then dd[1] gives the first branch, dd[1][2] the 2nd sub-branch of
  the first branch, etc., see the examples on

- The package "maptree" has also tools for this,
  particularly  prune.clust()

    KarthiS> Thanks in advance.

you're welcome.
Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><

More information about the R-help mailing list