Time Dependent Roc
Use when performing time-dependent ROC curve analysis for survival data with follow-up time, event status, and a numeric marker. Supports CSV/TXT/TSV/Excel input, `risk_score` as the default marker unless `--marker_col` is provided, parameter validation, standardized output directories, AUC table export, ROC point export, and PDF figure generation.
Install
npx skills add aipoch/medical-research-skills --skill time-dependent-rocgit clone --depth 1 https://github.com/aipoch/medical-research-skills.git /tmp/medical-research-skills
mkdir -p ~/.claude/skills
cp -r /tmp/medical-research-skills/awesome-med-research-skills/Data Analysis/time-dependent-roc ~/.claude/skills/time-dependent-rocPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
> **Source**: [https://github.com/aipoch/medical-research-skills](https://github.com/aipoch/medical-research-skills)
# Time-Dependent ROC Analysis
Use this skill to compute and plot time-dependent ROC curves for survival outcomes.
## Use This Skill When
- You have survival data with `futime` and `fustat` columns.
- You need time-specific ROC curves and AUC values for a numeric risk marker.
- You want a command-line workflow with parameter validation and standardized outputs.
- Your file contains a numeric marker column named `risk_score`, or you will provide another marker explicitly with `--marker_col`.
## Primary Command
```bash
Rscript scripts/main.R \
--data_file <input_file> \
--times <comma_separated_times> \
--output_dir <output_dir>
```
## Prerequisites
- `Rscript` is available in the shell.
- Required R packages: `optparse`, `timeROC`, `survival`, `ggplot2`.
- Optional package for Excel input: `openxlsx`.
- Install missing packages with `Rscript -e 'install.packages(c("optparse", "timeROC", "survival", "ggplot2", "openxlsx"), repos="https://cloud.r-project.org")'`.
## Core Arguments
| Argument | Required | Description |
|----------|----------|-------------|
| `--data_file` | Yes | Input data file in CSV, TXT, TSV, TAB, XLS, or XLSX format |
| `--times` | No | Prediction time points, comma-separated. Default `1,3,5` |
| `--marker_col` | No | Marker column name. Default `risk_score`; provide this option when your file uses a different marker |Details
- Skill name
time-dependent-roc- Repository
- aipoch/medical-research-skills
- Path
awesome-med-research-skills/Data Analysis/time-dependent-roc/SKILL.md- License
- MIT
- Repo updated
- 17 September 2026
FAQ
What does the Time Dependent Roc skill do?
Use when performing time-dependent ROC curve analysis for survival data with follow-up time, event status, and a numeric marker. Supports CSV/TXT/TSV/Excel input, `risk_score` as the default marker unless `--marker_col` is provided, parameter validation, standardized output directories, AUC table export, ROC point export, and PDF figure generation.
How do I install the Time Dependent Roc skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add aipoch/medical-research-skills --skill time-dependent-roc. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Time Dependent Roc popular?
It lives in aipoch/medical-research-skills, which has 2,068 GitHub stars and 206 forks.
Related skills
Clinicaltrials Database
2.1kaipoch/medical-research-skills
Query ClinicalTrials.gov via API v2. Search trials by condition, drug, location, status, or phase. Retrieve trial details by NCT ID, export data, for clinical research and patient matching.
Abstract Summarizer
2.1kaipoch/medical-research-skills
Transform lengthy academic papers into concise, structured 250-word abstracts.
Abstract Trimmer
2.1kaipoch/medical-research-skills
Precision editing tool that reduces abstract word count through intelligent compression techniques, maintaining scientific rigor while meeting strict journal and conference requirements.
Tooluniverse Statistical Modeling
2.1kaipoch/medical-research-skills
Statistical modeling and regression analysis for biomedical data. Linear/logistic/ordinal regression, Cox proportional hazards, mixed-effects models, ANOVA, with odds ratios, hazard ratios, confidence intervals, and model diagnostics.
Tf Target Gene Regulatory Network
2.1kaipoch/medical-research-skills
Use when analyzing transcription factor (TF) regulatory networks using Dorothea database. Input gene list, identify regulating transcription factors, generate TF-Target network visualization. For: transcription factor enrichment analysis, gene regulatory network research.
Torchdrug English
2.1kaipoch/medical-research-skills
PyTorch-native Graph Neural Network framework for molecules and proteins. Suitable for building custom GNN architectures for drug discovery, protein modeling, or knowledge graph reasoning. Best for custom model development, protein property prediction, and retrosynthesis. If you need pretrained models and diverse feature extractors, use deepchem; if you need benchmark datasets, use pytdc.
Browse the most popular Claude skills, all data & analytics skills, or write your own with the skills generator.