Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.38 KB

File metadata and controls

48 lines (34 loc) · 1.38 KB

BRCA Gallery Example

The BRCA gallery uses deterministic synthetic inputs with large-cohort ordering, subtype/receptor metadata, numeric age metadata, TMB bars, recurrence labels, and mutation legends.

Render The Default BRCA Outputs

python3 python_refactor_goal_sources/recreate_gallery.py --preset brca_large
python3 python_refactor_goal_sources/recreate_gallery.py --preset brca_compact_complex

Outputs:

python_refactor_goal_sources/generated_plots/clean/gen.goal_plot_01.png
python_refactor_goal_sources/generated_plots/clean/gen.goal_plot_07.png

Render Comparison Sheets

python3 python_refactor_goal_sources/recreate_gallery.py --style comparison --preset brca_large

Comparison sheets place the original source image beside the clean generated image for a quick visual check.

Inputs

python_refactor_goal_sources/syntheitic_goal_data/brca_mutations.tsv
python_refactor_goal_sources/syntheitic_goal_data/brca_metadata.tsv
python_refactor_goal_sources/syntheitic_goal_data/brca_tmb.tsv
python_refactor_goal_sources/syntheitic_goal_data/brca_palette.json

Inspect The Preset Code

Direct oncoplot gallery rendering lives in:

python_refactor_goal_sources/make_oncoplots.py

Use renderer: oncoplot presets when the public API can express the plot. Add a new active gallery goal only when the public API can express the plot.