Stability-enHanced Approaches using Resampling Procedures
Overview
In stability selection (N Meinshausen, P Bühlmann (2010) doi:10.1111/j.1467-9868.2010.00740.x) and consensus clustering (S Monti et al (2003) doi:10.1023/A:1023949509487), resampling techniques are used to enhance the reliability of the results. In this package (B Bodinier et al (2025) doi:10.18637/jss.v112.i05), hyper-parameters are calibrated by maximising model stability, which is measured under the null hypothesis that all selection (or co-membership) probabilities are identical (B Bodinier et al (2023a) doi:10.1093/jrsssc/qlad058 and B Bodinier et al (2023b) doi:10.1093/bioinformatics/btad635). Functions are readily implemented for the use of LASSO regression, sparse PCA, sparse (group) PLS or graphical LASSO in stability selection, and hierarchical clustering, partitioning around medoids, K means or Gaussian mixture models in consensus clustering.
- Update glmnet
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK, 1 FAILURE2026-06-08
- WARNING12 OK, 1 WARNING2026-06-07
- OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 85 (22 internal)includes a package overview page
- Examples that run
- 56%31 run in a plain check (8 of them under a condition) · 24 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 91%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 27% with a bibliography file
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 81
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/barbarabodinier/sharp on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing sharp adds 32 packages (16 with compiled code, 24 MB of source tarballs). Heaviest: igraph 4.8 MB, glmnet 2.7 MB, mclust 2.7 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.4.8Latest
- 1.4.72025-04-11 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.4.62024-02-03 · diff ↗
- 1.4.52024-01-22 · diff ↗
- 1.4.42023-10-22 · diff ↗
- 1.4.32023-08-28 · diff ↗
- 1.4.2
- 1.4.12023-05-31 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.4.02023-04-18 · diff ↗ ·
added 10 exports
CART, LavaanMatrix, LavaanModel, LinearSystemMatrix, OpenMxMatrix, OpenMxModel, PenalisedLinearSystem, PenalisedOpenMx, PenalisedSEM, StructuralModel - 1.3.02023-01-17 · diff ↗ ·
added 14 exports
Clustering, ClusteringAlgo, ClusteringPerformance, Clusters, CoMembership, ConsensusMatrix, ConsensusScore, DBSCANClustering, GMMClustering, HierarchicalClustering, KMeansClustering, PAMClustering, Stable, WeightBoxplot - 1.2.1
- 1.2.02022-08-15 · diff ↗ ·
removed 12 exports
BlockDiagonal, BlockMatrix, BlockStructure, Contrast, Heatmap, MakePositiveDefinite, MatchingArguments, SimulateAdjacency, SimulateComponents, SimulateGraphical, SimulatePrecision, SimulateRegressionadded 3 exports
Ensemble, EnsemblePredictions, Refit
Show 2 earlier eventsHide 2 earlier events
- 1.1.02022-06-17
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-06-17
- Total releases
- 13 / 4 yrs
- License
- GPL (>= 3) OSI
- Additional repositories
- barbarabodinier.github.io
- Minimum R
- ≥ 3.5
- Download size
- 1.2 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("sharp")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v112.i05.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.