hclust vs dendrogram
0
0
Entering edit mode
@stefanie-scheid-316
Last seen 10.2 years ago
Dear all, I'm wondering why hclust and dendrogram objects lead to different plots: Let's say "hc" is an hclust object. Now, > plot(hc) gives the first tree plot. Next, I change the feature ordering in hc$order slightly (no overlapping branches). Now, > plot(hc) gives a second plot that looks like intended (actually, I just swapped the first two subtrees). But with > plot(as.dendrogram(hc)) I am back at the first plot (well, at least with the same tree structure, the format changes of course). How can I keep the intended ordering when plotting an dendrogram object? Thanks a lot, Stefanie. --- Stefanie Scheid Max Planck Institute for Molecular Genetics Dept. of Computational Molecular Biology Ihnestra?e 63-73 D-14195 Berlin, Germany phone: +49 (0)30 8413 1178 fax: +49 (0)30 8413 1176 http://www.molgen.mpg.de/~scheid email: stefanie.scheid@molgen.mpg.de
• 1.0k views
ADD COMMENT

Login before adding your answer.

Traffic: 491 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6