Plot Survival banner
zamushwani zamushwani

Plot Survival

Data community

Description

--- description: Kaplan-Meier curves and Cox models from clinical data. Use when the user asks about survival, prognosis, hazard ratios, or wants a KM plot. argument-hint: [clinical-file] [group-column] allowed-tools: Read Grep Glob Bash(Rscript *) --- Build survival analysis for `$0`, stratified by `$1`. Follow the `survival-analysis` skill. The parts that are usually got wrong: 1. **Check the event coding.** `survival` expects 1 = event, 0 = censored. A flipped indicator silently inverts ev

Installation

Installs to ~/.claude/commands/zamushwani-biomedical-ai-skills-plot-survival.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/zamushwani/biomedical-ai-skills/HEAD/.claude/commands/plot-survival.md -o ~/.claude/commands/zamushwani-biomedical-ai-skills-plot-survival.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository