Generate all 11 figures (8 main + 3 supplementary) for the omics bias systematic review paper.
# Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install dependencies
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e .
# Generate all figures
python scripts/figures/generate_all_figures.pyThat's it! Your figures will be in:
figures/main/png/andfigures/main/pdf/(8 main figures)figures/supplementary/png/andfigures/supplementary/pdf/(3 supplementary figures)
- Python 3.11 or higher
- uv package manager
cd scripts/figures
# Main figures
python fig1_heatmap.py # Figure 1: Overview Heatmap
python fig1_1_lifecycle.py # Figure 1.1: Lifecycle Diagram
python fig2_network.py # Figure 2: Network Graph
python fig3_chinese_comparison.py # Figure 3: Chinese Literature Comparison
python fig4_pipeline_sankey.py # Figure 4: Pipeline Sankey
python fig5_stacked_bar.py # Figure 5: Stacked Bar Chart
python fig6_curated_hierarchy.py # Figure 6: Curated Hierarchy (Sunburst)
python fig7_cross_omics_heatmap.py # Figure 7: Cross-Omics Heatmap
# Supplementary figures
python figS1_bubble_chart.py # Supplementary S1: Bubble Chart
python figS2_violin_plot.py # Supplementary S2: Violin Plot
python figS4_category_profiles.py # Supplementary S4: Category Profilespytest tests/ -vAll 11 tests should pass. If you encounter issues, see CONTRIBUTING.md.
Source data: data/bias.csv (145 curated biases, 2,041 citations across 7 omics fields)
- Figure descriptions: See figures.md
- Development & testing: See CONTRIBUTING.md
- Dependencies: See pyproject.toml