CluSim: a Python package for the comparison of clusterings and dendrograms
Abstract
Quantifying the similarity of clusterings is a fundamental step in data analysis. Clustering similarity is the basis for method evaluation, consensus clustering, and tracking the temporal evolution of clusters, among many other tasks. Here we provide CluSim, a comprehensive Python package for the comparison of partitions, overlapping clusterings, and hierarchical clusterings (dendrograms) with more than 20 similarity measures. The CluSim package provides both analytic and empirical methods for assessing the similarity of clusterings in the context of a random model, and provides the novel element-centric approaches for clustering similarity measure that we introduced recently. We illustrate the use of the package through two examples: an evaluation of the clustering of Gene Expression data in the context of different random models, and detailed analysis of model incongruence using element-centric comparisons between a set of phylogentic trees (dendrograms).\n\nAvailability and implementationThe CluSim Python package and accompanying jupyter notebook is available at https://github.com/Hoosier-Clusters/clusim with the MIT open source licence.\n\nContactajgates42@gmail.com or yyahn@iu.edu
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 1
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- The Impact of Random Models on Clustering Similarity
Alexander J. Gates, Yong‐Yeol Ahn·bioRxiv·Oct 1, 2017
- Tree congruence: quantifying similarity between dendrogram topologies
S. U. Vidovic·bioRxiv·Sep 12, 2019
- Clustering trees: a visualisation for evaluating clusterings at multiple resolutions
Luke Zappia, Alicia Oshlack·GigaSciencePeer-reviewed·Jul 1, 2018
- Clumps: A Sequential Clustering Approach to Partitioning Sets of Phylogenies with Non-Identical Leaf Sets
Ana Serra Silva, Mark Wilkinson·bioRxiv·Mar 18, 2025
- VICTOR: A visual analytics web application for comparing cluster sets
Evangelos Karatzas, Maria Gkonta, … Georgios A. Pavlopoulos·Computers in Biology and MedicinePeer-reviewed·Jun 8, 2021
- TreeCluster: clustering biological sequences using phylogenetic trees
Metin Balaban, Niema Moshiri, … Siavash Mirarab·PLoS ONEPeer-reviewed·Aug 22, 2019