Abstract
The development of spatial transcriptomics (ST) technologies has enabled researchers to better understand cells' spatial organization and functional heterogeneity within their native tissue context. Spatial domain identification plays a crucial role in ST data analysis. However, most existing spatial domain identification methods do not fully exploit spatial information, and often fail to adequately integrate both local and global features, resulting in suboptimal spatial domain identification. We propose SLGCA, a novel method based on cross-level graph contrastive learning to address these challenges. SLGCA adopts a dual-channel learning mechanism, combining local-level contrastive learning based on spatial neighborhood information and global information contrastive learning across views, thereby significantly enhancing the accuracy of spatial domain identification. SLGCA can integrate multiple tissue sections without needing pre-alignment or external tools, eliminating batch effects and accurately identifying spatial domains across multiple slices. Experimental results show that SLGCA significantly outperforms the benchmark methods in spatial domain identification accuracy on ST data generated by multiple techniques. Moreover, SLGCA enables accurate dissection of tumor heterogeneity in human breast cancer datasets and effectively uncovers the heterogeneous tumor microenvironment in liver cancer, revealing two distinct fibroblast subtypes.