科研速览 · Science Skim继续刷下去 · Keep skimming →
◆ Bioinformatics advances2026-01-01

unsurv: clustering individualized survival curves.

Imad El Badisy

一句话结论 · In one sentence

We introduce unsurv, an R package that clusters individualized survival curves on a common time grid using validity-preserving preprocessing, time-weighted integral distances, and partitioning around medoids (PAM). The output includes observed medoid prototype curves, a nearest-medoid rule for assigning new patients, model-selection summaries, resampling-based stability using the Adjusted Rand Index (ARI), and a new unsurv_compare() function for comparing partitions against baselines. The package is model-agnostic and can be paired with any survival learner that returns S ^ i ( t ) . We illustrate the workflow on a synthetic example and on the METABRIC breast cancer cohort using survdnn-predicted survival curves, including baseline comparisons and an out-of-sample validation check showing that the curve-based cluster ordering generalizes to held-out patients.

原始摘要(英文原文)· Original abstract
MOTIVATION: Biomedical phenotyping workflows often cluster high-dimensional molecular or clinical covariates and then test survival differences post hoc. This can miss structure that is expressed primarily through the timing of risk, because two patients may have similar scalar risk at one horizon but different predicted survival trajectories. Many survival learners can output patient-specific curves { S ^ i ( t ) } i = 1 n on a common time scale. Clustering these curves gives a survival-native post-prediction representation for exploratory phenotyping. Existing work on survival-curve clustering mainly targets predefined Kaplan-Meier curves or general functional data, whereas a practical tool for individual-level predicted survival curves remains less developed. RESULTS: We introduce unsurv, an R package that clusters individualized survival curves on a common time grid using validity-preserving preprocessing, time-weighted integral distances, and partitioning around medoids (PAM). The output includes observed medoid prototype curves, a nearest-medoid rule for assigning new patients, model-selection summaries, resampling-based stability using the Adjusted Rand Index (ARI), and a new unsurv_compare() function for comparing partitions against baselines. The package is model-agnostic and can be paired with any survival learner that returns S ^ i ( t ) . We illustrate the workflow on a synthetic example and on the METABRIC breast cancer cohort using survdnn-predicted survival curves, including baseline comparisons and an out-of-sample validation check showing that the curve-based cluster ordering generalizes to held-out patients. AVAILABILITY AND IMPLEMENTATION: The unsurv package is available on CRAN and its full source code and documentation are provided at https://github.com/ielbadisy/unsurv under the MIT License.
读原文 · Read the paper ↗

AI 追问PRO

登录后使用 AI 追问

讨论区

登录后参与讨论

相关论文 · Related

unsurv: clustering individualized survival curves. — 科研速览 Science Skim