Analyzing a dendrogram