Tools for exploring spatial omics data in notebooks — reactive widgets that stay in sync with your Python analysis.
| Tool | Role | Demo |
|---|---|---|
| LandmarksWidget | Draw selections and landmarks on tissue coordinates; measure from the notebook | |
| GalleryWidget | Compact card gallery (e.g. analysis recipes / use cases) |
More widgets and helpers may land here over time.
pip install spatial-rxFrom source:
uv sync --extra demo --group devDraw selections and landmarks on tissue coordinates (lasso, rectangle, ellipse; point,
line, spline, shape). Format data as AnnData with obsm["spatial"] and squidpy
neighbor graphs, then LandmarksWidget(adata, color=..., genes=...). Persist
hits with get_obs_names.
Selectable image cards for recipes or use cases. Synced selection is selected_index.

