1

I have two dendrograms resulting from hierarchical clustering and I want to visually compare them using a tanglegram. However, I only want to display a certain number of clusters that are cut at a predefined level. How can I achieve this in R?

Tal Galili
  • 24,605
  • 44
  • 129
  • 187
Ivan Z
  • 1,517
  • 1
  • 16
  • 25
  • Hey. The tangegram can be done using tangegram (from dendextend). You can also prune your dendrograms using the prune function. The issue is to discover which labels to keep. For that you'll need to do some manipulation using cut and labels. I suggest you give a specific example if you want more help. – Tal Galili Jul 14 '23 at 13:27
  • @TalGalili, yes, please provide the example. – Ivan Z Jul 16 '23 at 06:00
  • Ivan - I'm asking YOU to give an example for me to work on :) – Tal Galili Jul 16 '23 at 10:05

0 Answers0