forest-plot-styler
Beautify meta-analysis forest plots with customizable odds ratio points and confidence intervals
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/aipoch-ai/forest-plot-stylerForest Plot Styler
ID: 157
Beautifies Meta-analysis or subgroup analysis forest plots, customizes Odds Ratio point sizes and confidence interval line styles.
Features
- Reads Meta-analysis data (CSV/Excel format)
- Draws high-quality forest plots
- Customizes Odds Ratio point sizes, colors, and shapes
- Customizes confidence interval line styles (color, thickness, endpoint style)
- Supports subgroup analysis display
- Automatically calculates and displays pooled effect values
- Outputs to PNG, PDF, or SVG format
Usage
python scripts/main.py --input <data.csv> [options]
Parameters
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
--input, -i | string | - | Yes | Input data file (CSV or Excel) |
--output, -o | string | forest_plot.png | No | Output file path |
--format, -f | string | png | No | Output format (png/pdf/svg) |
--point-size | int | 8 | No | OR point size |
--point-color | string | #2E86AB | No | OR point color |
--ci-color | string | #2E86AB | No | Confidence interval line color |
--ci-linewidth | int | 2 | No | Confidence interval line thickness |
--ci-capwidth | int | 5 | No | Confidence interval endpoint width |
--summary-color | string | #A23B72 | No | Pooled effect point color |
--summary-shape | string | diamond | No | Pooled effect point shape |
--subgroup | string | - | No | Subgroup analysis column name |
--title, -t | string | Forest Plot | No | Chart title |
--xlabel, -x | string | Odds Ratio (95% CI) | No | X-axis label |
--reference-line | float | 1.0 | No | Reference line position |
--width, -W | int | 12 | No | Image width (inches) |
--height, -H | int | auto | No | Image height (inches) |
--dpi | int | 300 | No | Image resolution |
--font-size | int | 10 | No | Font size |
--style, -s | string | default | No | Preset style (default/minimal/dark) |
Input Data Format
CSV/Excel files must contain the following columns:
| Column Name | Description | Type |
|---|---|---|
study | Study name | Text |
or | Odds Ratio value | Numeric |
ci_lower | Confidence interval lower bound | Numeric |
ci_upper | Confidence interval upper bound | Numeric |
weight | Weight (optional, for point size) | Numeric |
subgroup | Subgroup label (optional) | Text |
Sample Data
study,or,ci_lower,ci_upper,weight,subgroup
Study A,0.85,0.65,1.12,15.2,Drug A
Study B,0.72,0.55,0.94,18.5,Drug A
Study C,1.15,0.88,1.50,12.3,Drug B
Study D,0.95,0.75,1.20,14.8,Drug B
Examples
Basic Usage
python scripts/main.py -i meta_data.csv
Custom Style
python scripts/main.py -i meta_data.csv \
--point-color="#E63946" \
--ci-color="#457B9D" \
--point-size=10 \
--ci-linewidth=3 \
-t "Meta-Analysis of Treatment Effects"
Subgroup Analysis
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-aipoch-ai-forest-plot-styler": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
mechanism-flowchart
Generates Mermaid flowchart code and visual diagrams for pathophysiological.
reference-style-sync
One-click synchronization and standardization of reference formats in literature management tools, intelligently fixing metadata errors.
metagenomic-krona-chart
Analyze data with `metagenomic-krona-chart` using a reproducible workflow, explicit validation, and structured outputs for review-ready interpretation.
pptx-posters
Generate PowerPoint presentations and academic posters from paper abstracts or full paper content, with automatic layout optimization and citation formatting.
anatomy-quiz-master
Generate interactive anatomy quizzes for medical education with multiple question types, difficulty levels, and anatomical regions. Supports gross anatomy, neuroanatomy, and clinical correlations for self-assessment and exam preparation.