Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Mar 13;28(4):112214.
doi: 10.1016/j.isci.2025.112214. eCollection 2025 Apr 18.

Dissection of tumoral niches using spatial transcriptomics and deep learning

Affiliations

Dissection of tumoral niches using spatial transcriptomics and deep learning

Karla Paniagua et al. iScience. .

Abstract

This study introduces TG-ME, an innovative computational framework that integrates transformer with graph variational autoencoder (GraphVAE) models for dissection of tumoral niches using spatial transcriptomics data and morphological images. TG-ME effectively identifies and characterizes niches in bench datasets and a high resolution NSCLC dataset. The pipeline consists in different stages that include normalization, spatial information integration, morphological feature extraction, gene expression quantification, single cell expression characterization, and tumor niche characterization. For this, TG-ME leverages advanced deep learning techniques that achieve robust clustering and profiling of niches across cancer stages. TG-ME can potentially provide insights into the spatial organization of tumor microenvironments (TME), highlighting specific niche compositions and their molecular changes along cancer progression. TG-ME is a promising tool for guiding personalized treatment strategies by uncovering microenvironmental signatures associated with disease prognosis and therapeutic outcomes.

Keywords: Artificial intelligence; Cancer; Microenvironment; Transcriptomics.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

None
Graphical abstract
Figure 1
Figure 1
Quantitative evaluation of multiple methods in the DLPFC dataset (A) Pathologist annotation. (B) TG-ME prediction. (C) STAGATE prediction. (D) SEDR prediction. (E) SpaGCN prediction. (F) Leiden algorithm prediction. (G) Comparison of ARI and NMI scores (ranging from 0 to 1) across different methods.
Figure 2
Figure 2
Quantitative evaluation of multiple methods in the breast cancer dataset (A) Pathologist annotation. (B) TG-ME prediction. (C) STAGATE prediction. (D) SEDR prediction. (E) SpaGCN prediction. (F) Leiden algorithm prediction. (G) Comparison of ARI and NMI scores (ranging from 0 to 1) across different methods.
Figure 3
Figure 3
Quantitative evaluation of multiple methods in the breast cancer dataset (A) Pathologist annotation. (B) TG-ME prediction. (C) STAGATE prediction. (D) SEDR prediction. (E) SpaGCN prediction. (F) Leiden algorithm prediction. (G) Comparison of ARI and NMI scores (ranging from 0 to 1) across different methods.
Figure 4
Figure 4
Ablation scores of the multimodal data for TG-ME normalization (A) Pathologist annotation. (B) TG-ME prediction with all the data. (C) Ablation of the gene expression. (D) Ablation of the morphology images. (E) Ablation of the spatial location. (F) Ablation score of the cell composition.
Figure 5
Figure 5
Major steps of the TG-ME pipeline (A) Pre-processing of gene expression. (B) Division into cells. (C) Location based adjacency matrix. (D) Gene expression and cell type composition. (E) Morphological feature extraction. (F) Normalized expression. (G) TG-ME model. (H) Identification of niches from clustering. (I) Interpretation and spatial mapping. (J) TME composition across regions. (K) Severity signatures across regions.
Figure 6
Figure 6
TG-ME model overview (A) The transformer model. (B) The graph variational autoencoder model.
Figure 7
Figure 7
Ablation scores of the TG-ME model (A) Pathologist annotation. (B) TG-ME prediction with both transformer and GraphVAE modules. (C) Ablation of the GraphVAE module. (D) Ablation of the transformer module. (E) Ablation of both GraphVAE and transformer modules, replaced by a fully connected network.
Figure 8
Figure 8
Examination of cell typing of each patient in UMAP and selected gene markers (A) Integrated UMAP visualization of four samples. (B) UMAP visualization of the individual samples. (C) Cell type marker genes.
Figure 9
Figure 9
TG-ME improves the separation of cell types (A) Sample 1 with gene expression only. (B) Sample 1 with TG-ME integration. (C) Sample 4 with gene expression only. (D) Sample 4 with TG-ME integration. (E) Sample 3 before TG-ME integration. (F) Sample 3 after TG-ME integration, where the tumor cells separate into two clusters, and the rest of the cluster becomes well defined. (G) Sample 2 before TG-ME integration. (H) Sample 2 after TG-ME integration, where the tumor cells separate into two clusters, and the rest become well-defined.
Figure 10
Figure 10
Tumor microenvironment identified by TG-ME (A) TME (left) and TME cellular composition (right) for sample 1. (B) TME (left) and TME cellular composition (right) for sample 4. (C) TME (left) and TME cellular composition (right) for sample 3. (D) TME (left) and TME cellular composition (right) for sample 2.

Similar articles

Cited by

References

    1. Lorusso G., Rüegg C. The tumor microenvironment and its contribution to tumor evolution toward metastasis. Histochem. Cell Biol. 2008;130:1091–1103. - PubMed
    1. Ospina O.E., Wilson C.M., Soupir A.C., Berglund A., Smalley I., Tsai K.Y., Fridley B.L. spatialGE: quantification and visualization of the tumor microenvironment heterogeneity using spatial transcriptomics. Bioinformatics. 2022;38:2645–2647. - PMC - PubMed
    1. Kobayashi H., Enomoto A., Woods S.L., Burt A.D., Takahashi M., Worthley D.L. Cancer-associated fibroblasts in gastrointestinal cancer. Nat. Rev. Gastroenterol. Hepatol. 2019;16:282–295. - PubMed
    1. Mittal V., El Rayes T., Narula N., McGraw T.E., Altorki N.K., Barcellos-Hoff M.H. The microenvironment of lung cancer and therapeutic implications. Adv. Exp. Med. Biol. 2016;890:75–110. - PubMed
    1. Wang N., Li X., Wang R., Ding Z. Spatial transcriptomics and proteomics technologies for deconvoluting the tumor microenvironment. Biotechnol. J. 2021;16 - PubMed

LinkOut - more resources