Package: DICErClust 0.1.3

Sarah Ayton

DICErClust: Deep Significance Clustering for Clinical Risk Stratification

We provide an R implementation of Deep Significance Clustering (DICE), a self-supervised learning framework designed to identify clinically meaningful and risk-stratified patient subgroups from electronic health record (EHR) data. DICE jointly optimizes deep representation learning, clustering, and outcome prediction while enforcing statistical significance between predicted outcomes and cluster membership. This integrated optimization produces subgroups that are both clinically coherent and predictive, addressing a gap where traditional unsupervised clustering methods and supervised risk prediction models alone may fail to generate actionable clinical groupings. See Huang et al. (2021) <doi:10.1093/jamia/ocab203>.

Authors:Sarah Ayton [aut, cre], Yiye Zhang [aut]

DICErClust_0.1.3.tar.gz
DICErClust_0.1.3.tar.gz(r-4.7-any)DICErClust_0.1.3.tar.gz(r-4.6-any)
DICErClust_0.1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
DICErClust/json (API)

# Install 'DICErClust' in R:
install.packages('DICErClust', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

3.30 score 394 downloads 14 exports 32 dependencies

Last updated from:e1bd5047df. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK152
source / vignettesOK248
linux-release-x86_64OK154
wasm-releaseOK122

Exports:analysis_p_value_relatedanalysis_p_value_related_onlycchange_label_from_highratio_to_lowratioDecoderRNNDICErEncoderRNNfunc_analysis_test_error_D0406mainmodel_2p_value_calculateparse_argstest_AEupdate_Mupdate_testset_R_C_M_K

Dependencies:argparserbitbit64callrclicorocpp11descfarverggplot2gluegtableisobandjsonlitelabelinglifecyclemagrittrotelpROCprocessxpsR6RColorBrewerRcpprlangS7safetensorsscalestorchvctrsviridisLitewithr

DICErClust Illustrated Example: Heart Failure Risk Stratification
Overview | 1. Load DICErClust | 2. Download the UCI Heart Failure dataset | 3. Feature engineering | 4. Stratified train / test split | 5. Serialise data in DICErClust format | 6. Configure DICEr | Training stages explained | 7. Train the model | 8. Load the best checkpoint | 9. Evaluate cluster quality | Dynamic cluster labelling | Cluster outcome summary | AUC | Chi-squared test | 10. Figures | Figure 1 — Cluster outcome bar chart | Figure 2 — ROC curve | Summary of results | References

Last update: 2026-05-28
Started: 2026-05-28

Introduction to DICErClust
What is DICErClust? | Installation | Data format | Quick start | Loading results | Hyperparameters at a glance | Output directory structure | Full worked example

Last update: 2026-05-28
Started: 2026-05-28