Re: [R] Generate Dendrogram

2012-04-30 Thread cberry
farscape2012 writes: > Hi > > I have a distance matrix which is computed by user defined method. I > would like to plot the dendrogram. I would like to use different color > and want the leaves laying down bottom. > The script like this. I am not familiar with R. I followed the example > shown in

Re: [R] Generate Dendrogram

2012-04-30 Thread farscape2...@live.com
Thank. I made a stupid mistake. Now it is working. On 4/30/2012 8:30 PM, Mercier Eloi wrote: hc.obj is not a dendrogram. plot(dend1, xlab='',ylab='',sub='', nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8)) See ?plot.hclust and ?plot.dendrogram. They are not using the same arguments.

Re: [R] Generate Dendrogram

2012-04-30 Thread Mercier Eloi
hc.obj is not a dendrogram. plot(dend1, xlab='',ylab='',sub='', nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8)) See ?plot.hclust and ?plot.dendrogram. They are not using the same arguments. Regards, Eloi On 12-04-30 06:36 AM, farscape2012 wrote: Hi I have a distance matrix which i

[R] Generate Dendrogram

2012-04-30 Thread farscape2012
Hi I have a distance matrix which is computed by user defined method. I would like to plot the dendrogram. I would like to use different color and want the leaves laying down bottom. The script like this. I am not familiar with R. I followed the example shown in http://stat.ethz.ch/R-manual/R