[R] question about plot.dendrogram

ivan.borozan@utoronto.ca ivan.borozan at utoronto.ca
Thu May 6 15:54:07 CEST 2004


hi all,

i'm trying to plot a dendrogram with labeled leaves


>rownames(f)<-v.names
>v<-rowMeans(f, na.rm=T)
>clust<-hclust(dist(v))
>dend<-as.dendrogram(clust,hang=0.05)
>clust2<-cut(dend, h=0.5)
>class(clust2$low[[1]])
>[1] "dendrogram"

then 

>plot(clust2$low[[1]],horiz=TRUE,frame=F,type = "tr"))

but my leaf labels do not fit entirely in the plot region. Has anyone an idea
how to get around this without using cex , something similar to "hang=0.5" so
that my labels do not start to hang from 0 ?

cheers

_______________________________________________
Bioconductor mailing list
Bioconductor at stat.math.ethz.ch
https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor

----- End forwarded message -----




More information about the R-help mailing list