I want to apply a hierarchical clustering method (i.e., agglomerative clustering) over different data sets. I would like to compare the resulted clustering trees. Is there any solution to this? Thanks in advance.
There are many ways to do this. I would suggest you to look at the "comparing two dendrograms" section in the vignette for dendextend:
Probably the simplest to use is the cor_cophenetic
function.