Code and figure notebooks for the manuscript on time-varying polygenic effects and monogenic penetrance.
Each page shows one main figure panel by panel, with the script that draws it, the scripts that produced its inputs,
and each script's header (inputs, recipe, outputs). All code is in src/; the notebooks in notebooks/
regenerate every panel from the fitted models. No participant-level data are included.
src/train_slope_3way.py): signatures, polygenic level and age effects, health reference, frailty.src/triplet_loo_calibration.py): per-person deviation and frailty refit up to enrollment.src/reparam_fig3/run_atlas_triplet_fixed.sh, run_static_atlas_triplet.sh, run_brca1_s8_triplet.sh).Data access: UK Biobank, All of Us and Mass General Brigham Biobank data are available to approved researchers from each resource.