JSPC (Jeppe Skytte Spicker)
2005-Mar-03 10:00 UTC
[R] Putting different colors on labels in plot (hclust)
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@novonordisk.dk This e-mail (including any attachments) is intended for the addressee(s) stated above only and may contain confidential information protected by law. You are hereby notified that any unauthorised reading, disclosure, copying or distribution of this e-mail or use of information contained herein is strictly prohibited and may violate rights to proprietary information. If you are not an intended recipient, please return this e-mail to the sender and delete it immediately hereafter. Thank you. [[alternative HTML version deleted]]
Friedrich.Leisch@tuwien.ac.at
2005-Mar-03 10:28 UTC
[R] Putting different colors on labels in plot (hclust)
>>>>> On Thu, 3 Mar 2005 11:00:10 +0100, >>>>> JSPC (Jeppe Skytte Spicker) (J(SS) wrote:> 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, -- ------------------------------------------------------------------- Friedrich Leisch Institut f?r Statistik Tel: (+43 1) 58801 10715 Technische Universit?t Wien Fax: (+43 1) 58801 10798 Wiedner Hauptstra?e 8-10/1071 A-1040 Wien, Austria http://www.ci.tuwien.ac.at/~leisch
Romain Francois
2005-Mar-03 11:00 UTC
[R] Putting different colors on labels in plot (hclust)
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/