[BioC] Color in the lefs of a dendrogram?

Martin Maechler maechler at stat.math.ethz.ch
Thu Oct 28 10:33:47 CEST 2004


Y

>>>>> "Johan" == Johan Lindberg <johanl at biotech.kth.se>
>>>>>     on Wed, 27 Oct 2004 10:14:57 +0200 writes:

    Johan> Hi all. I have a question of how to put color in a plot of a
    Johan> hierarchical clustering that I have done with 24 microarrays in an
    Johan> experiment. The basic code that I use to plot:
 
    Johan> sampdist <- dist(t(Mmatrix), method="euclidean")
    Johan> sclus <- hclust(sampdist, method="average")
    Johan> plot(sclus, cex=0.7)

Use   dclus <- as.dendrogram(sclus)

and -- after reading  help(dendrogram)
    and maybe executing  example(dendrogram)
use   plot(dclus, ......................)

Martin Maechler, ETH Zurich



More information about the Bioconductor mailing list