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

How to analyze one tissue section data separately from one capture area which include two tissue sections for Xenium 5k ? #148

Open
lidd77 opened this issue Nov 3, 2024 · 1 comment

Comments

@lidd77
Copy link

lidd77 commented Nov 3, 2024

Hello,

  For Xenium  5k ,    there are two  tissue sections in one capture area . I need to analyze   every tissue section separately with Seurat.
  So could you please tell me how split every tissue section data   from one caputre area ?
  my Xenium data output name is like this output-*__0041156__Q17_Q16__*__* .

Expecting your reply !

Best

@quentinblampey
Copy link
Collaborator

Hello @lidd77, there are two possibilities for splitting the data within Sopa/SpatialData.

1. Before running Sopa

You can create a SpatialData object (with spatialdata_io.xenium), and then use napari-spatialdata to select your regions of interest. Then, based on this, you can crop the SpatialData object based on your regions of interest with this polygon_query. This will create one SpatialData object per polygon query, and then you'll be able to run Sopa on each of the SpatialData objects.

2. After running Sopa

You can also directly run Sopa on all the tissue sections, and split the data afterward. Then, you can use the Xenium Explorer to split your data, as detailed in this tutorial.

Hope this helps, let me know!

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