A dendrogram is a tree diagram showing the hierarchy produced by hierarchical clustering. Its merge height records the distance between clusters, while long unmerged stretches indicate separation. section 7.2.3
Use a dendrogram to choose clusters and guide compound selection:
- Draw an imaginary horizontal cut across the tree; the number of intersected vertical branches gives the resulting cluster count. section 7.2.3
- Sample compounds across clusters to emphasize chemical diversity, recognizing that equal sampling over-represents small clusters. section 7.2.3
- Interpret Ward-based results cautiously because Euclidean variance is not the most natural distance for sparse binary fingerprints. section 7.2.3
Compound-library workflow
Convert molecules into RDKit fingerprints, fit agglomerative clustering with Ward linkage, inspect the dendrogram, cut it at a chosen height, and sample representatives from the resulting clusters.



