TRACER: twin-contrastive learning for fine-grained and rare spatial domain identification in spatial transcriptomics

Authors:

Abstract
Motivation: Fine-grained and rare spatial domains are difficult to identify in spatial transcriptomics because they contain few spots, show subtle transcriptional differences, and are strongly influenced by neighboring regions. Results: We present TRACER, a twin-contrastive learning framework that integrates a graph convolutional autoencoder with neighborhood-aware instance-level and cluster-level contrastive learning. By jointly preserving local spatial continuity and enhancing domain separability, TRACER achieved competitive and generally robust performance compared with representative spatial domain identification methods across multiple spatially resolved transcriptomic datasets, including human dorsolateral prefrontal cortex generated by 10× Visium, mouse brain datasets generated by STARmap, osmFISH, and BARISTAseq, and human breast cancer. TRACER recovered major cortical and anatomical structures, improved the identification of rare or transitional domains in the mouse somatosensory cortex, and revealed candidate functionally distinct small domains within a broadly annotated breast cancer region. Availability and implementation: The source code of TRACER is available at https://github.com/luxin-heart/TRACER.
Funding Information
  • National Natural Science Foundation of China (62225019)
  • National Natural Science Foundation of China (62402145)
  • the Science and Technology Key Project of Henan Provincial Department of Science and Technology (262102210267)

This publication has 41 references indexed in Scilit: