scStability: Measuring the Stability of Dimension Reduction and Cluster Assignment in scRNA-Seq Experiments

Provides functions for evaluating the stability of low-dimensional embeddings and cluster assignments in single‑cell RNA sequencing (scRNA‑seq) datasets. Starting from a principal component analysis (PCA) object, users can generate multiple replicates of t‑Distributed Stochastic Neighbor Embedding (t‑SNE) or Uniform Manifold Approximation and Projection (UMAP) embeddings. Embedding stability is quantified by computing pairwise Kendall’s Tau correlations across replicates and summarizing the distribution of correlation coefficients. In addition to dimensionality reduction, 'scStability' assesses clustering consistency using either Louvain or Leiden algorithms and calculating the Normalized Mutual Information (NMI) between all pairs of cluster assignments. For background on UMAP and t-SNE algorithms, see McInnes et al. (2020, <doi:10.21105/joss.00861>) and van der Maaten & Hinton (2008, <https://lvdmaaten.github.io/tsne/>), respectively.

Version: 1.0.0
Imports: aricode, future, future.apply, ggplot2, magrittr, pcaPP, rlang, Rtsne, Seurat, stats, uwot, vegan
Suggests: spelling, knitr, rmarkdown, scRNAseq, SummarizedExperiment, testthat (≥ 3.0.0)
Published: 2025-06-17
Author: Ben Abrahams [aut, cre]
Maintainer: Ben Abrahams <ben.abrahams.de at gmail.com>
License: MIT + file LICENSE
NeedsCompilation: no
Language: en-US
Materials: README
CRAN checks: scStability results

Documentation:

Reference manual: scStability.pdf
Vignettes: Introduction-to-scStability (source, R code)

Downloads:

Package source: scStability_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): scStability_1.0.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=scStability to link to this page.