[BioC] question about plot dendrogram

ivan.borozan at utoronto.ca ivan.borozan at utoronto.ca
Thu May 6 00:41:27 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



More information about the Bioconductor mailing list