Tools for Assessing Clustering
Overview
A set of tools for evaluating clustering robustness using proportion of ambiguously clustered pairs (Senbabaoglu et al. (2014) doi:10.1038/srep06207), as well as similarity across methods and method stability using element-centric clustering comparison (Gates et al. (2019) doi:10.1038/s41598-019-44892-y). Additionally, this package enables stability-based parameter assessment for graph-based clustering pipelines typical in single-cell data analysis.
---
Updates
- Add subsetting option for the Shiny heatmaps and bubbleplots. The subset is based on already existing metadata columns.
- Use
leidenbasepackage for Leiden clustering instead ofleiden(aligning with Seurat's changes). Algorithm=6 contains the leidenbase implementation, whereas algorithm=4 and 5 are associated with leiden (for matrix and igraph input objects, respectively). - Minimise redundant calculations of the adjacency matrix in the automatic assessment.
- Add function that calculates the nn2 index in parallel.
- Add an ordering of the points in the metadata shiny plots based on the order of the input subgroups.
- Scale the colour values of gene expression in ShinyApp based on provided cap value.
- Control the number of values shown on the continuous UMAP legend.
- Add option to download multiple genes in separate UMAP files.
- Removes
ggtextdependency from the package (used in the shiny gene UMAP plots).
Fixes
Show all changes in 1.2.0Hide the rest of the changes in 1.2.0
- Ensure the expression matrix or embedding has row names. If not, set them to "cell_1", "cell_2", etc.
- Treat the case when enrichment analysis returns no results.
- Sort the group 2 markers for enrichment analysis based on the absolute logfoldchange.
- Discard the metadata columns with too many unique values for visualisation in the Shiny app.
- When creating a Seurat object, the number of PCs is set to the minimum between 30 and half the number of genes. This is to avoid errors when the number of genes is low.
---
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK12 OK2026-04-25
Show 5 earlier changesHide 5 earlier changes
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
- NOTE11 OK, 3 NOTE2026-04-10
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-09
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 64 (4 internal)
- Examples that run
- 89%32 run in a plain check · 3 never run · 1 hold no code
- Exported functions with examples
- 61%
- Documented parameters
- 96%
- Return-value docs
- 77%
- Help pages citing references
- 8%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 271
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
Commits over time
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/core-bioinformatics/clustassess on 2026-10-18.
GitHub Pages site last deployed 2026-08-29 · The repository has a site deploy workflow
pkgdown site last built 2026-08-29
Dependencies
Code & Tests
People & History
Previously maintained by Arash Shahsavari (0.1.0 to 0.3.0).
Pick two releases to compare their code metrics.
- 1.2.0Latest
- RR 4.6.0 released · 2026-04-24
- 1.1.0
- RR 4.5.0 released · 2025-04-11
- 1.0.02025-01-31 · diff ↗ ·
removed 9 exports
%>%, get_clustering_difference, get_feature_stability, get_nn_importance, get_resolution_importance, plot_clustering_difference_boxplot, plot_clustering_difference_facet, plot_feature_stability_boxplot, plot_feature_stability_ecs_incrementaladded 38 exports
add_metadata, assess_clustering_stability, assess_feature_stability, assess_nn_stability, automatic_stability_assessment, calculate_markers, calculate_markers_shiny, choose_stable_clusters, create_monocle_default, create_monocle_from_clustassess, create_monocle_from_clustassess_app, create_seurat_object_default, create_seurat_object_from_clustassess_app, getNNmatrix, get_clusters_from_clustassess_object, get_highest_prune_param, get_highest_prune_param_embedding, plot_clustering_overall_stability, plot_clustering_per_value_stability, plot_feature_overall_stability_boxplot, plot_feature_overall_stability_incremental, plot_feature_per_resolution_stability_boxplot, plot_feature_per_resolution_stability_incremental, server_comparisons, server_dimensionality_reduction, server_graph_clustering, server_graph_construction, server_landing_page, server_sandbox, ui_comparisons and 8 more - RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.3.02022-01-26 · diff ↗ ·
removed 2 exports
create_clustering, element_frustrationadded 18 exports
element_consistency, get_clustering_difference, get_feature_stability, get_nn_conn_comps, get_nn_importance, get_resolution_importance, merge_partitions, plot_clustering_difference_boxplot, plot_clustering_difference_facet, plot_connected_comps_evolution, plot_feature_stability_boxplot, plot_feature_stability_ecs_facet, plot_feature_stability_ecs_incremental, plot_feature_stability_mb_facet, plot_k_n_partitions, plot_k_resolution_corresp, plot_n_neigh_ecs, plot_n_neigh_k_correspondence - RR 4.1.0 released · 2021-05-18
- 0.1.12021-03-31 · diff ↗
- 0.1.02021-03-31
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-03-31
- Total releases
- 6 / 5 yrs
- License
- MIT + file LICENSE OSI
- Additional repositories
- blaserlab.r-universe.dev
- Minimum R
- ≥ 4.0.0
- Download size
- 173 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("ClustAssess")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1101/2022.01.31.478592.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.