From nikko at hailmail.net  Sun Oct 23 20:59:24 2005
From: nikko at hailmail.net (Nicholas Lewin-Koh)
Date: Sun, 23 Oct 2005 13:59:24 -0500
Subject: [Rd]  Coloring leaves, twigs and labels in plot.dendrogram()
In-Reply-To: <mailman.9.1130061601.17116.r-devel@r-project.org>
References: <mailman.9.1130061601.17116.r-devel@r-project.org>
Message-ID: <1130093964.4511.245816906@webmail.messagingengine.com>

Hi Walton,
Sorry I don't follow R-help very much, but here is a nice solution to
what you are looking for in the A2R package. I don't think it is on cran
yet.

http://addictedtor.free.fr/graphiques/graphcode.php?graph=79

Nicholas


> 
> Message: 3
> Date: Sat, 22 Oct 2005 20:12:52 -0400 (EDT)
> From: "Walton A. Green" <walton.green at yale.edu>
> Subject: [Rd] Coloring leaves, twigs and labels in plot.dendrogram()
> To: r-devel at stat.math.ethz.ch
> Message-ID:
> 	<Pine.LNX.4.44.0510222005200.25034-100000 at ares.its.yale.edu>
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> 
> 
> Core developers,
> 
> I couldn't find any simple way to send a vector of colors to apply to
> each
> terminal in plot.dendrogram() or plot.hclust()---I asked R-help about it
> a
> few weeks ago and didn't get any response---so I hacked that
> functionality
> into the plot.dendrgram code (see below for hacked function plus 
> examples)....
>     
> Is there any chance this functionality could be added to the base code? 
> Unquestionably it can be done more elegantly than below, but surely it 
> would be a useful feature to have....
> 
> Or is there an easier way of doing this that I have missed?
> 
> Walton Green
> 
>*************************************



[Rd] Coloring leaves, twigs and labels in plot.dendrogram()
Nicholas Lewin-Koh