jsurvival

survival functions in ClinicoPath jamovi module

https://github.com/sbalci/jsurvival

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.5%) to scientific vocabulary

Keywords

clinicopath jamovi survival survival-analysis
Last synced: 6 months ago · JSON representation ·

Repository

survival functions in ClinicoPath jamovi module

Basic Info
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 3
  • Open Issues: 0
  • Releases: 12
Topics
clinicopath jamovi survival survival-analysis
Created over 5 years ago · Last pushed 7 months ago
Metadata Files
Readme Funding License Citation

README.md

jsurvival

R-CMD-check pkgdown Lifecycle: stable jamovi ClinicoPath

Abstract

jsurvival is a comprehensive survival analysis module for jamovi that bridges the gap between advanced statistical methods and clinical research accessibility. As part of the ClinicoPath statistical suite, it transforms complex survival analyses into intuitive, publication-ready outputs with natural language interpretations. The module implements state-of-the-art survival analysis techniques including Kaplan-Meier estimation, Cox proportional hazards regression, and time-dependent analyses, while maintaining a user-friendly interface designed for medical researchers. By automating person-time calculations, providing automated statistical summaries in plain language, and generating high-quality visualizations, jsurvival enables clinicians and researchers to conduct sophisticated survival analyses without extensive programming knowledge, ultimately accelerating the translation of clinical data into actionable insights.

🎯 Key Features

Core Survival Analysis Capabilities

  • Kaplan-Meier Analysis: Generate survival curves with confidence intervals, risk tables, and median survival times
  • Cox Proportional Hazards Models: Both univariate and multivariable regression with hazard ratios and forest plots
  • Person-Time Calculations: Automated computation of person-years at risk with incidence rate calculations
  • Cut-point Analysis: Optimal threshold determination for continuous biomarkers using multiple methods
  • Time-Dependent Analyses: Support for time-varying covariates and landmark analysis
  • Competing Risks: Handle multiple event types with cause-specific hazard functions

Clinical Research Features

  • Natural Language Summaries: Automated generation of plain-English interpretations of results
  • Clinical Trial Metrics: 1-, 3-, and 5-year survival rates with confidence intervals
  • Stage Migration Analysis: Evaluate the Will Rogers phenomenon in cancer staging
  • Treatment Pathway Visualization: Alluvial plots for treatment sequences over time
  • Subgroup Forest Plots: Systematic evaluation of treatment effects across patient subgroups

Advanced Statistical Methods

  • Restricted Mean Survival Time (RMST): Alternative to median survival for skewed distributions
  • Time-Dependent ROC Curves: Evaluate biomarker performance over time
  • LASSO-Cox Regression: Variable selection for high-dimensional survival data
  • Integrated Discrimination Improvement (IDI): Compare predictive models
  • Schoenfeld Residual Diagnostics: Test proportional hazards assumptions

User Experience Enhancements

  • Intuitive GUI: Point-and-click interface within jamovi, no coding required
  • Smart Defaults: Evidence-based default settings for common analyses
  • Educational Tooltips: Context-sensitive help explaining statistical concepts
  • Export Options: Publication-ready tables and figures in multiple formats
  • Reproducible Reports: Generate complete analysis reports with code

📊 Available Analysis Modules

| Module | Description | Key Features | |--------|-------------|--------------| | Single Arm Survival | Analyze survival in a single cohort | Overall survival rates, median survival, person-time calculations | | Survival Analysis | Compare survival between groups | Log-rank test, Cox regression, stratified analysis | | Continuous Survival | Analyze continuous predictors | Optimal cut-point detection, tertile/quartile analysis | | Multivariable Survival | Adjust for multiple factors | Stepwise selection, interaction terms, adjusted curves | | Odds Ratio Analysis | Binary outcome analysis | 2x2 tables, forest plots, Mantel-Haenszel methods | | Time Interval Calculator | Data preparation utility | Calculate follow-up times, handle date formats | | Stage Migration | Will Rogers phenomenon | Stage-specific survival, migration matrices | | Competing Risks | Multiple event types | Cumulative incidence functions, Fine-Gray models |

🚀 Installation

In jamovi (Recommended)

  1. Open jamovi
  2. Click the + button → jamovi library
  3. Search for "ClinicoPath" or "jsurvival"
  4. Click Install

As R Package

```r

Install from GitHub

devtools::install_github("sbalci/jsurvival")

Load the package

library(jsurvival) ```

System Requirements

  • jamovi ≥ 1.8.1
  • R ≥ 4.1.0
  • Dependencies: survival, survminer, finalfit, ggplot2, dplyr

📖 Documentation

  • Package Documentation: https://www.serdarbalci.com/jsurvival/
  • ClinicoPath Suite: https://sbalci.github.io/ClinicoPathJamoviModule/
  • Tutorials: Available in the vignettes/ directory
  • Example Data: Included datasets for learning and testing

