[R] Multiple label colors for leafs in plot(as.dendrogram(x))

Phil Novack-Gottshall pnovackg at westga.edu
Sun Dec 10 19:46:49 CET 2006


Greetings:

[Apologies if duplicate; I am resending because original format 
prevented viewing.]

Is there a way to get plot.dendrogram (or some other dendrogram 
plotting function) to have multiple label colors for leaves?  It 
seems the nodePar parameters only allow control of branch (inner 
nodes) and leaves (outer nodes), without allowing different leaves 
(or inner nodes) to have different colors.

I am attempting to produce a dendrogram where different factors 
(groups of related species) are plotted as different colors.  The 
number of species is too large to read labels, so assigning labels 
[as in examples(agnes)] is not possible.  Visually, I am trying to 
assess the degree in which the different species groups form distinct 
versus tangled clusters.  (Ordination is showing this pattern 
clearly, but I would like to see it in a dendrogram, too.)

Thanks for any recommendations,
Phil


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Phil 
Novack-Gottshall                        pnovackg at westga.edu 


   Assistant Professor
   Department of Geosciences
   University of West Georgia
   Carrollton, GA 30118-3100
   Phone: 678-839-4061
   Fax: 678-839-4071
   http://www.westga.edu/~pnovackg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the R-help mailing list