spatialdata-plot icon indicating copy to clipboard operation
spatialdata-plot copied to clipboard

Cannot pass `layer ` selection of anndata

Open wangjiawen2013 opened this issue 1 year ago • 2 comments

Hi, There maybe many data layers in the annotation table such as scaled data, normalized data and raw counts. spatialdata-plot use adata.X as default, how to plot using the raw.X and data in adata.layers ? We can set the data by use_raw=True or layer = ... in scanpy/squidpy, however, it seems that we cannot set these parameters in spatialdata.

wangjiawen2013 avatar Aug 16 '24 03:08 wangjiawen2013

With napari-spatialdata you can find a dropdown menu for choosing the layer. I'll loop in @timtreis for info on the current support (or plan to support) within the spaitaldata-plot package.

LucaMarconato avatar Aug 16 '24 12:08 LucaMarconato

Very valid point @wangjiawen2013, we should 100 % support that!

timtreis avatar Sep 11 '24 20:09 timtreis