meddecide

Functions for Medical Decision Making for ClinicoPath jamovi Module

https://github.com/sbalci/meddecide

Science Score: 67.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
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.0%) to scientific vocabulary

Keywords

decision decision-tests interrater-reliability medical-decision-making sensitivity
Last synced: 6 months ago · JSON representation ·

Repository

Functions for Medical Decision Making for ClinicoPath jamovi Module

Basic Info
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 2
  • Open Issues: 0
  • Releases: 13
Topics
decision decision-tests interrater-reliability medical-decision-making sensitivity
Created over 5 years ago · Last pushed 6 months ago
Metadata Files
Readme Funding License Citation

README.md

meddecide

Medical Decision Analysis and Reliability Assessment Tools for Clinical Research

Abstract

meddecide is a comprehensive R package and jamovi module that bridges the gap between complex statistical methodology and practical clinical research. It provides an intuitive toolkit for medical professionals and researchers to perform diagnostic test evaluations, reliability assessments, and evidence-based decision analyses without requiring extensive programming knowledge. By offering both a traditional R interface and a user-friendly jamovi GUI, the package democratizes access to advanced statistical methods essential for modern medical research and clinical decision-making.

Overview

The meddecide package serves as the computational engine for the ClinicoPath jamovi Module, offering dual functionality: - As an R Package: Direct access to all functions through R scripts and console - As a jamovi Module: Point-and-click interface for statistical analyses without coding

See full documentation at https://sbalci.github.io/ClinicoPathJamoviModule/

CRAN Status R-CMD-check License: GPL (>= 2) jamovi Module jamovi Version R Version

GitHub Release GitHub Issues GitHub Stars

Medical Decision Analysis Reliability Assessment ROC Analysis Kappa Statistics

DOI Documentation Clinical Research

Key Features

🏥 Medical Decision Analysis

  • Diagnostic Test Evaluation: Calculate sensitivity, specificity, predictive values, and likelihood ratios
  • Test Comparison: Compare multiple diagnostic tests against a gold standard
  • Decision Calculator: Interactive tool for exploring how test characteristics affect clinical decisions
  • Bayesian Updates: Fagan nomograms for visualizing post-test probability calculations

📊 ROC Analysis

  • ROC Curve Generation: Create and visualize receiver operating characteristic curves
  • AUC Calculation: Compute area under the curve with confidence intervals
  • Optimal Cutpoint Detection: Determine best thresholds using various optimization methods
  • Multiple Comparison: Compare ROC curves from different diagnostic tests

🤝 Reliability Assessment

  • Cohen's Kappa: Calculate inter-rater agreement for two raters
  • Fleiss' Kappa: Assess agreement among multiple raters
  • Weighted Kappa: Account for ordinal data with custom weighting schemes
  • Agreement Visualization: Generate plots to visualize rater concordance patterns

📐 Sample Size Calculations

  • Power-Based: Determine sample size for desired statistical power
  • Precision-Based: Calculate sample size for confidence interval width
  • Fixed N Analysis: Evaluate achievable power with predetermined sample size
  • Multiple Scenarios: Compare sample size requirements across different study designs

🔬 Advanced Analysis

  • No Gold Standard: Analyze diagnostic tests when reference standard is imperfect
  • Latent Class Analysis: Estimate test performance without gold standard
  • Bootstrap Methods: Generate robust confidence intervals
  • Missing Data Handling: Appropriate methods for incomplete datasets

📈 Visualization Tools

  • Fagan Nomograms: Interactive Bayesian probability calculators
  • Forest Plots: Compare diagnostic metrics across studies
  • Agreement Plots: Visualize inter-rater reliability patterns
  • ROC Space: Multi-test comparison in ROC coordinate system

Installation

As an R Package

```r

Install from GitHub

devtools::install_github("sbalci/meddecide")

Load the package

library(meddecide) ```

As a jamovi Module

  1. Open jamovi (≥ 1.8.1)
  2. Click the modules menu (⋮) in the top right
  3. Select "jamovi library"
  4. Search for "ClinicoPath"
  5. Click Install

Example datasets

Small CSV files are provided in inst/extdata to illustrate the main functions. Use read.csv() together with system.file() to access the files after the package is installed.

```r

Decision analysis example

dfdec <- read.csv(system.file("extdata", "decisionexample.csv", package = "meddecide")) decision(data = dfdec, gold = dfdec$gold, newtest = df_dec$newtest, goldPositive = 1, testPositive = 1)

ROC analysis example

dfroc <- read.csv(system.file("extdata", "rocexample.csv", package = "meddecide")) psychopdaroc(data = dfroc, class = dfroc$class, value = df_roc$value)

Agreement analysis example

dfagr <- read.csv(system.file("extdata", "agreementexample.csv", package = "meddecide")) agreement(data = df_agr) ```

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: 16
  • Release event: 5
  • Issues event: 3
  • Watch event: 1
  • Delete event: 8
  • Issue comment event: 3
  • Push event: 89
  • Pull request event: 18
Last Year
  • Create event: 16
  • Release event: 5
  • Issues event: 3
  • Watch event: 1
  • Delete event: 8
  • Issue comment event: 3
  • Push event: 89
  • Pull request event: 18

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 2
  • Total pull requests: 11
  • Average time to close issues: 11 months
  • Average time to close pull requests: 12 minutes
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 3.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 11
  • Average time to close issues: 3 days
  • Average time to close pull requests: 12 minutes
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 4.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • evanmiltenburg (1)
  • rabouqal61 (1)
Pull Request Authors
  • sbalci (11)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels
codex (9)

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
  • R6 * imports
  • dplyr * imports
  • e1071 * imports
  • epiR * imports
  • forcats * imports
  • ggplot2 * imports
  • irr * imports
  • jmvcore * imports
  • kappaSize * imports
  • magrittr * imports
  • scales * imports
  • utils * imports