Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmented CODEX data in QuPath csv to squidpy #197

Open
andreevg04 opened this issue Aug 13, 2024 · 1 comment
Open

Segmented CODEX data in QuPath csv to squidpy #197

andreevg04 opened this issue Aug 13, 2024 · 1 comment

Comments

@andreevg04
Copy link

Dear Community,

I have stitched CODEX images directly after the run and I segemented the image in QuPath. The result is a csv where each row is a cell with multiple columns of Marker Expressions, X and Y Centroids and other information such as in which compartment the cell is etc.
I want to start analyze the neighborhoods in squidpy or to start putting the file in spatialdata-io but I do fail generating the needed anndata object for it to run in squidpy.
Could you help me with some kind of support.
*I dont get the raw images or fcs file from the experiment. Only ome.tiffs that I segment etc. in QuPath.
Best wishes!!!!

@LucaMarconato
Copy link
Member

HI @andreevg04, thanks for your interest in our packages.

I would suggest to start using the codex() reader from spatialdata-io (https://github.com/scverse/spatialdata-io/blob/main/src/spatialdata_io/readers/codex.py), and then to enrich the object (or in alternative to create a new SpatialData object), adding a new table and new segmentation from the results of QuPath.

Please you can find here:

I hope this help!

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

No branches or pull requests

2 participants