Witold Eryk Wolski
2004-Oct-19 20:10 UTC
[R] plot.dendrogram and plot.hclust ZOOM into the height?
Hi, I clustered a distance matrix and would like to draw it using plot.hclust or plot.dendrogram. The dendrogram is not informative because I have a few extremely small dissimilarities in the distance matrix (e.g. 0), but most of the other distances are in the range 1e10+-5000. I would like to show the tree only for the height of 1e10+-5000 but unfortunately their are no parameter like xlim,ylim in the function? Are there other ways to ZOOM? Any suggestions? /E -- Dipl. bio-chem. Witold Eryk Wolski MPI-Moleculare Genetic Ihnestrasse 63-73 14195 Berlin tel: 0049-30-83875219 __("< _ http://www.molgen.mpg.de/~wolski \__/ 'v' http://r4proteomics.sourceforge.net || / \ mail: witek96 at users.sourceforge.net ^^ m m wolski at molgen.mpg.de
Witold Eryk Wolski
2004-Oct-19 21:08 UTC
[R] Re: plot.dendrogram and plot.hclust ZOOM into the height?
Hi, Just noted that dendr2 <- cut(dendr1,h=10000) plot(dendr2$upper) Gives what I am looking for. Sorry, Its quite late here. /E Witold Eryk Wolski wrote:> Hi, > > I clustered a distance matrix and would like to draw it using > plot.hclust or plot.dendrogram. > The dendrogram is not informative because I have a few extremely small > dissimilarities in the distance matrix (e.g. 0), but most of the other > distances are in the range 1e10+-5000. > I would like to show the tree only for the height of 1e10+-5000 but > unfortunately their are no parameter like xlim,ylim in the function? > Are there other ways to ZOOM? > > Any suggestions? > > /E >-- Dipl. bio-chem. Witold Eryk Wolski MPI-Moleculare Genetic Ihnestrasse 63-73 14195 Berlin tel: 0049-30-83875219 __("< _ http://www.molgen.mpg.de/~wolski \__/ 'v' http://r4proteomics.sourceforge.net || / \ mail: witek96 at users.sourceforge.net ^^ m m wolski at molgen.mpg.de