Using a clustree object to draw a "classical" dendogram
0
0
Entering edit mode
@ee934b4b
Last seen 19 months ago
France

Hi all, I am using the package clustree as I have columns that contain the cluster assignments from clustering t with values of k from k=1 to k=N. Clustree can draw the tree but it only gives on kind of figure (a tree with visible nodes at all levels not very nice for publication). Still this is supposed to be a ggplot object so I would like to change it into a more standard tree (dendogram).

I tried a command like clustree(my.data.frame, prefix = "prefix") + coord_flip() But cannot go further and remove for instance the nodes from the tree to keep the edges till the last level.

ggplot dendogram ggtreeExtra clustree ggtree • 620 views
ADD COMMENT

Login before adding your answer.

Traffic: 500 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