Examples#
mirpy ships four runnable marimo notebooks under examples/. They are
self-contained (they run on the bundled prototypes / test assets — no downloads) and double as
living documentation for the three tiers. Install the extra and open one:
pip install "mirpy-lib[examples]" # marimo, matplotlib, umap-learn
marimo edit examples/quickstart.py # interactive; or `marimo run …` for read-only
Notebook |
What it shows |
|---|---|
|
Clonotype embedding end-to-end: |
|
Background subtraction (Theory T6): fit a density space, run balloon |
|
Reproduces the supplementary results S1–S3 on bundled data — the distance laws (Gamma / extreme-value), the D↔d correlation, and prototype-source robustness. |
|
Exposure trajectory, generative loop, digital twin: fit a PhenoPath-style covariate-
disentangled trajectory ( |
The full benchmark suite (VDJdb Table S1, density, repertoire / TCGA cohorts) and its result docs live in the companion 2026-mirpy-analysis repository; this repo keeps the library, its tests, and these bundled-data examples.