Skip to content

Add notebook illustration cp-measure based featurisation#143

Open
timtreis wants to merge 5 commits into
mainfrom
add_cpmeasure_notebook
Open

Add notebook illustration cp-measure based featurisation#143
timtreis wants to merge 5 commits into
mainfrom
add_cpmeasure_notebook

Conversation

@timtreis

Copy link
Copy Markdown
Member

No description provided.

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

timtreis and others added 4 commits March 31, 2025 23:32
…a API

Rebuild tutorial_cpmeasure against sq.experimental.im.calculate_image_features
(SpatialData-native, per-object). Two parts: single-cell profiling on the
Xenium cells() dataset, and region profiling on Visium H&E spots. Drops the
pre-merge sketch (sq.exp, measurements=, cpmeasure:* flags, local zarr) and the
committed outputs; outputs are regenerated against the released squidpy.

Add tutorial_cpmeasure to the tutorials index.
Run end-to-end against the dev build and commit rendered outputs (5 figures).
Fixes found during execution:
- pass scale='scale0' to the morphology-only call (cell_labels is multiscale)
- drop non-finite feature columns before AND after scaling (float32 variance
  underflow on near-constant columns nulls a column, breaking PCA)
- %matplotlib inline + warnings suppression for a clean rendered gallery

Outputs are from the dev build; they will be regenerated against the released
squidpy per the deploy plan.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant