plot-survival
CommunityPublish publication-ready Kaplan-Meier curves.
AuthorMDhewei
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Generate publication-quality Kaplan-Meier survival curves from time-to-event data with multi-group support, confidence intervals, at-risk tables, and median survival annotations.
Core Features & Use Cases
- Kaplan-Meier estimation per group with confidence intervals and median survival annotations.
- Log-rank and Wilcoxon tests for group comparisons, with optional p-values.
- Flexible stratification by categorical or continuous variables, support for single or multiple groups, and publication-ready aesthetics.
- Outputs include PNG and SVG plots plus a survival_stats.tsv summary.
Quick Start
Provide a CSV/TSV with time-to-event data, event indicator, and optional group, then run the plotting script to generate a KM plot.
Dependency Matrix
Required Modules
pandasnumpymatplotlibscipy
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: plot-survival Download link: https://github.com/MDhewei/bioinfor-claw/archive/main.zip#plot-survival Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.