[R] how to colour labels (each label with a colour) in a dendrogram?

2011-12-12 Thread barbara costa
Hello to all, I still have this doubt. I'd like to colour the different labels of my dendrogram each one with a different colour. How can I do? I guess I could do using *edgetext* and then *t.col* or* lab.col* but I don't know how to add edgetext to my dendrogram. Can you help me please? Example:

Re: [R] how to colour labels (each label with a colour) in a dendrogram?

2011-12-12 Thread Sarah Goslee
Did you try this: http://r.789695.n4.nabble.com/coloring-leaves-in-a-hclust-or-dendrogram-plot-td795496.html or this: http://bioinformatics.mdanderson.org/Software/OOMPA/ClassDiscovery/html/plotColoredClusters.html edgetext labels the segments, I think, and is not what I understand you to want,

Re: [R] how to colour labels (each label with a colour) in a dendrogram?

2011-12-12 Thread barbara costa
Thanks a lot. I didn't find that. I prefered the option with class discovery package which we have to install from OOMPA project. barbara On 12 December 2011 11:58, Sarah Goslee sarah.gos...@gmail.com wrote: Did you try this: