squidpy icon indicating copy to clipboard operation
squidpy copied to clipboard

Can the scanpy heuristic for finding slides be also used in squidpy?

Open stela2502 opened this issue 3 years ago • 1 comments

Description

When following the squidpy tutorials plotting of tissue slides is using the scanpy package leading to figures that are cropped to the areas actually containing cells. If I use the squidpy plotting functions instead I see the total area, with the cells only occupying a small area. Now I would need to identify the area of interest myself. But this is inherently complicated without even having a possibility to show the coordinates in these plots. So as scanpy already is able to identify the areas of interest, could squipdy please also use this functionality? I would not mind to just find the automatically estimated cropping area coordinates in either the scanpy object or the squidpy object and having an option to using them in the plot or other functions.

The problem occurred for me when needing these coordinates for the deconvoluting the spots into single cell expression profiles.

I hope this is possible without too much actual coding.

stela2502 avatar Oct 10 '22 07:10 stela2502

The whole discussion has started here: https://github.com/scverse/squidpy/issues/606#issuecomment-1272898907

stela2502 avatar Oct 10 '22 07:10 stela2502