💡 Quick Example

In jamovi:

  1. Load your survival data
  2. Navigate to SurvivalClinicoPath SurvivalSurvival Analysis
  3. Set variables:
    • Time Elapsed: Time to event variable
    • Outcome: Event indicator (0/1)
    • Explanatory: Grouping variable
  4. Click Run

In R:

```r

Load example data

data("melanoma", package = "jsurvival")

Run survival analysis

result <- jsurvival::survival( data = melanoma, elapsedtime = "time", outcome = "status", explanatory = "sex" )

View results

result$run() ```

📝 Citation

If you use jsurvival in your research, please cite:

Balci, S. (2025). jsurvival: Survival Module of ClinicoPath for jamovi. R package version 0.0.3.90. https://github.com/sbalci/jsurvival

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

📄 License

This project is licensed under the GPL (≥ 2) License - see the LICENSE.md file for details.

💬 Support

🙏 Acknowledgments

This project builds upon the excellent work of the R survival analysis community, particularly the authors of the survival, survminer, and finalfit packages. Special thanks to the jamovi team for creating an accessible statistical platform.


Part of the ClinicoPath suite of statistical modules for biomedical research.

Owner

  • Name: Serdar Balcı
  • Login: sbalci
  • Kind: user
  • Location: İstanbul, Turkey
  • Company: http://www.serdarbalci.com/

MD, Pathologist https://www.linkedin.com/in/serdar-balci-md-pathologist/

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: ClinicoPathJamoviModule
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Serdar
    family-names: Balci
    email: serdarbalci@serdarbalci.com
    orcid: 'https://orcid.org/0000-0002-7852-3851'
identifiers:
  - type: doi
    value: 10.5281/zenodo.3997188
    description: zenodo
  - type: doi
    value: 10.17605/OSF.IO/9SZUD
    description: OSF
  - type: url
    value: 'https://github.com/sbalci/ClinicoPathJamoviModule/'
    description: GitHub
  - type: url
    value: 'https://sbalci.github.io/ClinicoPathJamoviModule/'
    description: webpage
  - type: url
    value: >-
      https://github.com/sbalci/ClinicoPathJamoviModule/issues/
    description: BugReports
  - type: url
    value: 'https://github.com/sbalci/ClinicoPathDescriptives/'
    description: ClinicoPathDescriptives
  - type: url
    value: 'https://github.com/sbalci/jjstatsplot'
    description: jjstatsplot
  - type: url
    value: 'https://github.com/sbalci/meddecide'
    description: meddecide
  - type: url
    value: 'https://github.com/sbalci/jsurvival'
    description: jsurvival
repository-code: 'https://github.com/sbalci/ClinicoPathJamoviModule/'
url: 'https://www.serdarbalci.com/ClinicoPathJamoviModule'
abstract: >-
  Analysis for Clinicopathological Research: ClinicoPath
  help researchers to generate natural language summaries of
  their dataset, generate cross tables with statistical
  tests, and survival analysis with survival tables,
  survival plots, and natural language summaries. 
keywords:
  - jamovi
  - module
  - R-project
  - package
  - pathology
  - research
  - biostatistics
  - survival
  - agreement
  - descriptives
  - plots
license: GPL-2.0

GitHub Events

Total
  • Create event: 4
  • Issues event: 3
  • Release event: 5
  • Watch event: 1
  • Delete event: 1
  • Issue comment event: 4
  • Push event: 109
  • Pull request event: 1
Last Year
  • Create event: 4
  • Issues event: 3
  • Release event: 5
  • Watch event: 1
  • Delete event: 1
  • Issue comment event: 4
  • Push event: 109
  • Pull request event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 2
  • Total pull requests: 1
  • Average time to close issues: about 14 hours
  • Average time to close pull requests: 9 minutes
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 1.5
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 1
  • Average time to close issues: about 14 hours
  • Average time to close pull requests: 9 minutes
  • Issue authors: 2
  • Pull request authors: 1
  • Average comments per issue: 1.5
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • HanaLeeSNU (1)
  • Yara-ALSWEITI (1)
  • scilexenko (1)
Pull Request Authors
  • sbalci (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/check-release.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/check-standard.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • R >= 4.0.0 depends
  • KMunicate * imports
  • R6 * imports
  • checkmate * imports
  • dplyr * imports
  • finalfit * imports
  • ggplot2 * imports
  • glue * imports
  • janitor * imports
  • jmvcore * imports
  • knitr * imports
  • lubridate * imports
  • magrittr * imports
  • pammtools * imports
  • purrr * imports
  • scales * imports
  • survival * imports
  • survminer * imports
  • tibble * imports
  • tidyr * imports
  • xml2 * imports
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v4 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
  • codecov/codecov-action v4 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite