squidpy icon indicating copy to clipboard operation
squidpy copied to clipboard

Catch-all: XYZ doesn't work with `SpatialData`

Open timtreis opened this issue 1 year ago • 4 comments

Please just post/link functions here that do not work with SpatialData - we will then gradually port those over.

timtreis avatar Aug 20 '24 17:08 timtreis

Essentially tried following the Squidpy Xenium tutorial but using a spatialdata object. Failed when I tried to color my plot by Leiden colors.

timtreis avatar Aug 29 '24 21:08 timtreis

Essentially tried following the Squidpy Xenium tutorial but using a spatialdata object. Failed when I tried to color my plot by Leiden colors.

with this?

https://github.com/scverse/squidpy_notebooks/pull/125

giovp avatar Aug 30 '24 00:08 giovp

No, this one seems to basically just extract the adata and then does normal things that were possible before. I think the goal should be to directly pass either the sdata.tables[...] or sdata and table_name (if the latter cannot be inferred), wdyt? 🤔

timtreis avatar Aug 30 '24 01:08 timtreis

No, this one seems to basically just extract the adata and then does normal things that were possible before. I think the goal should be to directly pass either the sdata.tables[...] or sdata and table_name (if the latter cannot be inferred), wdyt? 🤔

We did that initially, but to keep verbosity low, chose the adata approach.

LLehner avatar Aug 31 '24 07:08 LLehner