Description
Hi, @quentinblampey! Hope you been well.
I was hoping to access registered H&E image per se through explorer's write function. (Is it correct to expect 'sopa explorer write' will create not only 'morphology.ome.tif' but also rest of aligned images as ome.tif under explorer folder?)
Q1.
Anyhow I executed following but it throws error. [2] part worked fine before add-aligned H&E image.
[1] H&E align to sdata
sopa explorer add-aligned "xxx/ROI1.zarr" "yyy/CAM006_Xenium5K_post_HnE.ome.tif" "yyy/CAM006_Xenium5K_post_HnE_matrix.csv"
[2] Export
sopa explorer write xxx/ROI1.zarr --output-path xxx/ROI1.explorer --gene-column "feature_name" --ram-threshold-gb 4 --mode "-i"
*Error:
AssertionError: No element with the attribute cell_segmentation_image. Provide an element key.
Can you kindly give any advice how to fix the issue? or possible way to generate/locate aligned image on sopa v1?
Q2.
Also, I wonder is there way to export processed sdata into (older Xenium version of) cell feature matrix/summary file format (c.f., cells.csv.gz) so I can feed onto downstream tool like stLearn*?
*https://stlearn.readthedocs.io/en/latest/tutorials/Xenium_PSTS.html
Activity