Open RubyLiu-2 opened 1 year ago
Hi RubyLiu,
Sorry for the late reply.
We just need to reverse the 'y' coordinates by code "adata.obsm['spatial][:,1]=-1*adata.obsm['spatial][:,1]" before the input or visualization. Thank you for your attention on our work.
Best regards,
Yahui
Hi everyone,
I ran the tutorial of horizontal integration. Here is my question, the tutorial used processed data I assume: adata = sc.read_h5ad('data/mouse_anterior_posterior_brain_merged.h5ad'). I tried with separate data from 10X ( mouse brain sagittal anterior and posterior) by:
And I ran the integration by:
vertical_integrated_adata = horizontal_ST_pipeline(adata_spatial_processed_1, n_clusters=26)