Construction of a pan-cancer transcriptomic landscape of the TME
To establish a spatially resolved single-cell transcriptomic landscape, we integrated scRNA-seq data from 16 cancer types and ST data from 14 cancer types from the Gene Expression Omnibus (GEO) and Comprehensive Repository of Spatial Transcriptomics (CROST) databases (Supplementary Tables S1 and S2). Additionally, we incorporated bulk RNA-seq datasets and corresponding clinical information for the same cancer types from The Cancer Genome Atlas (TCGA), Genotype-Tissue Expression (GTEx), and cBio Cancer Genomics Portal (cBioPortal) for subsequent validation (Fig. 1a; Supplementary Tables S3, S4, and S5). All the samples were derived from primary tumor tissues and matched adjacent normal or healthy tissues. The scRNA-seq dataset comprised 212 samples, including 127 tumor tissue samples and 79 adjacent normal or healthy tissue samples. The ST dataset included 79 tumor tissue sections (Fig. 1b). The bulk RNA-seq dataset consisted of 11,420 samples, including 7204 tumor tissue samples and 4216 adjacent normal or healthy tissue samples (Fig. 1c). To minimize batch effects caused by differences in sequencing platforms and methodologies, all single-cell and spatial transcriptomic data were obtained exclusively from the 10x Genomics and 10x Visium platforms. Following stringent quality control and filtering, the scRNA-seq data retained a total of 1,039,479 cells, and the ST data retained 236,716 spots for downstream analysis (Fig. 1d, e).
Fig. 1: Construction of a pan-cancer transcriptomic landscape of the tumor microenvironment.The alternative text for this image may have been generated using AI.
a Data types and sources in this study. The left side lists the cancer types included in this pan-cancer study, while the right side shows all the data types and source platforms used. Some graphical elements were sourced from the iconfont platform. b Sample numbers and tissue types for scRNA-seq and ST. Blue represents scRNA-seq tumor samples, brown represents scRNA-seq adjacent normal or healthy tissue samples, and orange represents ST samples. c Sample numbers and tissue types for bulk RNA-seq. Blue represents bulk RNA-seq tumor samples, and brown represents bulk RNA-seq adjacent normal or healthy tissue samples. d Quality control results for scRNA-seq. Red represents filtered low-quality cells, green represents retained cells, blue represents the number of cells retained in tumor samples, and brown represents the number of cells retained in adjacent normal or healthy tissue samples. e Number of spots identified in ST samples. f UMAP plot showing major cell types in a single cancer type example, with different colors representing different cell types. g Bubble heatmap displaying the expression of marker genes for major cell types. h UMAP plot showing malignant cells inferred using copykat. Red represents cells with malignant features, and gray represents cells without malignant tendencies. i Bar plot showing the interaction strengths between macrophages and different tumor microenvironment components in normal or adjacent tissues versus tumor tissues inferred using CellChat. j, k Functional enrichment analysis of macrophages in different cancer types, with pathways sourced from Gene Ontology (GO) and Hallmark. l Spatial transcriptomic sample with single-cell resolution inferred and visualized using CellTrek.
To minimize batch effects across different cancer datasets, we first independently analyzed the scRNA-seq data for each cancer type before integration. Initially, we applied Harmony to reduce potential batch effects between samples26. The results demonstrated that batch effects were successfully mitigated (Local Inverse Simpson’s Index (LISI) > 1) (Supplementary Fig. S1a, b). We subsequently employed graph-based clustering and annotated 17 distinct cell types across the 16 cancer datasets using canonical markers for each cell type (Fig. 1f, g and Supplementary Fig. S1c). While most immune, stromal and epithelial cells were present across all cancer types, we also identified tissue-specific cell types, such as neurons and glial cells, in glioblastoma (GBM) (Supplementary Fig. S2a). Tissue preference analysis for different cell types revealed substantial heterogeneity in cell type preferences across cancers. Importantly, we observed that macrophages exhibited a strong preference for tumor tissues in most cancer types (Supplementary Fig. S2b), highlighting the complexity and critical role of cellular components within the TME. To distinguish malignant cells from non-malignant cells, we used CopyKAT to infer single-cell copy number variation (CNV) landscapes27. The application of this algorithm to tumor tissues revealed that most cell clusters with malignant tendencies were enriched within epithelial or glial cell populations, which we defined as cancer cells (Fig. 1h and Supplementary Fig. S3a).
To preliminarily characterize the features of macrophages within the TME, we used CellChat to infer their interaction strength with other cell types28. The results revealed that compared with those in adjacent normal or healthy tissues, macrophages in tumor tissues interact more strongly with various TME components. Notably, the strongest interactions were detected between fibroblasts and macrophages, and substantial interactions were also observed between macrophages and endothelial cells as well as tumor cells (Fig. 1i; Supplementary Fig. S3b, c). Furthermore, we performed enrichment analyses to identify pathways that are specifically dysregulated in macrophages within tumor tissues. The results demonstrated that macrophages were broadly enriched in pathways related to complement activation, interferon and inflammatory pathways, as well as immune-related processes such as leukocyte activation, cytokine production, phagocytosis, and antigen processing and presentation, which is consistent with previous literature29. Additionally, we identified enrichment in pathways such as mTORC1 signaling, KRAS signaling, TNFα signaling via NF-κB, and the hypoxia response (Fig. 1j, k and Supplementary Fig. S3d). Together, these results suggest that TAMs undergo coordinated transcriptional reprogramming toward metabolically active and immunologically engaged states within the tumor microenvironment. Surprisingly, the enrichment analysis results for liver hepatocellular carcinoma (LIHC) and lung adenocarcinoma (LUAD) were distinctly different from those for other cancers. Further analysis revealed that these two cancer types were significantly enriched in energy-related pathways, such as oxidative phosphorylation, ATP synthesis, and metabolism (Supplementary Fig. S3e, f). This divergence is likely attributable to the unique proportions of macrophage subtypes within these cancers30.
Additionally, we employed CellTrek, a computational toolkit that maps single cells from scRNA-seq data to spatial coordinates within tissue sections based on ST data31. Unlike ST deconvolution methods, CellTrek enables single-cell resolution at the spatial level by transferring individual cells to their spatial coordinates. We applied this approach to scRNA-seq and ST data from the same cancer types to reconstruct spatial single-cell maps, with colorectal cancer (CRC) data serving as an illustrative example (Fig. 1l).
Construction and characterization of a large-scale, pan-cancer single-cell transcriptome atlas of TAMs in the TME
To construct a comprehensive pan-cancer atlas of TAMs that diverges from the conventional M1/M2 classification paradigm, we extracted all macrophage populations from pre-processed single-cell samples across 16 different cancer types. For effective comparative analysis, other myeloid cell types were also isolated and integrated. Subsequent graph-based clustering was performed, revealing no significant bias toward specific tissues or cancer types, with major cell populations clustering cohesively (Fig. 2a; Supplementary Fig. S4a). Subtype nomenclature was assigned based on uniquely highly expressed genes or expression signatures within each cluster (Supplementary Table S6), culminating in the identification of 28 distinct TAM subtypes (Fig. 2a, b). We systematically evaluated the effectiveness of cross-dataset integration using the Single-cell Integration Benchmarking (scIB) framework and assessed the purity of the final subtype definitions with Ratio of Global Unshifted Entropy (ROGUE) scores (Supplementary Fig. S4b, c)32,33. Subtypes present in 8 or more cancer types were classified as pan-cancer subtypes, those restricted to 2 or fewer cancer types were classified as tissue-specific subtypes, and the remainder were classified as shared subtypes. Our analysis revealed a predominance of pan-cancer subtypes (21 in total), along with 4 shared subtypes and 3 tissue-specific subtypes (Fig. 2c, d and Supplementary Fig. S4d). Furthermore, ssGSEA enrichment analysis was employed to elucidate the associations between these subtypes and hallmark pathways (Supplementary Fig. S4e).
Fig. 2: Construction of a large-scale, pan-cancer single-cell transcriptome atlas of TAMs and characterization of TAMs.The alternative text for this image may have been generated using AI.
a UMAP plot showing the integration results of all myeloid cells across different cancer types. The top left corner represents the mixing of different cancer types, where C01-C32 denote the 32 defined subtypes. b Heatmap displaying the expression of signature genes for different macrophage subtypes. c Heatmap depicting the TAM subtypes present across different cancer types. d Bubble plot illustrating the relative proportions of different TAM subtypes across cancer types, with both the bubble size and color encoding the magnitude of the proportion. e Heatmap showing the preference of different TAM subtypes in tumor tissues, where values greater than 1 indicate significant tissue preference. f, g UMAP plots displaying the distribution of M1 and M2 scores in TAMs inferred using the AddModuleScore algorithm. h Boxplot showing the M1 and M2 scores for different TAM subtypes. Blue represents M1 scores, and orange represents M2 scores. i UMAP plot showing the developmental trajectory of macrophages at the single-cell level inferred using Monocle. j Heatmap showing the proportions of different TAM subtypes in bulk RNA-seq samples inferred using GSVA. The colored blocks above the heatmap represent different sample information (Supplementary Table S8).
We first analyzed the low-abundance shared and tissue-specific macrophage subtypes, which are restricted to a limited number of cancer types and thus exhibit pronounced tissue or tumor specificity. Among these subtypes, Macro_APO⁺ (C01), Macro_BGN (C02), Macro_ECM (C04), and Macro_VWF (C30) were clearly enriched in tumor tissues. In contrast, Macro_FABP4 (C05), Macro_FABP4_INHBA⁺ (C06), and Macro_LYVE1_C3⁺ (C25) were significantly enriched in normal and adjacent non-tumor tissues (Fig. 2e).
C02, C04, and C30 all showed pronounced expression of genes associated with extracellular matrix remodeling (e.g., COL6A2, COL4A2, and COL4A1). Their transcriptional profiles closely resembled those of fibroblasts and were predominantly enriched in hepatocellular carcinoma or endometrial carcinoma. Previous studies have suggested that these subtypes may represent transitional populations in which macrophages undergo transdifferentiation toward a fibroblast-like state34. In certain tumor microenvironments, this differentiation process may be aberrantly activated, thereby exerting a detrimental effect on the response to immunotherapy. In contrast, C01 represents a liver cancer-enriched, highly specific macrophage subtype characterized by strong expression of multiple lipid metabolism-related genes, including APOB, APOC3, and APOA2, and accounts for a substantial proportion of macrophages in hepatocellular carcinoma. Consistent with the results of our earlier enrichment analyses, the functional characteristics of macrophages in liver cancer are distinct from those observed in other cancer types (Fig. 1k), a phenomenon that may be partly driven by the prominent presence of the C01 subtype.
C05, C06, and C25 exhibited hallmark features of tissue-resident macrophages, including high expression of signature genes such as C3 and LYVE130. Previous studies have shown that C05 and C06 share strong transcriptional similarity with alveolar macrophages in lung tissue34,35,36,37, whereas C25 more closely resembles a brain-specific macrophage subtype. Although these subtypes are relatively low in abundance within tumor tissues, multiple studies have demonstrated that tissue-resident macrophages of this type are closely associated with tumor invasiveness and responses to immunotherapy38,39,40,41.
Next, we performed a systematic characterization of the pan-cancer macrophage subtypes, which together accounted for more than two-thirds of the total macrophage population. These subtypes could be robustly identified in more than half of the cancer types analyzed, suggesting that they may share common functional properties across tissues and tumor types. Within this group, five subtypes were predominantly enriched in normal or adjacent non-tumor tissues, whereas seventeen subtypes were significantly enriched in tumor tissues (Fig. 2e). Notably, four representative subtypes emerged: tissue-resident macrophage subsets, inflammation-associated macrophage subsets, chemokine-enriched macrophage subtypes, and a mixed macrophage subtype family characterized by high GPNMB expression.
The tissue-resident macrophage subgroup includes Macro_CX3CR1_C3⁺ (C03), Macro_FOLR2_C3⁺ (C07), Macro_HSPA1A (C12), and Macro_SELENOP_FOLR2⁺ (C28). Among these, the FOLR2-high subtypes C07 and C28 have been reported to colocalize with CD8⁺ T cells across multiple cancer types, suggesting a potential role in CD8⁺ T-cell activation and anti-tumor immunity38,42,43.
The inflammation-associated macrophage subgroup comprises Macro_INFI_TEX14⁺ (C21), Macro_INFI_IL1B⁺ (C20), Macro_INFI_CXCL3⁺ (C19), and Macro_INFI_CCL4⁺ (C18). C20 is characterized by marked upregulation of the expression of IL1B and multiple chemokines (e.g., CXCL3 and CXCL2), with IL1B recognized as a key pro-inflammatory cytokine secreted by M1-like macrophages; in addition, this subtype is characterized by high expression of the epidermal growth factors AREG and EREG, suggesting potential involvement in angiogenesis and tumor metastasis44,45. C21 specifically overexpresses TEX14, a gene closely associated with reproductive development46. C19 is characterized by high expression of MIR155HG and PDE4DIP, of which MIR155HG is a peptide-encoding lncRNA involved in inflammation and antigen presentation47, whereas PDE4DIP has been shown to participate in NF1/RAS signaling and has been proposed as a potential therapeutic target in colorectal cancer48. C18 prominently expresses multiple cytokines, including CCL4, CCL4L2, and CCL3L3, which is accompanied by high expression of the interferon-stimulated gene CH25H.
The chemokine-enriched macrophage subtypes included Macro_IFN_CXCL9⁺ (C13), Macro_IFN_IFI27⁺ (C14), and Macro_IFN_ISG15⁺ (C15). Among them, C13 is characterized by high expression of the chemokines CXCL9, CXCL10, and CXCL11, particularly CXCL9, a key factor known to be closely involved in T-cell recruitment49,50. C14 shows marked upregulation of multiple interferon-related genes, including IFI6, IFI27, and IFITM3. Similarly, C15 exhibits concurrent high expression of signature genes from both the chemokine and interferon families. Collectively, these molecular features indicate that these subtypes share substantial functional similarity with classically defined M1-like macrophages51,52,53 and suggest a close functional association with T cells.
Macrophage subtypes characterized by high GPNMB expression, including Macro_GPNMB_APOC1⁺ (C08), Macro_GPNMB_CCL18⁻ (C09), Macro_GPNMB_CXCL9⁺ (C10), and Macro_GPNMB_VCAN⁺ (C11), display complex and heterogeneous functional features. Previous studies have shown that GPNMB is markedly upregulated during macrophage–tumor interactions and can promote cancer stem cell formation and tumor cell metastasis through CD44 and IL-33 signaling; thus, it is emerging as an important potential therapeutic target54,55. Among these subtypes, C10 has transcriptional characteristics similar to those of chemokine- and interferon-related macrophage subsets. C08, C09, and C11 are characterized by high expression of the secreted phosphoprotein SPP1, which is widely recognized as a hallmark gene of multiple macrophage subtypes and a key pro-tumorigenic factor7,19,56,57,58. In addition, C11 shows pronounced upregulation of genes associated with hypoxia and metabolism, including BNIP3, HK2, NUPR1, ERO1A, ALDOA, and ADM, and is linked to pro-angiogenic processes, suggesting that C11 plays a role in providing metabolic and survival support for tumor growth. In contrast, C08 and C09 also highly express APOC1, a lipid metabolism-related gene59 that is closely associated with a poor prognosis in multiple cancers60 and has been implicated in resistance to immunotherapy61.
In addition to the four major pan-cancer macrophage subtypes described above, we identified several macrophage subpopulations with relatively distinct molecular features. Among them, Macro_LRMDA (C24) is characterized by high expression of the melanocyte differentiation-associated gene LRMDA. Macro_SELENOP_KCNMA1⁺ (C29) exhibits gene expression patterns suggestive of potential associations with neural-related functions. Macro_Prolif (C27) represents a proliferative subpopulation marked by strong cell cycle-related signals, a feature observed across multiple cell types. Macro_MT (C26) is characterized by high expression of multiple metallothionein genes. In addition, two relatively rare subtypes, Macro_LGALS1 (C23) and Macro_IL32 (C17), were also identified. Notably, all of these subpopulations were consistently enriched in tumor tissues, suggesting that they may play specific and functionally important roles within the tumor microenvironment.
Finally, we excluded four subpopulations likely representing doublets or contamination artifacts. Macro_IG⁺ (C16) strongly expressed B-cell-associated immunoglobulin genes (e.g., IGKC), whereas Macro_KRT (C22) expressed epithelial markers (KRT19, KRT18, and KRT8), which is consistent with the doublet signatures. In contrast, Macro_ATP⁺ (C31) and Macro_HLA⁺ (C32) were dominated by nonspecific ATP metabolism- and HLA-related signals, respectively, which is indicative of background contamination.
After thoroughly characterizing the signature genes and potential biological functions associated with different TAM subtypes, we sought to infer the M1/M2 binary polarization states of TAMs. To this end, we referenced previously reported M1 and M2 signature genes from the literature (Supplementary Table S7)22 and employed the AddModuleScore algorithm to calculate M1 and M2 scores for each subtype (Fig. 2f-h). Although the polarization tendencies varied across subtypes (with C13-Macro_IFN_CXCL9+, C15-Macro_IFN_ISG15+, and C20-Macro_INFI_IL1B+ exhibiting pronounced M1 characteristics), it is undeniable that the majority of subtypes displayed co-expression of both M1 and M2 signature genes. This observation aligns with findings reported in previous studies62.
The complex characteristics of TAMs within the TME can be attributed to their intricate developmental processes. To infer the developmental trajectory of TAMs, we utilized the Monocle2 algorithm63. To minimize the influence of subtypes with pronounced tissue-specific biases, we selected single-cell data from the 21 pan-cancer subtypes to construct the developmental trajectory. We observed that the overall trajectory originates from two starting points and ultimately converges toward a common direction (Fig. 2i and Supplementary Fig. S4f). TAMs with tissue-resident macrophage (TRM) characteristics were positioned at the initial stage of development, while the majority of the subtypes were located in the intermediate stage. Notably, two specific inflammatory subtypes (Macro_INFI_CXCL3+ and Macro_INFI_TEX4+), as well as Macro_LRMDA and Macro_SELENOP_KCNMA1+, were present at the terminal stage of development (Supplementary Fig. S4g). Further analysis revealed that the developmental axis involves the regulation and activation of complex biological processes, including wound healing, granulocyte chemotaxis, T-cell activation, response to oxidative stress, Ras protein signal transduction, inflammatory response, and response to TGF-β (Supplementary Fig. S4h, i). This highlights the inherent heterogeneity of TAMs and their critical role in activating diverse biological functions within the organism.
Finally, to establish a connection between the scRNA-seq and traditional bulk RNA-seq samples, we employed the ssGSEA algorithm to perform deconvolution based on the signature gene sets of the 28 subtypes, thereby inferring the abundance of TAMs in the bulk RNA-seq samples (Fig. 2j and Supplementary Table S8). Our results revealed features consistent with those observed at the single-cell level, such as the enrichment of Macro_APO+ (C01) in liver tissues and Macro_FABP4 (C05 and C06) in lung tissues, further validating the reliability of our previous findings.
TAM co-occurrence patterns and correlation with clinical features
Given that we constructed a comprehensive pan-cancer TAM atlas, we sought to explore the phenotypic relationships among these subtypes. Using unsupervised hierarchical clustering analysis, we identified 10 major branches (Fig. 3a). Contrary to our expectations, some subtypes expressing similar signature genes did not cluster together, highlighting their transcriptional heterogeneity. For instance, two subtypes with high expression of GPNMB (C08 and C11) formed a distinct branch alongside C26 and the inflammatory subtype C20. Several subtypes characterized by high expression of chemokine- and interferon-related signatures clustered into a unified branch (C10, C13, C14, and C15). Subtypes with tissue-resident features or those enriched in normal tissues formed a separate branch (C25, C12, C10, C07, and C03). Additionally, the three subtypes associated with tissue stroma (C02, C04, and C30) and the two subtypes recruited to lung tissue (C05 and C06) each formed distinct branches.
Fig. 3: TAM co-occurrence patterns and correlation with clinical features.The alternative text for this image may have been generated using AI.
a Dendrogram showing the similarity clustering of different TAM subtypes. b Pearson correlation analysis of the co-occurrence patterns of different TAM subtypes in tumor tissues (*P < 0.05, **P < 0.01). c, d Pearson correlation analysis of the co-occurrence patterns between different hub TAM subtypes and TME components (inferred by xCell) in normal or adjacent tissues (c) and tumor tissues (d) (*P < 0.05, **P < 0.01). e Left: boxplot showing the average tumor mutation burden (TMB) across different cancer types; Right: heatmap representing the correlation between different TAM subtypes and TMB (*P < 0.05, **P < 0.01). f Heatmap representing the correlation between different TAM subtypes and prognosis (*P < 0.05, **P < 0.01).
We further explored the co-occurrence patterns among TAMs using Pearson correlation analysis of cluster frequencies to infer potential intrinsic relationships between different subtypes (Supplementary Fig. S5a). For instance, several subtypes with high expression of chemokine- and interferon-related signature genes exhibited stronger positive correlations in tumor tissues, suggesting their co-occurrence within the TME. Similarly, subtypes characterized by inflammatory signature genes also displayed comparable patterns (Fig. 3b). These co-occurrence results demonstrate the existence of coordinated interactions among different TAM subtypes. Additionally, we analyzed the co-occurrence relationships between TAMs and other components of the TME. Since we were unable to comprehensively define all TME components at the single-cell level, we employed the xCell algorithm64 to infer the abundance of different cell types in the samples (Supplementary Fig. S5b and Table S9). We subsequently constructed a co-occurrence network using Pearson correlation analysis of cluster frequencies (Supplementary Fig. S5c). We found that macrophages exhibit complex co-occurrence patterns with other TME components. For example, the three subtypes associated with tissue stroma (C02, C04, and C30) consistently co-occurred with fibroblasts in both normal and primary tumor tissues. Subtypes with high expression of chemokine-related signatures (C10, C13, C14, and C15) strongly co-occurred with CD8+ T cells, suggesting their potential role in T-cell recruitment. In contrast, inflammatory subtypes (C18, C19, C20, and C21) co-occurred with neutrophils (Fig. 3c, d). These findings indicate potential interactions among different TAM subtypes, but the intricate co-occurrence network requires further exploration to elucidate its underlying biological characteristics.
The tumor mutational burden (TMB) is a quantitative biomarker that reflects the total number of mutations carried by tumor cells in the genome. The TMB is closely associated with the activity of immune checkpoint inhibitors (ICIs) and is widely recognized as a biomarker for immunotherapy, with higher TMB values often indicating greater benefit from immunotherapy. We first downloaded quantified TMB data from cBioPortal (Supplementary Table S5) and calculated the correlation between the abundance of different subtypes and TMB. We identified several subtypes with high expression of GPNMB and chemokine-related signatures, as well as Macro_Prolif, which showed significant positive correlations with the TMB. In contrast, subtypes such as Macro_BGN, Macro_ECM, Macro_CX3CR1_C3+, and Macro_VWF exhibited significant negative correlations (Fig. 3e). Therefore, focusing on subtypes with strong TMB correlations is crucial for identifying effective immunotherapy targets. We subsequently analyzed the associations between the inferred abundance of TAMs in the bulk RNA-seq data and patient prognosis across different cancer types. We found that most subtypes often exhibit varying survival outcomes across different cancers. Notably, Macro_GPNMB_VCAN+, Macro_GPNMB_CCL18-, Macro_MT, and Macro_Prolif were associated with a poor prognosis in most cancers, and GBM appeared to be particularly sensitive to changes in macrophage abundance, with prognostic correlations with nearly all subtypes (Fig. 3f).
Pan-cancer spatial distribution characteristics of TAMs
We first calculated the average spatial distances between different cell types based on CellTrek localization results. To mitigate the influence of varying tissue slice sizes, we applied z-score normalization to samples from the same tissue slice. Robust Rank Aggregation (RRA) is an algorithm designed to integrate rankings and generate a consolidated ranking list65. We ranked the average distances between different immune cell types and cancer cells and used the RRA algorithm to integrate these rankings, obtaining a comprehensive ranking for all immune cells. The results revealed that macrophages exhibited the closest spatial proximity to cancer cells, further underscoring their critical role in tumor progression (Fig. 4a, b).
Fig. 4: Pan-cancer spatial distribution characteristics of TAMs.The alternative text for this image may have been generated using AI.
a Heatmap showing the average distance of different cell types to cancer cells on each tissue slice, with columns transformed using z-score; the colors at the top represent the tumor types. b Ranking of immune cells based on their proximity to cancer cells across 79 slices using the RRA algorithm, ordered from closest to farthest. c, d Distribution maps of cell types on tissue slices embedded with TAM subtypes, visualized using CellTrek. e Inference of TAM developmental trajectories at the spatial level using RCTD combined with the Monocle2 algorithm. f Bar plot showing the proportions of different cell types along the developmental time axis. The x-axis represents the developmental time from early to late, and the color shading indicates the proportion of different TAM subtypes at each time point. g Heatmap showing the average distance of different cell types to Macro_FOLR2_C3+ cells on each tissue slice, with columns transformed using z-score. The colors at the top represent the tumor types. h Boxplot showing the average distance of different cell types to Macro_FOLR2_C3+ cells across 79 slices at the pan-cancer level, ordered from closest to farthest. i Circular plot displaying the proportions of cells in the proximal and distal regions relative to the number of TAMs. j Heatmap showing the enrichment of various cell types in the proximal and distal regions of each TAM subtype. Paired t-tests were used to compare the differences in cell proportions between the proximal and distal regions of each TAM subtype. Red indicates enrichment of cell types in the distal region of TAMs, whereas green indicates enrichment in the proximal region. Blue represents no statistical significance (P > 0.05). k Boxplot showing the average distance of different cell types to cancer cells across 79 slices at the pan-cancer level, ordered from closest to farthest.
Next, to determine the spatial distribution characteristics of the TAM subtypes we defined, we annotated the cell subpopulations and integrated this information into the CellTrek object. We observed significant differences in the spatial distribution patterns among the subtypes (Fig. 4c, d), with high-density regions often localized to distinct spatial areas, suggesting that the activation state of TAMs is influenced by their position within the TME. To further explore this, we employed RCTD66 combined with the Monocle263 algorithm to infer the developmental trajectory of TAMs at the spatial level, using one GBM tissue slice as an example. The results demonstrated that cell types and their proportions evolved along the trajectory (Fig. 4e, f), accompanied by the emergence of various biological features, such as hypoxia response (Cluster 8), extracellular matrix remodeling (Cluster 1), and antigen presentation (Cluster 3) (Supplementary Fig. S6a, b). These findings collectively indicate that the functional state and biological activation of TAMs are influenced by their specific spatial context within the TME.
To further quantify spatial relationships, we aimed to define the spatial distances between different subtypes at the pan-cancer level (Fig. 4g). Since most subtypes could not be mapped to all tissue slices, we calculated the average distances across different slices to determine the spatial distances between TAM subtypes and other cell types at the pan-cancer level (Fig. 4h and Supplementary Fig. S7a–o, S8a–o). Notably, most TAM subtypes exhibited relatively small spatial distances from one another. Monocytes and DCs, which share high similarity with macrophages, were also found in close proximity to most subtypes. Additionally, we observed that many immune cells, such as T cells, B cells, and plasma cells, maintained greater spatial distances from TAMs. This spatial separation may contribute to the immunosuppressive microenvironment often associated with TAMs.
To better investigate the microenvironmental characteristics surrounding different TAM subtypes, we defined cells within 100 μm of spatial distance to TAMs on the same tissue slice as “proximal cells”, while the remaining cells were classified as “distal cells” (Fig. 4i). We then calculated the proportions of different cell types among “proximal cells” and “distal cells”. We subsequently used paired t-tests to compare the differences in cell type proportions between the proximal and distal regions around macrophages at the pan-cancer level (Fig. 4j). As expected, most TAM subtypes were enriched with other TAM subtypes in their proximal regions. Additionally, we found that most anti-tumor immune cell populations exhibited pronounced spatial exclusion from TAM subtypes. Beyond these general patterns, we also identified several unique spatial relationships. For instance, Macro_ECM, Macro_VWF, and Macro_BGN were enriched with fibroblasts, suggesting that these subtypes may represent intermediate states in the differentiation of macrophages into CAFs. Finally, we identified a group of subtypes surrounded by a high density of cancer cells (Fig. 4k), including Macro_APO+, Macro_FABP4, and Macro_GPNMB_VCAN+. These findings further suggest that these subtypes may exhibit strong physical interactions with cancer cells.
TAMs promote CD8+ T-cell activation and represent potential key targets for tumor immunotherapy
One of the critical features of macrophages in the TME is their involvement in immune processes (Fig. 1j, k), while CD8+ T cells play a pivotal role in anti-tumor immunity67,68,69. However, the mechanisms underlying the interactions between TAMs and CD8+ T cells remain elusive. We identified two main subtypes of TAMs that significantly co-occurred with CD8+ T cells (Fig. 3d): the FOLR2+ Macro subtypes (Macro_FOLR2_C3+ and Macro_SELENOP_FOLR2+), which are characterized by high expression of FOLR2, and the IFN+ Macro subtypes (Macro_GPNMB_CXCL9+, Macro_IFN_CXCL9+, Macro_IFN_IFI27+, and Macro_IFN_ISG15+), which highly express chemokine-related genes. Notably, these two subtypes are widely present across most tissue types (Fig. 2c, d). To elucidate the interactions between these TAM subtypes and CD8+ T cells in detail, we integrated T cells from all the samples and defined the CD8+ T-cell subtypes (Fig. 5a and Supplementary Fig. S9a, b). We found that CD8+ T-cell subtypes accounted for a significant proportion of all cancer types (Fig. 5b), further underscoring their critical role in tumor immunity.
Fig. 5: TAMs promote CD8+ T-cell activation and represent potential key targets for tumor immunotherapy.The alternative text for this image may have been generated using AI.
a UMAP plot showing the integration results of T cells across different cancer types. b Bar plot displaying the proportions of different T-cell subtypes in various cancer types. c Left: heatmap showing the activity scores of different ligands, sorted in descending order. Middle: bubble plot showing the expression levels of different ligands in IFN+ Macro subtypes. Right: Heatmap showing the interaction strength between ligands and receptors. d Heatmap displaying the correlation between receptors and ligands involved in TAM-CD8+ T-cell interactions and the abundance of CD8+ T cells (*P < 0.05, **P < 0.01, ***P < 0.001). e Heatmap showing the correlation between different TAM subtypes and mutation-associated neoantigen (MANA) scores (*P < 0.05, **P < 0.01, ***P < 0.001). f Bubble plot displaying the expression of immune checkpoint genes in major TAM subtypes. g Kaplan‒Meier curves showing the prognostic value of three TAM subtypes in immunotherapy cohorts, with P values calculated using the log-rank test. h Distribution of cancer cells inferred using CellTrek. i Distribution of four subtypes with high expression of chemokines inferred using CellTrek; the red dashed area represents the primary distribution region of cancer cells annotated based on Fig. 5h. j Spatial slice showing the scoring map of inflammatory pathways. k Correlations between CD8+ T cells and NLRP3 expression in normal or adjacent tissues and tumor tissues.
FOLR2+ Macro subtypes have been reported to co-localize with CD8+ T cells, effectively activating CD8+ T cells, and are associated with favorable patient outcomes in multiple cancers38,42,43. Compared with their negative correlation in normal tissues (Fig. 3c), the co-occurrence of the FOLR2+ Macro subtypes with CD8+ T cells was more significant in tumor tissues (Fig. 3d), suggesting stronger interactions between these subtypes and CD8+ T cells within the TME. Functional enrichment analysis further confirmed that the FOLR2+ Macro subtypes were involved in antigen presentation and the activation and regulation of T cells (Supplementary Fig. S9c, d). Prognostic analysis revealed that a high abundance of both FOLR2+ Macro and CD8+ T cells was significantly associated with favorable outcomes in multiple cancers (Supplementary Fig. S9e). Additionally, FOLR2+ Macro subtypes co-occurred with B cells and DCs in tumor samples (Fig. 3d), which is consistent with previous reports38. Therefore, FOLR2+ Macro subtypes may possess strong anti-tumor immune potential.
To identify key regulatory factors mediating the interactions between the IFN+ Macro and CD8+ T-cell subtypes, we employed the NicheNet software package to investigate the underlying mechanisms of these cellular interactions70. We observed that CD8+ T cells exhibit high activity in response to a series of chemokines expressed by the IFN+ Macro subtype, including CXCL9, CXCL10, CXCL11, CXCL16, CCL8, and CCL4L2. These ligands bind to the receptors CCR551,71,72 and CXCR373,74 expressed on CD8+ T cells (Fig. 5c). These findings suggest that the IFN+ Macro subtype plays a role in recruiting CD8+ T cells. To further validate this, we performed correlation analysis using bulk RNA-seq datasets and found strong positive correlations between the expression levels of these ligands and receptors and the abundance of CD8+ T cells (Fig. 5d).
The interaction between TAMs and CD8+ T cells can influence the response to ICIs in tumor therapy. We aimed to further explore the relationship between TAMs and the tumor immunotherapy response. We integrated immunotherapy data from 1229 cases across 10 cancer types, along with corresponding expression profiles and clinical data (Supplementary Table S10). We observed that for most malignancies, the proportion of immunotherapy responders did not exceed 50%, indicating the limited efficacy of immunotherapy (Supplementary Fig. S9f, g). First, we calculated the abundance of TAM subtypes in immunotherapy-treated samples using the ssGSEA algorithm based on their signature genes. Interestingly, we found that three IFN+ Macro subtypes (Macro_IFN_CXCL9+, Macro_IFN_IFI27+, and Macro_IFN_ISG15+) were enriched in immunotherapy responders (Supplementary Fig. S9h). Concurrently, we identified two subtypes (Macro_ECM and Macro_BGN) that were most enriched in non-responders (Supplementary Fig. S9h). The mutation-associated neoantigen (MANA) scores were used to evaluate changes in the transcriptional programs of T cells stimulated by cancer-associated neoantigens (Supplementary Table S11)75. We selected the four TAM subtypes most enriched in responders and non-responders and performed correlation analysis (P-value < 0.001), revealing that Macro_IFN_CXCL9+ and Macro_IFN_ISG15+, which were enriched in responders, were positively correlated with MANA scores, whereas Macro_ECM and Macro_BGN were negatively correlated with MANA scores (Fig. 5e). These analyses suggest that IFN+ Macro subtypes may increase the sensitivity of the TME to ICI therapy. The results of previous correlation analyses with the TMB revealed similar conclusions (Fig. 3e). To assess the potential clinical relevance of these findings, we investigated whether these subtypes express known immune checkpoints. We found that several key immune checkpoints (e.g., CD274, CD80, and PDCD1LG2)76 were most highly expressed in Macro_IFN_CXCL9+ and Macro_IFN_ISG15+ cells, followed by Macro_IFN_IFI27+ and Macro_GPNMB_CXCL9+ cells (Fig. 5f). Additionally, survival analysis indicated that a high abundance of three of these subtypes was associated with a favorable prognosis in immunotherapy-treated patients (Fig. 5g).
However, unexpectedly, in some ST data with high IFN+ Macro abundance, we observed that CD8+ T cells were recruited to the periphery of cancer cells rather than infiltrating the tumor core, suggesting that the tumor-killing capacity of CD8+ T cells was limited in these samples (Fig. 5h, i). It has been demonstrated in liver cancer that TAMs expressing high levels of CXCL9 and CXCL10 can recruit and retain CD8+ T-cell-derived reactive cytotoxic T lymphocytes (CTLs), thereby promoting the formation of an immunosuppressive environment within tumors77. Further analysis revealed elevated inflammatory levels around CD8+ T cells and these chemokine-high subtypes (Fig. 5j). Through a pan-cancer correlation analysis (Fig. 5k and Supplementary Fig. S10a, b), we found that compared with that in adjacent normal tissues, the infiltration level of CD8+ T cells in tumor tissues was positively correlated with the expression of the inflammasome (NLRP3), the activation of which has been shown to promote further cancer progression78.
TAMs localized in the tumor core participate in angiogenesis and metabolic reprogramming
We focused on potential interactions between TAMs and malignant cancer cells. Using CellChat software, we inferred the interaction axes between them and identified two universally present axes: MIF-(CD74 + CXCR4/CD44) and MDK-(NCL/LRP1) (Fig. 6a). MDK has been reported to activate immunosuppressive macrophages in gallbladder cancer79, whereas MIF is widely involved in the regulation of macrophage functions80,81. Our data revealed that both MDK and MIF were highly expressed specifically in cancer cells, whereas their corresponding receptors were broadly expressed across most TAM subtypes (Fig. 6b). MDK and MIF have been implicated in M2 macrophage polarization in metastatic models of non-small cell lung cancer82 and gastric cancer models83, respectively. We sought to further investigate their polarization potential at the pan-cancer level. Using M2 signature genes collected from the literature, we inferred M2 scores for bulk RNA-seq samples using the ssGSEA algorithm (Supplementary Table S7) and calculated the correlations between MDK, MIF, their corresponding receptors, and M2 scores (Fig. 6c and Supplementary Fig. S11a). The analysis revealed strong positive correlations between these factors and M2 polarization in most cancers. Additionally, MDK and MIF were significantly overexpressed in tumor samples at the pan-cancer level (Fig. 6d and Supplementary Fig. S11b), suggesting that targeting these genes to inhibit the M2 polarization of TAMs could be a feasible strategy for tumor therapy.
Fig. 6: TAMs localized in the tumor core participate in angiogenesis and metabolic reprogramming.The alternative text for this image may have been generated using AI.
a Bubble plot showing the interactions between cancer cells and TAMs, along with ligand-receptor pairs. b Bubble plot showing the expression of MDK, MIF, and their corresponding receptors in TAMs. c Heatmap displaying the correlation analysis between the key ligands MIF and MDK, their receptors, and the M2 scores of the samples (*P < 0.05, **P < 0.01, ***P < 0.001). d Boxplot showing the differential expression of MDK at the pan-cancer level (*P < 0.05, **P < 0.01, ***P < 0.001). e Dot plot showing the interaction strength between different TAM subtypes and cancer cells, with the thickness of the connecting lines representing the strength of the interactions. f CellTrek visualization showing the spatial distribution of Macro_GPNMB_VCAN+, Macro_INFI_IL1B+, and cancer cells in tissue slices; the purple dashed area represents the primary distribution region of Macro_GPNMB_VCAN+ and Macro_INFI_IL1B+ cells. g Spatial distribution maps of hypoxia pathways in tissue slices. h Bubble plot displaying the expression of signature genes in Macro_GPNMB_VCAN+, Macro_INFI_IL1B+ and cancer cells. i SCPA analysis of metabolic pathways in Macro_GPNMB_VCAN+ cells. j Correlations between IL1B and NLRP3 expression. k, l Spatial distribution maps of the angiogenesis- and glycolysis-related pathways in tissue slices. m Bubble plot showing the interactions between TAMs and cancer cells, along with ligand-receptor pairs. n Annotation of tumor necrosis regions in breast cancer slices from an external dataset; the purple dashed area represents the tumor necrosis region. o, p Spatial scores of Macro_GPNMB_VCAN+ and Macro_INFI_IL1B+ cells in an external dataset.
The functional relationship between TAMs and cancer cells was also a focus of our study. We found that Macro_GPNMB_VCAN+ cells exhibited the most significant interactions with cancer cells (Fig. 6e), followed by inflammatory subtypes, particularly Macro_INFI_IL1B+ cells, which displayed the most representative features (Supplementary Fig. S4e). These two subtypes also showed spatial proximity (Supplementary Figs. S7k and S8e) and were associated with hypoxia-related features (Supplementary Fig. S4e). ST data confirmed their localization in hypoxic regions of tumors (Fig. 6f, g). The core regions of tumors are often characterized by hypoxia and angiogenesis84,85,86, suggesting that these subtypes may directly contribute to tumor progression. Additionally, the hypoxic microenvironment functionally suppresses the cell cycle and oxidative phosphorylation and is associated with the inhibition of T-cell immune activity and drug resistance15. Macro_GPNMB_VCAN+ cells were surrounded by a high density of cancer cells (Fig. 4k). In addition to hypoxia-related features, the signature genes of this subtype (e.g., PDK1, LDHA, ERO1A, ADM, ALDOA, and HK2) are associated with glycolysis and lactate production pathways (Fig. 6h; Supplementary Fig. S11c). SCPA analysis87 confirmed that glycolysis was the most prominent metabolic pathway, indicating that TAMs in the tumor core may support cancer cells by promoting metabolic reprogramming to meet their energy demands (Fig. 6i). In contrast, Macro_INFI_IL1B+ cells, in addition to the inflammatory signature genes, highly express angiogenesis-related genes such as THBS1, AREG, and EREG (Fig. 6h). Enrichment analysis further revealed that Macro_INFI_IL1B+ cells can recruit neutrophils (Supplementary Fig. S11d). Since IL1B is a known key factor in neutrophil recruitment, cell communication analysis confirmed that it recruits and activates neutrophils through the IL1B-IL1R2 and CXCL8-CXCR2 interaction axes88,89,90,91 (Supplementary Fig. S11e, f). Moreover, correlation analysis indicated that IL1B has the potential to activate NLRP3 (Fig. 6j; Supplementary Fig. S11g). Thus, Macro_INFI_IL1B+ cells may also promote tumor angiogenesis by recruiting neutrophils. At the spatial level, regions enriched with these two subtypes exhibited high concentrations of features related to angiogenesis and glycolysis (Fig. 6k, l). Cell communication analysis revealed that Macro_GPNMB_VCAN+ cells primarily interact via the SPP1/LGALS9-CD44 axis92,93,94,95, whereas Macro_INFI_IL1B+ cells interact through the EREG-(EGFR + ERBB2) and AREG-(EGFR + ERBB2) axes, which are closely associated with tumor invasion and metastasis (Fig. 6m). Finally, we also observed necrotic features in the regions enriched with these two subtypes (Supplementary Fig. S11h), which was further validated in an external dataset (Fig. 6n–p), suggesting their association with rapid tumor growth.
The results of the above analyses highlight the close relationship between TAMs and tumor metabolism. A growing body of research has reported the critical role of metabolic reprogramming in TAM-mediated tumor progression, particularly in inflammatory or hypoxic environments96,97,98,99,100,101. To extend metabolic characteristics to the entire cell population and infer general patterns linking TAMs to metabolic reprogramming, we performed scMetabolism analysis102 and identified various metabolic reprogramming mechanisms associated with tumor growth across different TAM subtypes. TAMs enriched in the tumor periphery or adjacent regions, including Macro_APO+, Macro_FABP4, Macro_Prolif, Macro_GPNMB_VCAN+, Macro_GPNMB_CCL8-, and Macro_GPNMB_APOC1+ cells, appear to exhibit increased activity in metabolic pathways (Fig. 4j, k). These subtypes are associated with multiple pro-tumor metabolic pathways, such as glycolysis, the citrate cycle (TCA cycle)103,104, the pentose phosphate pathway105, pyruvate metabolism106, fatty acid biosynthesis107, glutathione metabolism108, and glycine, serine109, and threonine metabolism110 (Supplementary Fig. S12). Therefore, targeting TAM metabolic reprogramming represents a promising strategy for tumor therapy.
Complex regulatory networks between TAMs and CAFs create a favorable microenvironment for tumor survival and metastasis
CAFs are among the most critical and abundant stromal cells within the TME and play pivotal roles in processes such as angiogenesis, extracellular matrix remodeling, and immune evasion1,111,112, making them a subject of significant research interest. Through cell‒cell interaction analysis, we detected strong interactions between TAMs and CAFs (Figs. 1i, 7a–c and Supplementary Fig. S13, S14a). Therefore, delving into the mechanism underlying the interactions between TAMs and CAFs is particularly important.
Fig. 7: Complex regulatory networks between TAMs and CAFs create a favorable microenvironment for tumor survival and metastasis.The alternative text for this image may have been generated using AI.
a–c Boxplots showing the interaction strength between different TAM subtypes and various components of the TME. d UMAP plot showing the integration results of fibroblasts across different cancer types. e Heatmap depicting the fibroblast subtypes present across different cancer types. f Bubble plot illustrating the relative proportions of different fibroblast subtypes across cancer types, with both bubble size and color encoding the magnitude of the proportion. g Heatmap showing the preference of different fibroblast subtypes in tumor tissues, where values greater than 1 indicate significant tissue preference. h Bubble plot displaying the expression of macrophage signature genes in different fibroblast subtypes. i Bubble plot showing the interaction relationships between CAFs and TAMs, along with ligand-receptor pairs. j Bubble plot showing the expression of key receptors and ligands in CAFs based on CellChat analysis. k Heatmap showing the correlation between CAF abundance and the M2 score (*P < 0.05, **P < 0.01, ***P < 0.001). l Bubble plot showing the expression of key receptors and ligands in CAFs based on CellChat analysis. m Heatmap showing the correlation between the abundance of the ligand C3AR1 and that of Fib_KIF26B cells (*P < 0.05, **P < 0.01, ***P < 0.001). n Dot plot showing the distance between four key TAM subtypes and cancer cells, as well as the average expression of C3AR1 in these subtypes. o Bubble plot showing the interaction relationships between TAMs and CAFs, along with ligand-receptor pairs. p Heatmap showing the correlation between SPP1 expression and CAF abundance (*P < 0.05, **P < 0.01, ***P < 0.001). q Kaplan‒Meier curves showing the association between the co-expression of SPP1 and POSTN and prognosis, with P values calculated using the log-rank test. r Top: co-expression of SPP1 and integrin receptors (ITGB1/ITGB5/ITGAV/ITGA5) on spatial slices. Middle: spatial distribution of key TAMs, CAFs, and CD8+ T cells visualized using CellTrek. Bottom: spatial distribution of cancer cells and T cells and expression of SPP1 on spatial slices visualized using CellTrek. s Correlation between SPP1 and C3AR1 expression.
Currently, the classification of fibroblast subtypes at the single-cell level has begun to take shape34,113,114. We integrated fibroblasts from all the samples and performed reclustering. Using a similar analytical approach, we defined a total of 22 subtypes. In accordance with the methodology used for macrophages, we categorized these subtypes into pan-cancer subtypes, shared subtypes, and tissue-specific subtypes based on their prevalence across different tissue types (Fig. 7d–f and Supplementary Fig. S14b–e). Additionally, drawing on definitions from previous literature34, we identified subtypes enriched in tumor tissues as CAFs (Fig. 7g). In subsequent analyses, we focused on the critical roles of these CAFs.
Interestingly, we identified a CAF subtype, Fib_CD74, characterized by high expression of monocyte/macrophage-specific markers (e.g., CD68, CD14, and CD163) (Fig. 7h). This subtype has been previously reported in the literature as an antigen-presenting CAF subtype34 (Supplementary Fig. S14f). Stromal cells such as tissue-resident fibroblasts, endothelial cells, and pericytes are major sources of CAFs. However, numerous studies have also suggested that macrophages can serve as important sources of CAFs, with their transformation playing a regulatory role in pathological processes such as renal fibrosis115 and myocardial infarction healing116. Within our TAM population, we identified subtypes (Macro_BGN, Macro_ECM, and Macro_VWF) that highly expressed genes involved in extracellular matrix remodeling and were spatially enriched around fibroblasts (Fig. 4j and Supplementary Fig. S7c, e, S8o). Previous analyses and reports have linked these subtypes to resistance to ICI therapy (Supplementary Fig. S9h). We hypothesized that these three TAM subtypes and Fib_CD74 represent transitional states on a developmental continuum. To test this hypothesis, we performed pseudotime trajectory analysis. The results revealed that, except for Macro_BGN, Macro_ECM, Macro_VWF and Fib_CD74 span the entire developmental axis from macrophages to CAFs, with a particular concentration in the transitional region (Supplementary Fig. S14g–i). Further enrichment analysis indicated that the transitional region involves the activation of pathways such as TNFα signaling via NF-κB, KRAS, TGFβ, EMT, MYC, and angiogenesis (Supplementary Fig. S14j), suggesting that this transformation process may also be linked to cancer progression.
To comprehensively characterize the cellular communication between different TAM subtypes and CAFs, we integrated various CAF subtypes and performed cell-cell interaction analysis using CellChat software. We first focused on the regulatory effects of CAFs on TAMs and observed that the MIF-(CD74 + CXCR4/CD44) and MDK-(NCL/LRP1) signaling axes were prominently involved in these regulatory interactions (Fig. 7i). As shown above, we found that cancer cells could regulate M2 macrophage polarization through these two axes (Fig. 6). Further analysis revealed that MDK and MIF were specifically highly expressed in Fib_ISG15 and Fib_POSTN cells (Fig. 7j), and the abundance of these two subtypes was significantly positively correlated with the M2 score of macrophages at the pan-cancer level (Fig. 7k). We identified these subtypes as highly similar to myofibroblasts (Supplementary Fig. S14f), suggesting that myofibroblasts are also a significant source of MIF and MDK and play a role in regulating macrophage polarization. Additionally, we found that CAFs promoted TAM survival and polarization through the GAS6-MERTK/AXL interaction axis (Fig. 7i), with the MERTK and AXL receptor families, which are highly expressed on TAMs, being considered promising therapeutic targets117. We also focused on another widely observed interaction axis, C3-C3AR1. Recently, the non-canonical functions of complement C3, primarily mediated through its homologous membrane-bound receptor C3AR1, have been confirmed (Supplementary Fig. S15a)118. C3 is predominantly expressed in Fib_KCNIP1 and Fib_KIF26B cells, with Fib_KIF26B cells accounting for a significant proportion of fibroblasts (Fig. 7f; Supplementary Fig. S14e). In contrast, C3AR1 is consistently expressed in a subset of TAMs that exhibit tissue-resident macrophage characteristics (Fig. 7l). Correlation analysis demonstrated that the Fib_KIF26B subtype was strongly associated with four macrophage subtypes: Macro_CX3CR1_C3+, Macro_HSPA1A, Macro_INFI_CCL4+, and Macro_LYVE1_C3+ (Fig. 7m). Notably, these four subtypes were highly enriched in adjacent normal or healthy tissues (Fig. 2e). Spatial analysis further confirmed that the expression of C3AR1 was negatively correlated with the distance of these cells from cancer cells (Fig. 7n). These findings suggest that Fib_KIF26B may recruit macrophages from normal tissues to tumor-adjacent regions through the C3-C3AR1 axis.
In our subsequent investigation of the TAM-mediated regulation of CAFs, we identified the SPP1-CD44 and SPP1-(ITGAV/ITGA5/ITGB1/ITGB5) axes as the most prominent interaction pathways (Fig. 7o). In our dataset, we observed that SPP1 is widely expressed across multiple TAM subtypes (Fig. 7l), indicating that the broad cellular sources of SPP1-CD44, a key molecule in fibroblast activation, can also increase CXCL12 expression through ERK phosphorylation119,120. The CXCL12-CXCR4 interaction axis has been shown to promote the survival and lymphatic metastasis of malignant epithelial cells, as demonstrated in oral cancer121. Additionally, a previous pan-cancer study revealed that TAMs and CAFs can promote intratumoral angiogenesis through the SPP1-CD44 interaction34.
We further conducted correlation analysis, which revealed that the expression of SPP1 was most strongly correlated with the Fib_ISG15 and Fib_POSTN subtypes (Fig. 7p). Both Fib_ISG15 and Fib_POSTN co-expressed the characteristic gene POSTN (Fig. 7j). POSTN, a key marker of CAFs, has been reported to be involved in epithelial cell adhesion and migration, as well as the maintenance and metastasis of cancer stem cells122,123,124. Prognostic analysis confirmed that the co-high expression of SPP1 and POSTN is associated with poor patient outcomes across multiple cancer types, suggesting that the interaction between SPP1 and Fib_ISG15/Fib_POSTN cells may serve as a critical marker for tumor progression (Fig. 7q and Supplementary Fig. S16). The receptors of SPP1 (ITGAV, ITGA5, ITGB1, and ITGB5) are members of the integrin family and are known for their roles in promoting stromal cell adhesion and migration. Therefore, we hypothesized that SPP1 secreted by TAMs enhances the adhesion of myofibroblasts around tumors, thereby facilitating tumor invasion and metastasis. This hypothesis was supported by spatial transcriptomic data, which revealed that SPP1 and integrin family receptors were co-expressed in tumor regions, whereas Fib_ISG15 and Fib_POSTN myofibroblasts were clustered around cancer cells (Fig. 7r). CD8+ T cells were found to be sequestered around myofibroblasts, limiting their infiltration into the tumor core, which may contribute to the formation of an immunosuppressive tumor microenvironment. In previous studies, SPP1 was confirmed to induce fibroblast activation and proliferation by binding to ITGAV and ITGB1113. Surprisingly, C3AR1, which was identified in previous analyses, appeared to increase SPP1 expression, with a strong positive correlation across multiple cancer types (Fig. 7s and Supplementary Fig. S15b). Further analysis revealed that Fib_KIF26B, a CAF subtype highly expressing C3 (the ligand of C3AR1), also showed a significant positive correlation with SPP1 levels (Fig. 7r). We speculate that, in addition to recruiting macrophages from normal tissues, Fib_KIF26B cells may also increase the expression of SPP1 in TAMs. The results of the above comprehensive analysis highlight the critical regulatory role of SPP1, an important secretory protein of TAMs, in CAFs. These interactions create favorable conditions for further tumor progression.

