aristoteleo / spateo-release

Spatiotemporal modeling of spatial transcriptomics
https://spateo-release.readthedocs.io/
BSD 2-Clause "Simplified" License
164 stars 26 forks source link

Combined visualization of domains and segmented cells #276

Open lzy-9865 opened 2 hours ago

lzy-9865 commented 2 hours ago

Hi developer,I had the cluster result using bin80,but while I was applying function st.pl.spatial_domainsto my data,I set the parameter bin_size=80 and got nothing,then I tried bin_size=1and got a barely satisfying contour image.I followed the steps in the tutorials but found that when scale_factor=1and adata_cellbin.obsm['spatial_bin80']=adata_cellbin.obsm['spatial']//80,nothing showed up.Then I tried scale_factor=0.02andadata_cellbin.obsm['spatial_bin80']=adatacellbin.obsm['spatial']`,I got an image with domain background and cell dots not precisely alligned.How can I alligned my domain(bin80)and cellbin data?(plus I am using Stereo-Seq) ![30841728959466 pic](https://github.com/user-attachments/assets/95a6407d-8028-4f7f-9641-a9721f8ac90c) ![30851728959579 pic](https://github.com/user-attachments/assets/a8 ![30861728959603 pic](https://github.com/user-attachments/assets/1a979e40-3e41-487b-90de-09801351a044) b37889-8dfb-4440-a3db-1cae5dc47b38)

lzy-9865 commented 2 hours ago

30851728959579_ pic