Skip to content

Putting different colors on labels in plot (hclust)

3 messages · JSPC (Jeppe Skytte Spicker), Friedrich Leisch, Romain Francois

#
> Hi All R-helpers
  > This is my first (but probartly not last ;-) mail to R-help, so hello to everybody.

  > My problem: Is there a way to give colors to the labels (sample labels) in plots for a hclust object for better visualization?

  > I have looked through plot, points, hclust and more but cannot find anything on label color. Anybody know if this is doable?

Have a look at example(dendrogram).

Hth,
#
Le 03.03.2005 11:00, JSPC (Jeppe Skytte Spicker) a ?crit :
Hello,

if you mean smoething like : http://addictedtor.free.fr/images600x300/image4.png
i have a couple of functions to do that available at : http://addictedtor.free.fr/Download/A2R.zip
this is not an R package, you must unzip the file an source all the *.R files
I guarantee nothing, it's been a while since i used them.

I used it in that document :
http://addictedtor.free.fr/biblio/projetClassif1_-_classification.automatique.pdf
Source code is on the end


Romain