squidpy icon indicating copy to clipboard operation
squidpy copied to clipboard

Extracted cropped spot images

Open KSimi7 opened this issue 1 year ago • 1 comments

Hi!

Thank you for developing this package. Is there any way I can export the cropped spot images as a numpy arrays or individual images? I look forward to hearing from you!

KSimi7 avatar Apr 18 '24 15:04 KSimi7

hi, thank youf ro your interest in squidpy, what do you mean "export the cropped spot as numpy arrays"? with the function generate_spot_crops you should be able to do just that, as it returns a generator with cropped tiles at the centroid coordinates of the visium array.

giovp avatar Apr 22 '24 07:04 giovp

closing due to inactivity

giovp avatar Jul 07 '24 14:07 giovp