Skip to content

Recipes

Each recipe is one marimo notebook under demos/recipes/. The docs site serves a prepared studio export (fixed widget state). Draw new selections or re-run analysis in molab.

Needs the same optional packages as the demos (squidpy, scanpy, leidenalg where noted). 2D recipes use the ileum tier via milume.datasets.ileum_merfish_xu2026() (#380).

Squidpy niche color

Color Landmarks from Squidpy neighborhood niches on a masked selection, then assign w.color to the niche column Squidpy writes to adata.obs.

Link
Docs (prepared studio view) Squidpy niche color
molab (live kernel) squidpy_color.py

Gene pattern or cell layout

One Moran's I, asked three ways. All cells, leftover expression after each cell's own type and its spatial domain, and one cell type.

Link
Docs (prepared studio view) Gene pattern or cell layout
molab (live kernel) squidpy_svg.py