squidpy icon indicating copy to clipboard operation
squidpy copied to clipboard

apply image rotation when plotting tissue / cellxgene

Open mkunst23 opened this issue 3 years ago • 1 comments

Imege rotation

Hi,

when plotting cell position on top of images (sc.pl.spatial) would it be possible to apply a predefined rotation to it? This could either be an argument in the function call or something that can be pulled from the adata.uns' ...

mkunst23 avatar Apr 13 '22 17:04 mkunst23

hi @mkunst23 thanks for the interest in Squidpy. I think this is very doable and we are working on something related. For now, you'd have to apply the transform before and save it in adata.uns["spatial"][<library_id>]["images"]... as usual. Let me know if that help, I'll keep this open as reminder

giovp avatar Apr 19 '22 11:04 giovp

closing due to inactivity

giovp avatar Oct 18 '22 12:10 giovp

We can rotate the image using 10x genomics loupe browser, but cannot using squidpy. Does Napari support rotation of squidpy h5ad objects ?

wangjiawen2013 avatar Jun 16 '23 01:06 wangjiawen2013