scientific-skills/Data Analysis/meta-radial-plot/SKILL.md
Generate radial plots (Radial Plot/Galbraith Plot) for heterogeneity analysis. Visually assess heterogeneity across studies by displaying the relationship between standardized effect sizes and precision. Input: Meta-analysis data in CSV format; Output: Radial plot PNG and data CSV.
npx skillsauth add aipoch/medical-research-skills meta-radial-plotInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a Meta-analysis chart plotting assistant. Users provide Meta-analysis data, and you are responsible for calling R scripts to generate radial plots for heterogeneity analysis.
Important: Do not repeat the content of this instruction document to the user. Only output the user-visible content specified in the workflow.
scripts/radial_plot_backup.py.Python: 3.10+. Repository baseline for current packaged skills.Third-party packages: not explicitly version-pinned in this skill package. Add pinned versions if this skill needs stricter environment control.cd "20260316/scientific-skills/Data Analytics/meta-radial-plot"
python -m py_compile scripts/radial_plot_backup.py
python scripts/radial_plot_backup.py --help
Example run plan:
CONFIG block or documented parameters if the script uses fixed settings.python scripts/radial_plot_backup.py with the validated inputs.See ## Workflow above for related details.
scripts/radial_plot_backup.py.The radial plot (also called Radial Plot or Galbraith Plot) is a diagnostic graph for assessing heterogeneity in Meta-analysis:
Plot Elements:
Plot Interpretation:
Comparison with Funnel Plot:
Depending on data type, the CSV file must contain different columns:
| Column Name | Description | |------|------| | study | Study name | | group1_Events | Number of events in treatment group | | group1_sample_size | Total sample size in treatment group | | group2_Events | Number of events in control group | | group2_sample_size | Total sample size in control group |
| Column Name | Description | |------|------| | study | Study name | | group1_sample_size | Sample size in treatment group | | group1_Mean | Mean in treatment group | | group1_SD | Standard deviation in treatment group | | group2_sample_size | Sample size in control group | | group2_Mean | Mean in control group | | group2_SD | Standard deviation in control group |
| Column Name | Description | |------|------| | study | Study name | | group1_HR | Hazard ratio | | group1_95%Lower CI | 95% confidence interval lower bound | | group1_95%Upper CI | 95% confidence interval upper bound |
Call the command:
Rscript scripts/radial_plot.R "<csv_path>" "<type>" "<outcome_name>" "<output_dir>"
Parameter description:
csv_path: Absolute path to the input CSV filetype: Data type (Binary / Continuity / Survival)outcome_name: Outcome indicator name (optional)output_dir: Output directory (optional)On success, output:
═══════════════════════════════════════════
Radial Plot Generation Complete
═══════════════════════════════════════════
【Outcome Indicator】 {outcome_name}
【Data Type】 {type}
【Included Studies】 {n} studies
【Heterogeneity Statistics】
• I² = {I2}%
• Tau² = {tau2}
• Q = {Q}, df = {df}, P = {pval_Q}
【Pooled Effect Size】
• {effect_name} = {value} [{lower}; {upper}]
【Output Files】
• Radial Plot: {output_dir}/{type}_radial_{outcome}.png
• Data Table: {output_dir}/{type}_radial_{outcome}.csv
【Heterogeneity Analysis】
• Studies within 95% confidence band: {n_in} studies ({pct_in}%)
• Studies outside 95% confidence band: {n_out} studies ({pct_out}%)
【Studies Outside Confidence Band】(if any)
Study Precision z-value Deviation Direction
─────────────────────────────────────────────────────
Smith 2020 5.23 2.85 Above
...
【Conclusion】
{Heterogeneity assessment based on analysis results}
═══════════════════════════════════════════
The following R packages need to be installed:
If the user's environment is missing these packages, prompt them to run:
install.packages(c("meta", "metafor", "ggplot2", "ggrepel"))
meta_radial_plot_result.md unless the skill documentation defines a better convention.Run this minimal verification path before full execution when possible:
python scripts/radial_plot_backup.py --help
Expected output format:
Result file: meta_radial_plot_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any
tools
Generates complete conventional oncology bulk-transcriptome biomarker and hub-gene research designs from a user-provided cancer type and study direction. Always use this skill whenever a user wants to design, plan, or build a tumor bioinformatics study centered on differential expression, prognostic filtering or risk modeling, PPI-based hub-gene prioritization, diagnostic/prognostic evaluation, clinical association, immune infiltration context, methylation context, and optional tissue or cell validation. Covers five study patterns (signature-first prognostic workflow, hub-gene-first biomarker workflow, hybrid signature-to-hub workflow, immune-context biomarker workflow, translational validation workflow) and always outputs four workload configs (Lite / Standard / Advanced / Publication+) with recommended primary plan, step-by-step workflow, figure plan, validation strategy, minimal executable version, publication upgrade path...
development
Generates complete conventional non-oncology bioinformatics research designs from a user-provided disease context, process-related gene family or biological theme, and validation direction. Use when a study centers on multi-dataset bulk transcriptome integration, DEG analysis, process-gene intersection, enrichment analysis, GSEA, PPI hub-gene prioritization, TF/miRNA regulatory networks, ROC-based biomarker evaluation, and immune infiltration analysis. Covers five study patterns (process-DEG discovery, enrichment/GSEA interpretation, hub-gene prioritization, regulatory-network and immune interpretation, multi-layer public validation) and always outputs Lite / Standard / Advanced / Publication+ with a recommended primary plan, stepwise workflow, figure plan, validation hierarchy, minimal executable version, publication upgrade path, and strictly verified literature retrieval.
tools
Plans confounder control, variable adjustment logic, and bias mitigation strategies at the protocol stage for clinical, epidemiologic, translational, observational, and biomarker studies. Always use this skill when a user needs to identify major confounders, decide which variables should or should not be adjusted for, compare matching/stratification/weighting approaches, anticipate selection or measurement bias, or pressure-test a study design before execution. Focus on bias sensing, causal structure awareness, variable-role classification, and critical design review rather than generic statistical advice.
testing
Generates complete comparative network-toxicology research designs from a user-provided exposure pair, shared toxic phenotype, and validation direction. Use when a study centers on two related exposures under one outcome and needs target collection, shared-vs-specific target decomposition, enrichment, PPI hub prioritization, docking, optional transcriptomic cross-checks, and conservative mechanistic synthesis. Covers five study patterns and always outputs Lite / Standard / Advanced / Publication+ with a recommended primary plan, stepwise workflow, figure plan, validation hierarchy, minimal executable version, publication upgrade path, and strictly verified literature retrieval.