ClinicoPath
Abstract
Background: Clinicopathological research is fundamental to advancing
evidence-based medicine, biomarker validation, and precision oncology.
However, it requires complex and specialized statistical methods ranging
from survival modeling and decision analysis to inter-rater reliability
and rich statistical visualization. The technical barrier of
programming-based statistical software can limit clinicians and
pathology researchers from performing these analyses reproducibly. To
address this gap, we developed ClinicoPath, an open-source umbrella
toolkit built for the jamovi statistical
platform and R.
Architecture: ClinicoPath coordinates 61 production analyses
distributed across 5 focused, specialized submodules available
directly in the jamovi library, alongside an active development and
staging infrastructure:
- ClinicoPathDescriptives
(14 analyses): Baseline characteristics (
Table 1),
cross-tabulation with significance tests, descriptive summaries,
demographic age pyramids, treatment pathway alluvial flows, Venn
diagrams, variable hierarchy trees, and robust data quality/outlier
screening.
- jsurvival (9
analyses): Comprehensive time-to-event analysis, Kaplan-Meier
curves with risk tables, Cox proportional hazards regression,
continuous biomarker threshold detection, odds ratios,
high-dimensional LASSO-Cox regularized regression, and clinical
date/time interval tools.
- meddecide (15
analyses): Diagnostic test accuracy evaluation, Fagan nomogram
decision calculators, test combination/co-testing/sequential
algorithms, Decision Curve Analysis (DCA), ROC curve modeling,
inter-rater reliability (Cohen’s/Fleiss’ Kappa), regularized
prediction (LASSO logistic), and precision/power sample size
planning.
- jjstatsplot (19
analyses): Publication-ready statistical visualizations
integrating
ggstatsplot and modern plotting tools into jamovi
(between-group and within-subject box-violin plots, scatter plots
with marginals, correlation matrices, raincloud and ridgeline
distributions, waffle charts, arc networks, and automated
intelligent plot selection).
- OncoPath (4 analyses):
Specialized oncology and pathology research tools including swimmer
plots for patient timelines, waterfall and spider plots for tumor
burden response (response categories adapted from RECIST v1.1
thresholds), diagnostic test meta-analysis for pathology & AI
validation, and regional IHC biomarker sampling agreement and
spatial heterogeneity analysis.
Conclusion: ClinicoPath provides a powerful, accessible, and
free-to-use toolkit that empowers medical researchers to conduct
sophisticated statistical analyses without requiring programming
expertise. By integrating these essential functions into the intuitive
jamovi graphical interface while generating reproducible R code, the
module lowers barriers to rigorous biomedical data analysis, enhances
transparency, and accelerates translation of clinical findings.
📚 Documentation & Submodule Websites
All submodule documentation is hosted on dedicated pkgdown websites:
📊 Test Data & Learning Resources
Comprehensive test datasets and downloadable .omv example analysis
files:
- Test Data Catalog - Curated
overview with download links and sample analysis files.
- Featured: Kappa sample size planning (
kappasizeci,
kappasizefixedn, kappasizepower), Decision Curve Analysis
(decisioncurve), and Waterfall plots (waterfall).
- Access in R:
vignette("test-data-catalog", package = "ClinicoPath")
- Complete Test Data
Catalog - Complete
inventory of example data files.
- Function Reference Guide -
Complete reference across all module functions.
🎓 Tutorial Series
Comprehensive step-by-step tutorials for clinical and translational
researchers:
💻 Installation in jamovi
Method 1: Install Submodules from the jamovi Library (Recommended)
Each specialized submodule can be installed directly inside jamovi:
- Open jamovi (version >= 2.6).
- Click the Modules button (+) in the top right corner.
- Select jamovi library.
- Search for the module name or browse categories:
- ClinicoPathDescriptives (under Exploration)
- jsurvival (under Survival)
- meddecide (under meddecide)
- jjstatsplot (under jjstatsplot)
- OncoPath (under OncoPath)
- Click Install.
Method 2: Sideload .jmo Package Files
Pre-compiled .jmo files are available on GitHub Releases:
- Download the
.jmo file for your platform from ClinicoPath
Releases.
- In jamovi, click Modules (+) → Sideload (folder icon).
- Select the downloaded
.jmo file.
💻 Installation in R
You can install the development version of the umbrella package or
individual submodules from GitHub:
# Install remotes if needed
if (!requireNamespace("remotes", quietly = TRUE)) install.packages("remotes")
# Umbrella package (contains all functions)
remotes::install_github("sbalci/ClinicoPathJamoviModule")
# Or individual submodules
remotes::install_github("sbalci/ClinicoPathDescriptives")
remotes::install_github("sbalci/jsurvival")
remotes::install_github("sbalci/meddecide")
remotes::install_github("sbalci/jjstatsplot")
remotes::install_github("sbalci/OncoPath")
🔬 Feature Overview by Submodule
1. ClinicoPathDescriptives (14 Analyses)
Menu: Exploration
- Table One
(
tableone): Publication-ready baseline patient summary tables
with automatic variable type detection, significance tests,
standardized mean differences (SMD), and missing value reporting.
- Cross
Tables
(
crosstable): Multi-way contingency tables with Pearson
Chi-Square, Fisher’s exact test, and multiple comparison
corrections.
- Continuous
Summaries
(
summarydata): Automated descriptive statistics for continuous
variables with natural language interpretations.
- Categorical
Summaries
(
reportcat): Frequency distributions and percentages for
categorical variables.
- Age
Pyramid
(
agepyramid): Demographic population pyramid plots split by
gender or disease subgroups.
- Alluvial
Diagrams
(
alluvial): Categorical flow diagrams visualizing patient
therapy transitions and clinical trajectories.
- Venn
Diagrams
(
venn): Set relationship diagrams supporting 2 to 7 sets with
statistical overlap counts.
- Variable
Tree
(
vartree): Hierarchical tree visualizations for cohort
stratification and inclusion/exclusion pathways.
- Data Quality
Assessment
(
dataquality): Multi-variable data health dashboard summarizing
missingness patterns, variable types, and distributions.
- Single Variable
Check
(
checkdata): Interactive data validation tool for screening
individual variables.
- Outlier
Detection
(
outlierdetection): Multi-method outlier detection leveraging
IQR, Z-scores, robust covariance, and DBSCAN.
- Benford
Analysis
(
benford): Digital data integrity screening using first-digit
Benford distribution conformity.
- Chi-Square
Post-Hoc
(
chisqposttest): Pairwise post-hoc proportion comparisons
following significant chi-square tests.
- Categorize
Variables
(
categorize): Binning and recoding of continuous variables into
clinically meaningful ordinal categories.
2. jsurvival (9 Analyses)
Menu: Survival
- Survival Analysis
(
survival): Kaplan-Meier curves, log-rank tests, Cox
proportional hazards regression, median survival with CIs, 1-, 3-,
and 5-year survival rates, and risk tables.
- Single Arm Survival
(
singlearm): Cohort survival analysis for single-arm clinical
trials or registry cohorts without an explanatory group.
- Multivariable Survival
(
multisurvival): Multivariable Cox proportional hazards modeling
with covariate adjustment, hazard ratio forest plots, and adjusted
survival curves.
- Continuous Survival
(
survivalcont): Survival analysis for continuous variables with
optimal cut-point detection (maxstat) and quantile splits.
- Odds Ratio Analysis
(
oddsratio): Binary outcome evaluation with 2x2 contingency
tables, odds ratio calculations, and forest plots.
- LASSO-Cox Regression
(
lassocox): L1-penalized Cox regression via glmnet for
high-dimensional feature selection, cross-validation tuning, and
coefficient path plots.
- Time Interval Calculator
(
timeinterval): Follow-up and survival duration calculation from
clinical dates with date order validation.
- DateTime Converter
(
datetimeconverter): Parsing, standardization, and conversion of
clinical timestamps into analysis-ready formats.
- Outcome Organizer
(
outcomeorganizer): Clinical endpoint mapping and
standardization for time-to-event indicators (OS, DFS, PFS).
3. meddecide (15 Analyses)
Menu: meddecide (12 analyses) and Power → Power Analysis by meddecide (3 analyses)
- Medical Decision
(
decision): Diagnostic test accuracy metrics (Sensitivity,
Specificity, PPV, NPV, LR+, LR-, DOR, Youden’s J, NND with 95% CIs),
FDA comparator agreement mode (PPA, NPA, OPA), validation context
ledger, and Fagan nomograms.
- Decision Calculator
(
decisioncalculator): Interactive 2x2 table calculator for pre-
and post-test probabilities, multi-prevalence screening workload
projections, and Fagan nomograms.
- Compare Tests
(
decisioncompare): Paired comparison of 2 or 3 diagnostic tests
on the same patients via McNemar tests, Newcombe paired
sensitivity/specificity difference intervals, Cochran’s Q, and
comparator mode.
- Combine Tests
(
decisioncombine): Combinatorial evaluation of 2 or 3 diagnostic
tests across all result patterns and serial/parallel (AND/OR/majority)
rules against a reference standard or comparator.
- Co-Testing Analysis
(
cotest): Simultaneous dual-test evaluation under conditional
independence or user-specified conditional dependence, with post-test
probability updates and Fagan nomograms.
- Sequential Testing
(
sequentialtests): Two-stage serial and parallel testing
strategies with population flow, stage-level resource/cost
accounting, and conditional dependence adjustment.
- No Gold Standard
(
nogoldstandard): Diagnostic accuracy estimation for 3 to 5
binary tests without a gold standard using 2-class latent class
analysis (poLCA), penalized EM, composite reference rules,
prior-weighted bootstrap resampling, and bivariate residual
dependence checks.
- Decision Curve Analysis
(DCA) (
decisioncurve):
Clinical net benefit evaluation across threshold probabilities against
treat-all and treat-none strategies, net interventions avoided,
standardized net benefit, relative utility, and pointwise or
simultaneous bootstrap bands.
- Clinical ROC Analysis
(
enhancedROC): Publication-ready ROC and Precision-Recall curves,
empirical and smoothed AUC with DeLong/bootstrap CIs, Youden and
constrained cutoff optimization, partial AUC, calibration/Brier
score, and frozen-model validation.
- Advanced ROC Analysis
(
psychopdaROC): Multi-marker ROC analysis via cutpointr,
threshold and confusion-matrix tables, fixed sensitivity/specificity
interpolation, DeLong comparisons, NRI/IDI reclassification, and
bootstrap intervals.
- Interrater Reliability
(
agreement): Cohen’s, weighted, Fleiss’, Conger’s exact, and
Light’s kappa, Gwet’s AC1/AC2, Krippendorff’s alpha,
ICC(1,1)–ICC(3,k), Lin’s CCC, Bland-Altman limits of agreement,
specific agreement, hierarchical/mixed-effects ICC, latent ordinal
grading models, and rater/case clustering.
- LASSO Logistic
Regression
(
lassologistic): Penalized binary logistic regression (LASSO,
ridge, elastic net, adaptive LASSO) via glmnet with cross-validated
$\lambda$, stability selection, integer risk-scoring systems, and
optimism-corrected bootstrap validation.
- Kappa Sample Size (CI)
(
kappaSizeCI): Precision-based sample size calculator
determining required subjects for a target two-sided confidence
interval around $\kappa_0$ (kappaL, kappaU) across 2–5 categories
and 2–6 raters.
- Kappa Fixed N Analysis
(
kappaSizeFixedN): Calculates the lowest expected lower
confidence bound ($\kappa_L$) achievable for a fixed sample size (n).
- Kappa Power Analysis
(
kappaSizePower): Hypothesis-testing sample size calculator for
detecting $\kappa_1 > \kappa_0$ at specified power ($1 - \beta$) and
$\alpha$.
4. jjstatsplot (19 Analyses)
Menu: jjstatsplot
- Histograms (
jjhistostats): Distribution visualization with
Shapiro-Wilk normality testing and central tendency overlays.
- Scatter Plot (
jjscatterstats): Pairwise continuous association
with correlation coefficients, regression fits, and marginal plots.
- Correlation Matrix (
jjcorrmat): Multi-variable correlation
matrices with significance markers and clustering.
- Hull Plot (
hullplot): Bivariate scatter with convex polygonal
hull boundaries for distinct clinical clusters.
- Between-Groups Box-Violin (
jjbetweenstats): Group comparison
with violin plots, boxplots, raw jittered points, ANOVA /
Kruskal-Wallis, and effect sizes.
- Within-Subjects Box-Violin (
jjwithinstats): Repeated measures
comparison with repeated measures ANOVA or Friedman tests.
- Horizontal Dot Plot (
jjdotplotstats): Horizontal box-violin
comparison across categorical factors with detailed effect sizes.
- Dot Chart (
jjdotchart): Cleveland-style dot charts comparing
observed group summaries against reference values.
- Bar Charts (
jjbarstats): Categorical frequency comparisons
with Chi-square, Fisher’s exact test, and Cramer’s V.
- Pie Charts (
jjpiestats): Proportion visualization with
chi-square goodness-of-fit testing.
- Segmented Total Bar (
jjsegmentedtotalbar): Stacked proportion
bars reporting both segment-level and aggregate statistics.
- Waffle Charts (
jwaffle): Square icon waffle charts for
intuitive patient proportion visualization.
- Raincloud Plot (
raincloud): Combined raw jittered points,
boxplot summary, and half-density distribution cloud.
- Advanced Raincloud (
advancedraincloud): Enhanced raincloud
plot supporting longitudinal tracking and multi-group
stratification.
- Ridgeline Plot (
jjridges): Multi-group density ridges
(joyplots) for comparing biomarker distribution shifts across
stages.
- Arc Diagram (
jjarcdiagram): Network arc diagrams displaying
connections between pathological entities.
- Line Chart (
linechart): Longitudinal trends and trajectories
with error bars and confidence intervals.
- Lollipop Chart (
lollipop): High-data-to-ink ratio lollipop
plots for comparing ranked numerical values across categories.
- Automatic Plot Selection (
statsplot2): Intelligent plotting
engine that automatically inspects input variable types and renders
the optimal statistical plot.
5. OncoPath (4 Analyses)
Menu: OncoPath
- Swimmer Plot
(
swimmerplot): Patient timeline visualization using enhanced
ggswim; displays disease duration, clinical milestones, discrete
events, censoring status arrows, reverse Kaplan-Meier follow-up, and
response summaries for oncology trial reporting.
- Treatment Response: Waterfall &
Spider (
waterfall):
Patient-level tumor burden analysis; generates publication-ready
waterfall and spider plots; measures progression against the nadir;
categorizes response (CR, PR, SD, PD) using response categories
adapted from RECIST v1.1 thresholds (single-measure percentage
cut-points; not a RECIST v1.1 implementation); reports ORR, DCR,
Kaplan-Meier duration of response, and person-time metrics.
- Diagnostic Test
Meta-Analysis
(
diagnosticmeta): Meta-analysis of diagnostic accuracy studies
in pathology and AI/ML algorithm validation; implements bivariate
random-effects modeling (Reitsma method), hierarchical SROC (HSROC),
univariate DerSimonian-Laird pooling, meta-regression, Deeks’ funnel
plot test, and publication-ready forest and SROC plots.
- IHC Heterogeneity
Analysis
(
ihcheterogeneity): Regional sampling agreement and spatial
heterogeneity analysis for immunohistochemical biomarkers across
biopsy cores and whole-section reference standards (or pairwise
inter-regional designs); computes ICC(2,1)/ICC(3,1), Spearman rank
correlation with Bonett-Wright CIs, Fieller 90% TOST equivalence and
Bonferroni material-bias intervals, Krouwer three-slope HC3
proportional-bias tests, Bland-Altman limits of agreement,
within-case CVs, variance components, and spatial compartment
comparisons.
🛠️ System Requirements
- jamovi: Version >= 2.6 (or higher)
- R: Version >= 4.1.0
- Operating Systems: macOS (Apple Silicon & Intel), Windows
(64-bit), Linux
Acknowledgements
ClinicoPath is made possible thanks to the outstanding open-source
contributions of the R and jamovi communities, including:
Citation
If you use ClinicoPath or any of its submodules in your research or
publications, please cite:
@manual{balci2026clinicopath,
title = {ClinicoPath: jamovi Module for Clinicopathological Research},
author = {Serdar Balci},
year = {2026},
url = {https://www.serdarbalci.com/ClinicoPathJamoviModule/},
doi = {10.5281/zenodo.3997188}
}
License
GPL (>= 2) — see the LICENSE file for details.
评论