Re: [R] Color individual leaf labels in dendrogram

2010-10-16 Thread Kennedy
Thank you Brian, Your suggestion helped me a bit but I am not quite there yet. Now I have the following code: library(cluster) library(stats) D<-matrix(nr=4,nc=4) rownames(D)<-c("Node 1","Node 2","Node 3","Node 4") D[1,]<-c(0,.6,.1,.7) D[2,]<-c(.6,0,.3,.9) D[3,]<-c(.1,.3,0,.9)

Re: [R] Color individual leaf labels in dendrogram

2010-10-15 Thread Bryan Hanson
Henrik, there is an easily adaptable example in this thread: http://r.789695.n4.nabble.com/coloring-leaves-in-a-hclust-or-dendrogram-plot -tt795496.html#a795497 HTH. Bryan * Bryan Hanson Professor of Chemistry & Biochemistry DePauw University, Greencastle IN USA On 10/15/10 9:05 AM,