[R] Putting different colors on labels in plot (hclust)

Romain Francois francoisromain at free.fr
Thu Mar 3 12:00:24 CET 2005


Le 03.03.2005 11:00, JSPC (Jeppe Skytte Spicker) a écrit :

>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?
>
>Best regards Jeppe
>
>___________________________________
>
>Jeppe Skytte Spicker
>Ph.d. student
>Virology and Molecular Toxicology
>
>Novo Nordisk A/S
>Novo Nordisk Park
>DK-2760 Måløv
>Denmark
>44438733 (direct)
>jspc at novonordisk.dk
>
>  
>
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


-- 
Romain FRANCOIS : francoisromain at free.fr
page web : http://addictedtor.free.fr/  (en construction)
06 18 39 14 69 / 01 46 80 65 60
_______________________________________________________
Etudiant en 3eme année
Institut de Statistique de l'Université de Paris (ISUP)
Filière Industrie et Services
http://www.isup.cicrp.jussieu.fr/




More information about the R-help mailing list