Summary
Tumor microenvironments (TMEs) are compositionally and functionally heterogeneous, making it challenging to discover organizing structural principles. Through a study of 262 solid tumors profiled by spatial transcriptomics, we identify a conserved architecture where TMEs are partitioned into discrete, hierarchically organized multicellular sub-regions, which we term “spatial groups” (SGs). As indicated by orthogonal spatial measurements and expert pathologist review, SGs associate with recognizable biological domains spanning global tissue context to local cellular neighborhoods. Comparing tumors through SGs reveals a pan-tumor classification where the dominant axis of variation is spatial heterogeneity of immune biology. In an independent, retrospective cohort of non-small cell lung cancer patients treated with immune checkpoint blockade (ICB; n = 16), pan-tumor spatial biology classification distinguishes clinical response and captures structural and biological hallmarks associated with ICB sensitivity. Together, these findings suggest that SGs may be important organizing domains of the TME that relate spatial structure, biological function, and response to therapy.
Keywords: tumor microenvironment, immunotherapy, spatial transcriptomics, systems biology, machine learning, computational biology
Graphical abstract

Highlights
-
•
Pan-tumor spatial transcriptomics reveals conserved TME organization
-
•
Spatial groups reflect hierarchically organized spatial biology domains
-
•
Spatial immune organization is the primary axis distinguishing pan-tumor TME state
-
•
NSCLC immunotherapy outcomes stratify by immune “spatial group” classification
Behera et al. characterize spatial biology patterns across 262 solid tumors and 18 tumor types, using spatial transcriptomics and multiplexed immunofluorescence. They find pan-tumor, hierarchically organized “spatial groups” that align with coordinated immunological programs and with outcomes after immune checkpoint blockade therapy in a separate cohort of lung cancer patients.
Introduction
The tumor microenvironment (TME) is a complex milieu of interacting cells, proteins, and other biological components that influences critical properties of tumor biology such as growth, metastasis, and response to therapy.1,2 Biological variation within the TME reflects clinically relevant differences across genetic, pathway, cellular, and tissue-level scales.3,4 For instance, recent studies have demonstrated prognostic and predictive power of TME biomarkers, such as tumor infiltrating lymphocyte (TIL) score in melanoma and “immunoscore”—the spatial balance of CD3+ and CD8+ T cell density—in colorectal cancer.5,6,7,8,9 Such findings have motivated studying the TME with technologies that couple cellular information about RNA or protein levels with cellular spatial locations.10 Spatial molecular profiling studies in a variety of tumor types have revealed a common theme: substantial intratumoral and intertumoral heterogeneities make elucidating organizing principles of the TME very challenging.11 By extension, the clinical utility of TME spatial profiling has been limited.
Recent efforts have outlined a strategy for learning conserved and translationally relevant aspects of TME spatial biology. These studies have demonstrated recurrent multicellular spatial structures associated with tumor biology and with cancer prognosis.12,13,14,15,16,17,18 Obtaining these insights relied on technologies that query tens of proteins to identify phenotypes such as cell type and limited functional states, yet their reliance on limited pre-selected markers may preclude uncovering general principles of TME spatial organization. Spatial transcriptomics (“ST-seq”) enables an unbiased assessment of TME spatial biology. However, the complexity of such data has hindered moving beyond description into elucidating spatial biology principles.19,20
Advances in statistical inference developed in other fields—protein science, genomics, and microbiome—provide frameworks for addressing this challenge. For instance, studies of amino acid covariation within related proteins have demonstrated protein “sectors”—amino acid groups critical for engineering functional proteins.21,22,23,24 Similarly, covariation analysis of genomic content across kingdoms of life has revealed collective protein-protein interactions critical for organismal fitness.25,26,27,28 At the scale of microbiomes, covariation between bacterial taxa across individuals has yielded “ecogroups”—groups of taxa of functional and clinical significance amongst humans.29,30,31 These studies have established a strategy for studying complex biological systems: first identify an ensemble of systems, and then statistically deduce conserved features across the ensemble critical for system function.
Inspired by such studies, we hypothesized that the analysis of ST-seq data across a diverse ensemble of solid tumors— a “pan-tumor” database—may reveal conserved patterns of TME spatial biology in an unbiased manner. Here, we developed a statistical formalism called TumorSPACE, a method that detects the covariation structure amongst cells or ST-seq “spots” (cell collections) based on measured gene expression. Employing TumorSPACE across 262 solid tumors profiled by ST-seq revealed conserved, hierarchically structured, and transcriptionally covarying TME regions that we term “spatial groups” (SGs). We found SGs to be context-embedded TME spatial domains that enabled comparative spatial transcriptomics (ST-seq) and construction of a pan-tumor model of TME spatial biology. The dominant axis of spatial variation across TMEs was related to immune biology, and classification by our pan-tumor spatial biology model in an independent cohort of non-small cell lung cancer (NSCLC) patients stratified responses to immune checkpoint blockade (ICB) therapy.
Overall, our work motivates describing the TME by hierarchically structured units, SG, thus enabling comparisons of multiscale spatial organization between tumors.
Results
SGs define a conserved architecture of TME spatial biology
To identify general principles of TME organization, we assembled a multimodal database of 262 tumors spanning 18 tumor types (Figure S1A; Table S1). All tumors were profiled by ST-seq (10× Visium platform). Paired hematoxylin and eosin (H&E)-stained images were annotated by a board-certified pathologist at the University of Chicago, using a classification capturing tumor, adjacent normal tissue, and technical features (Figure S1B; Table S2; STAR Methods). These annotations reflected expected biological and technical variation amongst tumor types, such as enrichment for stroma-rich regions amongst pancreatic and endometrial cancers (Figures S1C–S1E).32,33 For eight tumors, we also performed 51-plex immunofluorescence that enabled higher-resolution characterization of cellular composition and spatial organization (Table S3; STAR Methods). These data were annotated by the same pathologist to define cell types and spatial neighborhoods (Figure S1F; Table S4; STAR Methods). Our goal was to use these data to test whether conserved spatial organizational signatures exist across tumors (Figure 1A).
Figure 1.

A conserved architecture of TME spatial biology
(A) Multimodal database comprising 262 tumors spanning 18 tumor types. All tumors were profiled by spatial transcriptomics (ST-seq) and pathologist annotated; eight tumors were additionally profiled by multiplex immunofluorescence (mIF).
(B) Histogram of correlation values (Pearson’s R) between actual spatial distances for all pairs of spots within a tumor ST-seq dataset and pairwise distances inferred by TumorSPACE. Inset shows inferred spatial distribution of spot locations for the tumor exhibiting the highest Pearson’s R: small cell ovarian cancer sample “P2” (SCOC-P2).
(C) Representation of spatial groups (SGs) in a TumorSPACE map for a specific tumor (SCOC-P2). The TumorSPACE map is a tree structure of spot relationships. Each tree node (colored dots) is a group of spots defined as an SG; colored squares in the bottom are individual spots in the sample. Displayed are examples of non-nested SGs (non-NSGs; left) and nested SGs (NSGs, right); inset displays nesting of the blue SG within its “parent” red SG; scale bars delineate a length of 2 mm.
(D) Comparison of pathologist annotations (left) and SGs (right) aligned in spatial location. Inset (bottom) shows spatial architecture of immune-rich regions (left) and corresponding SGs (right).
(E) Distribution of non-NSGs (gray bars) and NSGs (colored bars) for all tumors in our database. NSGs are partitioned by the degree of nesting (color key). x axis is ordered and labeled by tumor type.
(F) Average degree of nesting grouped by pathologist annotated region (y axis). Error bars: standard error of the mean. ∗Wilcoxon p value < 0.05.
We first asked whether spatial organization within tumors could be inferred from transcriptional data. Prior work has shown that biological processes in the TME can be organized across spatial scales, with some processes embedded within larger domains, while others remain distinct.17,34 We, therefore, sought a framework that could capture hierarchical spatial organization.35,36,37,38,39,40 To this end, we developed TumorSPACE, a method that uses transcriptional covariation to organize spatial transcriptional measurements into a hierarchy (STAR Methods). In this representation, spots with similar gene expression profiles group together into local regions, while broader relationships between spots progressively define larger spatial domains across the tumor. The resulting model is a “TumorSPACE map” (Figure S2A). We applied TumorSPACE to all 262 tumors and then tested whether inferred distances between spots recapitulated their physical distances in the tissue. Across all datasets, inferred organization was significantly more consistent with true spatial distances than expected by chance (q < 0.01) (Figure 1B). Thus, spatial organization in tumors could be recovered from representing transcriptional data as a hierarchy of related regions.
We next examined individual tumors and their TumorSPACE maps. As an example, a small cell ovarian cancer tumor (SCOC-P2) that exhibited strong agreement between inferred and physical spatial relationships showed groups of transcriptionally similar spots corresponding to spatially localized tissue regions (Figure 1B). We call these regions “spatial groups” (SGs) (Figure 1C). Notably, smaller SGs were often physically embedded within larger SGs. We refer to this relationship as spatial nesting, where a “child” region is contained within a broader “parent” region, similar to prior work describing such organizational patterns in specific tumor subsets.17,41 However, some SGs did not lie within larger domains. We, therefore, distinguished these two organizational patterns as “nested SGs” (NSGs) and “non-nested SGs” (non-NSGs) (Figure 1C) (STAR Methods). To determine whether SGs corresponded to the biological structure, we compared SGs with pathologist-defined spatial domains. As an initial case study, we focused on an NSCLC tumor for which ST-seq and multiplex immunofluorescence (mIF) was performed in serial sections, and spatial coordinates between those experiments could be aligned, allowing SGs to be compared to high-resolution pathologist annotations (Figure S2B; STAR Methods). The largest SGs corresponded to tumor-rich, necrosis-rich, and immune-infiltrated areas (Figure 1D, top), while immune-infiltrated SGs further subdivided into smaller regions recapitulating finer spatial structures, including lymphoid-like follicles, tumor-adjacent CD8+ T cell clusters, perivascular niches, and mixed immune infiltrates (Figure 1D, bottom). Together, these results showed, via specific case studies, that SGs recapitulated biologically meaningful hierarchical spatial structures.
For each tumor in our database, we observed that NSGs could be embedded within layers of progressively larger domains. We, therefore, quantified how deeply a given SG resides within this hierarchy (Figure S2C). All tumors contained both non-NSGs and NSGs, with NSGs frequently forming multi-level hierarchies (Figure 1E). We next asked whether hierarchical organization reflected underlying biological features of the tissue. We found that the degree of nesting amongst NSGs was highest in tumor-rich regions and in normal tissues, characterized by highly organized multicellular architecture, and lowest in regions with more homogeneous cellular composition such as inflammation-rich or hemorrhage-rich areas (Figure 1F; Figures S2D–S2F).
Together, these results showed that multiscale organization of pan-tumor spatial biology can be described by hierarchical collections of SGs.
SGs reveal a nested hierarchy of biological domains across tumors
To further interrogate the biological content encoded by SGs, we compared pairs of SGs arising from a common parent by quantifying differences in gene expression, cell type composition, and pathway activity (Figure S3A). Cell type composition within each SG was inferred from ST-seq data, using SpaCET-based deconvolution, and showed broad agreement with pathologist annotations (Figure S3B).42 Pathway activity was assessed by applying enrichment analysis to genes that were differentially expressed between SGs (STAR Methods).
As a case study, we analyzed an NSCLC tumor in which matched mIF data revealed clear spatial separation between two well-characterized biological states: tumor proliferation and tumor immune exhaustion (Figure 2A, left).9 In the corresponding TumorSPACE map, these regions aligned with two SGs—SG13 and SG18—emerging from a common parent—SG12 (Figure 2A, right). SG13, the proliferative region, was enriched for malignant cells, B cells, and multiple conventional dendritic cell subtypes. In contrast, SG18, the immune-exhausted region, was enriched for endothelial cells, macrophages, plasmacytoid dendritic cells, and cancer-associated fibroblasts (Figure 2B). These cell composition differences were directly observed in mIF data (Figure S3C). At the pathway level, SG13 was enriched for processes associated with proliferation including cell cycle, RNA processing, and membrane trafficking. In contrast, SG18 was enriched for signaling pathways such as RTK, GPCR, and cytokine signaling, as well as innate immune processes, consistent with immune exhaustion (Figure 2C).43
Figure 2.

A model of TME spatial organization linking spatial scale with biological function
(A) Tumor sub-region identification by multiplexed immunofluorescence (left) or the TumorSPACE map (right) for a representative NSCLC tumor. Fluorescence image shows DAPI (blue), proliferative tumor cells (cyan), and immune-exhausted tumor cells (red). TumorSPACE map shows spatial positions of spots colored by SG membership and hierarchical relationship of SG12 with SG13 and SG18. The root of the TumorSPACE map is “SG1.” Scale bars delineate a length of 2 mm.
(B) Differential cell type abundance—log10-transformed ratio of mean abundance (x axis) and log10-transformed p value (y axis) —between SG13 and SG18 based on SpaCET deconvolution. Each point is a cell type.
(C) Number of differentially enriched Reactome pathways between SG13 and SG18 (x axis, color key), grouped by pathway category (y axis).
(D) (Top) Workflow for evaluating if a differentially abundant biological process within a parent SG influences a child SG biological process. (Middle, bottom) Mean odds ratio (y axis, absolute value, log2 transformed) of parent processes versus physical scale of the parent SG (mm) where the child SG is nested or non-nested (middle), nested only (bottom left), or non-nested only (bottom right). Pearson’s correlation (R) and p values are shown.
(E) TME spatial biology is described by the organization of non-nested and nested spatial groups. Nested spatial groups encode large-scale processes that influence small-scale processes.
As a comparison to SG-based descriptions of spatial heterogeneity, we evaluated Moran’s I, a gene-level statistic that quantifies spatial autocorrelation in gene expression. Unlike TumorSPACE, which identifies spatially heterogeneous domains (i.e., SGs), Moran’s I provides a measure of spatial heterogeneity within user-specified regions but does not identify regions of interest. However, given that both approaches can quantify spatial heterogeneity, we used the example in Figure 2C as a case study to ask whether they yielded consistent interpretations of tumor organization. Computing Moran’s I across genes associated with pathways distinguishing these SGs revealed that SG13 exhibited consistently lower spatial heterogeneity than SG18 (Figure S3D). These results are concordant with the TumorSPACE-derived decomposition: both approaches identified SG13 and SG18 as distinct regions within the parent domain that differ in their spatial organization of gene expression. This comparison also provided insight into the hierarchical structure inferred by TumorSPACE: Moran’s I independently detected that the subregions SG13 and SG18 differed in their spatial heterogeneity within the broader SG12 domain.
We next asked whether SGs capture generalizable patterns of biological organization across tumors. For each SG, we estimated its physical scale based on mean pairwise distances between its constituent spots (STAR Methods). Distinct biological programs were associated with characteristic SG physical scales. Processes associated with large-scale SGs included, for example, CD4+ and CD8+ T cell abundance. These cell types are excluded from large regions of tumors and were accurately identified as spatially variable, using tools that consider the entire tumor a single domain.44,45 Processes associated with intermediate-scale SGs—signal transduction, cell-cell communication, and chemokine responses—have been found as spatially variable when dividing tumors into “microregions” of dozens of cells.46 Finally, processes associated with the smallest-scale SGs were often related to local tumor-immune interactions and have been detected by tools that focus on the local cell-cell interaction fronts47 (Figure S4A). These findings indicated that SGs captured biological organization spanning multiple spatial scales, from tumor-wide structure to localized microenvironmental niches.
Prior work has suggested that some biological programs are organized hierarchically, with large-scale processes influencing more localized phenomena.17,34,48 To test this, we quantified the dependence between biological programs in parent and child SGs across all tumors (Figure 2D, upper) (STAR Methods). Biological processes associated with larger SGs were predictive of those observed in smaller NSGs, indicating hierarchical organization. In contrast, this relationship was not observed for non-NSGs (Figure 2D, middle and lower).
Together, our findings from Figures 1 and 2 support a model in which the TME is organized as a hierarchy of spatially structured biological processes (Figure 2E). In this model, some spatial domains are embedded within larger ones and reflect biology shaped by their broader context, while others represent spatially independent programs. This hierarchical organization provides a data-driven and conserved link between spatial structure and biological function in tumors, motivating using SGs as a unit of comparison across diverse tumor types.
Classification of TMEs by spatial lability of gene expression
To compare tumors based on their spatial organization, we sought a quantitative representation that preserved spatial heterogeneity. We, therefore, defined gene spatial lability (SLAB), a metric that quantifies the spatial footprint of gene expression differences within a tumor. For each gene, we identified pairs of sibling SGs arising from the same parent SG in which the gene was differentially abundant. To avoid double-counting spatial signal across NSGs, we assigned differential expression to the smaller of the two sibling SGs, corresponding to the most spatially localized change. We then mapped these SGs to their spatial footprint and defined the SLAB score as the fraction of ST-seq spots in which the gene was differentially abundant (Figure 3A) (STAR Methods). Across tumors and genes, SLAB scores were positively correlated with mean expression (Figure S4B). However, SLAB also captured additional modes of variation. As an example, calreticulin (CALR) displayed comparable bulk expression across tumors yet showed large differences in spatial lability (Figure 3A, inset; Figure S4C).
Figure 3.

A spatially aware pan-tumor classification of TMEs
(A) Schematic for the calculation of spatial lability (SLAB) score for a given gene. SGs where the gene is differentially abundant are identified from the TumorSPACE map. The smaller SG is mapped to its corresponding spots. SLAB score is the fraction of ST-seq spots in which the gene is differentially abundant. Inset shows example spatial expression patterns for calreticulin (CALR) across tumors with similar average expression but different SLAB scores. Scale bars delineate a length of 1 mm.
(B) Hierarchical clustering of tumors based on genome-wide SLAB profiles. Each leaf represents a tumor, and spatial class clusters (SC1–SC9) are annotated with the number of tumors from each cancer type.
We next sought to leverage SLAB to compare tumors with one another. To this end, we divided our tumor database into two cohorts: (1) a “pan-tumor cohort” comprising 246 tumor sections across 18 tumor types, and (2) a single-institution retrospective cohort of 16 NSCLC tumors. Unlike the pan-tumor cohort, the NSCLC cohort had paired clinical metadata about disease course and treatment outcomes. We reasoned that this partitioning could test whether a pan-tumor model of SG biology offered insights about clinical outcomes in an out-of-sample collection of tumors. Given that the genome-wide SLAB scores quantitatively represent each tumor, we constructed a matrix where each row corresponded to a tumor within the pan-tumor cohort, each column to a gene, and each entry to the gene-specific SLAB score of a tumor (Figure S4D). Hierarchical clustering of pairwise Euclidean distances between tumors yielded tumor classes based on similarity in genome-wide SLAB profiles. To ensure class robustness, we filtered for groups containing at least five tumors and applied bootstrap resampling to retain only statistically reproducible classes (Figure S4D; STAR Methods).
The resulting classification yielded nine “spatial classes” (SCs): SC1 through SC9, most of which contained tumors spanning diverse anatomical origins (Figure 3B). Only three classes comprised individual tumor types: SC6 and SC7 were composed entirely of gliomas and head and neck squamous cell carcinoma (HNSCC), respectively, while SC8 consisted of gliomas and one sample initially annotated as “normal; peri-tumor” that was later reclassified as glioma upon pathology review. To assess the robustness of SC assignments, we performed several complementary analyses. First, we found that 55% of replicate tumor section pairs were assigned to the same SC despite most pairs originating from non-adjacent tumor sections (Figure S4E). Moreover, using a simulation in which tumors were added incrementally, we found that certain classes (SC1, SC4, and SC9) could be reliably identified with relatively few tumors, whereas others required larger sample sizes (Figure S4F). Finally, we found that across multiple near-optimal TumorSPACE models for individual tumors, SC assignments were highly consistent with nearly all models yielding identical classifications (Figures S4G and S4H).
We next asked the degree to which SC assignments depended on tumor type. To test this, we performed a leave-one-out analysis in which each tumor type was systematically removed. After removal, SCs were recomputed, and held-out tumors were projected into the new classification. Across tumor types, the fraction of tumor types whose class assignment changed ranged from 0% to 14% (Figure S5A). Removal of samples belonging to a tumor type with many samples (e.g., breast cancer) showed larger shifts in SC assignment, whereas tumor types represented by few samples (e.g., melanoma) showed no change (Figures S5B and S5C). Thus, SC designations were not driven by a single tumor type or by sampling bias, but instead reflected structured differences across heterogeneous tumors.
Together, these findings established SCs as robust and largely tumor-type-independent representations of tumor spatial organization. This raised the question of what biological programs underlie these classes.
Biological programs defining SCs
To understand the biology distinguishing SCs, we evaluated differences in SLAB profiles at the branchpoints in our pan-tumor classification (Figure 4A, left) (Table S5). We then applied the overrepresentation analysis (ORA) for pathways to identify biological programs enriched in each branch (Figure 4A, right) (Table S6). Hierarchical clustering of enriched pathways revealed that branchpoints were dominated by few biological axes: adaptive immunity, innate immunity, neurodevelopment, and metabolism (Figure 4B). The three branchpoints highlighting differences in adaptive immunity exhibited the highest differential SLAB in genes related to (1) T cell chromatin remodeling through the NuRD (GATA2DA and MBD2) or SWI/SNF (ARID2) complexes, (2) lymphocyte development (TCF20 and LIF4), or (3) intratumoral T cell function (SNX19 and ZNF671) (Figure 4C, upper left).49,50,51,52,53,54,55 The branchpoint corresponding to innate immunity SLAB variation was notable for largely unstudied genes (MAGEB17, ZNF773, and DERPC) and pathways related to either general immune function (GPCR and cytokine signaling) or innate immunity specifically (Figure 4C, upper right).
Figure 4.

Spatial classes reveal biological axes of tumor spatial biology
(A) Workflow for evaluating gene and pathway SLAB differences at all spatial class branchpoints.
(B) Heatmap showing the fraction of differential SLAB pathways (color key) within a pathway category (columns) for each spatial class branchpoint (rows). Heatmap is hierarchically clustered, revealing four biological categories.
(C) Genes and pathways that significantly vary in SLAB for each biological category in (B).
(D) Pan-tumor classification with branchpoints labeled by spatially labile biology categories from (B) (left). Red line distinguishes spatial classes by spatial lability in immune biology: “immune spatially labile” (ISL) versus “immune spatially invariant” (ISI).
Nested within immune function as the primary axis of SLAB variation was a secondary axis: metabolism. The branchpoint that distinguished SC6, a group compose of only gliomas, from SC5 was notable for variation in carbohydrate metabolism, consistent with reports that carbohydrate metabolic reprogramming is directly linked to spatial organization in these tumors (Figure 4C, bottom right).17,56,57,58,59 The other metabolism-oriented branchpoint distinguished SC7—purely HNSCC cancers—from SC8/9 and highlighted significant variation in lipid metabolism, a key factor in HNSCC tumor growth and therapeutic resistance.60,61
The deepest axis of SLAB variation that we identified was in neurodevelopmental biology. This axis was identifiable only in the branchpoint distinguishing SC8 (purely gliomas) from SC9 and was defined by neuron-restricted genes such as TRIM9 and ATCAY (Figure 4C, bottom left).62,63
Together, our results demonstrated a hierarchy of biological axes that describe variation in tumor spatial organization (Figure 4D, left). Immune function was the dominant axis, consistent with other reports of tumor immune biology having consistent effects on spatial organization across tumor types.20 Based on this result, we defined SC1–SC4 as “immune spatially labile” (ISL) and SC5–SC9 as “immune spatially invariant” (ISI) (Figure 4D, right). We hypothesized that stratifying tumors by these categories might correlate with therapeutic response to ICB. We, therefore, turned to our NSCLC cohort for which we had retrospective clinical data on response to ICB-containing treatment regimens.
Relating our classification of TMEs with therapeutic response to ICB
Despite substantial improvements in overall survival with the use of ICB in the metastatic NSCLC frontline setting, 5-year overall survival remains quite poor, at 19%.64 Moreover, the only clinically approved biomarker of response to ICB therapy—PD-L1 immunohistochemistry (IHC)—is weakly predictive of outcomes, prompting ongoing studies on whether gene expression or cell type abundance biomarkers might be more predictive of such outcomes.4,64,65,66
Patients were selected to be in our NSCLC cohort based on having received frontline ICB immunotherapy with or without chemotherapy (STAR Methods).
For each pre-treatment biopsy sample, we computed genome-wide SLAB profiles and categorized them by their immune spatial lability as per the pan-tumor classification scheme (Figure 4D; STAR Methods). We then compared progression-free survival (PFS) amongst classification by immune spatial lability (ISL versus ISI) or PD-L1 IHC (Figure 5A). In doing so, our strategy evaluated whether the pan-tumor classification could distinguish ICB-related outcomes in the NSCLC cohort. No information from the NSCLC cohort was used to develop the pan-tumor definitions of ISL and ISI. This study was designed as proof of principle that such a biomarker might correspond to outcomes following ICB-containing therapy.67 Two possible variables were identified that could confound an association with ICB response: ICB regimen choice and presence of the somatic mutation KRAS G12C, which is targetable in the second line (Figures S6A and S6B). Univariate analysis found that neither variable was associated with PFS in our study (Figure S6C).
Figure 5.

Pan-tumor classification distinguishes responders to immune checkpoint blockade in NSCLC
(A) Workflow for evaluating progression-free survival (PFS) using PD-L1 immunohistochemistry or spatial lability classification in our retrospective cohort of patients with metastatic NSCLC receiving frontline immunotherapy (IO) or IO plus chemotherapy.
(B) Projection of the NSCLC cohort onto pan-tumor “spatial classes.” Each dot is an NSCLC sample, and the size and color describe PFS (color key).
(C and D) Kaplan-Meier survival curves for categorizing the NSCLC cohort by ISL versus ISI (C) or PD-L1 status (D).
(E) Comparison of cell type and cellular neighborhood frequencies determined by pathologist annotation between the ISL and ISI groupings. Features are ordered on the x axis by y axis rank.
(F and G) Representative ISL (F) and ISI (G) NSCLC tumors where biological features are identified by multiplexed immunofluorescence (color key).
(H) Differential SLAB analysis between ISL and ISI in the NSCLC cohort (y axis) versus the pan-tumor cohort (x axis). Overrepresentation analysis (ORA) defines pathways differential in ISL versus ISI categories within the NSCLC cohort (right, top) relative to the pan-tumor cohort (right, bottom).
Scale bars delineate a length of 0.5 mm in (F) and (G).
Of the 16 NSCLC samples, 11 were classified into SCs belonging to the ISL category (SC1, SC2, and SC4), while five samples were classified into SCs belonging to ISI (SC5, SC6, and SC9) (Figure 5B). Strikingly, patients whose tumors fell into the ISL category exhibited significantly longer PFS than those in the ISI category (p = 0.00069) (Figure 5C). In contrast, when patients were stratified using standard PD-L1 IHC thresholds (0%, 1–49%, and greater than or equal to 50%), no significant differences in PFS were observed (p = 0.92), nor were differences detected when applying a binary PD-L1 cutoff of 50% (p = 0.99) (Figure 5D; Figure S6D). Multivariate analysis of ISL/ISI in combination with a second covariate—(1) ICB regimen choice, (2) PDL1 status, (3) the presence of a KRAS G12 mutation, (4) the presence of an STK11 mutation, or (5) the presence of either an EGFR or BRAF mutation—demonstrated in each case that immune spatial lability was significantly predictive of PFS, while the second covariate was not (Figures S6E and S6F). Moreover, eight out of the twelve patients with measurable disease at treatment onset demonstrated shrinkage in tumor volumes shortly after treatment began, suggesting that classification by PFS was detecting differences in treatment response rather than disease prognosis (Figure S6G; STAR Methods).
We next investigated whether ISL/ISI classification might be attributable to sparse biological processes (e.g., CD8+ T cell abundance or a T cell exhaustion gene set) identifiable from bulk gene expression data. Using both our pan-tumor and NSCLC cohorts, we created sample-level bulk estimates of (1) SpaCET-deconvoluted cell type abundances and (2) expression of genes found within eight published gene set signatures of ICB response in NSCLC, including T cell effector function, T cell exhaustion, and TGF- β signaling (Table S7: STAR Methods).68,69,70,71,72,73,74 As a comparison, we also generated SLAB scores corresponding to each cell type and gene signature. None of these sparse biological processes could stratify ICB response as well as the ISL/ISI classifier. Furthermore, 8 of the top 10 results came from SLAB representation of these processes, rather than bulk estimates (Figure S6H). For example, the most significantly associated process— endothelial cell abundance—was significant only when represented as tumor-wide SLAB scores (p = 0.011) but not when represented as bulk abundance (p = 0.61) (Figures S6I and S6J).
To assess whether ISL and ISI distinctions reflect known features of ICB response, we compared these classifications with high-resolution pathologist annotations derived from mIF data. This analysis was conducted on six NSCLC tumors—two ISI and four ISL. ISL tumors were enriched for spatial features of immune activation, including necrosis and lymphoid follicular inflammation, while ISI tumors were more frequently associated with perivascular inflammation, fibroblast-rich zones, and tumor-stromal interface (Figure 5E). To directly visualize these differences, we examined two representative tumors. The ISL tumor (NSCLC-P6) displayed coherent spatial relationships among tumor regions, lymphoid follicles, and tumor-stroma boundaries, similar to lymphoid aggregate spatial organization in immune-responsive renal cell carcinoma (Figure 5F).75 In contrast, the ISI tumor (NSCLC-P16) exhibited fibroblasts interlaced amongst tumor cells, an organization previously linked to T cell exclusion in lung tumors (Figure 5G).76 Thus, ISL and ISI designations encompassed known spatial hallmarks of ICB responsiveness in patients.
While the ISL and ISI categories were defined using pan-tumor information, the clinical association with response was derived from our NSCLC cohort. We, therefore, sought to identify whether a subset of pan-tumor immune lability genes might be specifically responsible for the clinical relevance of ISL and ISI distinctions in NSCLC. To do this, we identified the genes with differential SLAB between the pan-tumor ISL/ISI cohorts and then performed a differential SLAB analysis of these genes in NSCLC ISL versus ISI tumors. Top genes distinguishing ISL from ISI in NSCLC were STARD7 and HINT1, implicated in TME immunomodulation across diverse cancers including NSCLC (Figure 5H, left).77,78 ORA pathway enrichment of genes distinguishing ISL from ISI in NSCLC was notable for (1) the well-studied KEAP1-NFE2L2-axis of tumor immunosuppression in lung tumors and (2) metabolism of linoleic acid, a member of the polyunsaturated fatty acid class that increases ICB sensitivity in NSCLC tumors (Figure 5H, right).79,80 On the other hand, pathways distinguishing ISL from ISI in the pan-tumor cohort but not our NSCLC cohort were notable for insulin-like growth factor (IGF) signaling. Although IGF1R signaling has been connected to tumor immunomodulation, IGF1R alteration frequency is rare in lung tumors, suggesting why it may not distinguish ISL from ISI tumors in our NSCLC cohort.81,82,83
Overall, our results illustrated that forward inference about tumor immune spatial biology using our pan-tumor cohort stratified ICB-related outcomes in an out-of-sample NSCLC cohort.
Identifying a panel of mIF markers to approximate the spatial similarity between tumors
Our results illustrated that SGs are spatially, biologically, and clinically relevant organizational units of the TME. However, discovering SGs required genome-wide spatial data, a costly and logistically intensive measurement in clinical settings. Therefore, a natural question is to what degree the spatial similarity between tumors defined by SGs could be measured by lower-throughput assays like mIF that might be more clinically scalable.
Common approaches for extracting information from mIF data on TMEs have included evaluating (1) mean marker abundance, (2) cell type abundance, and (3) cell neighborhood abundance.20 TumorSPACE is an alternate approach for identifying spatial structures in data where biological information is connected to spatial coordinates. By applying TumorSPACE to mIF data, we defined SGs based on marker abundance and computed marker SLAB scores that captured how each marker spatially varied across SGs within a tumor (Figure 6A, left; STAR Methods). This enabled us to ask which representation of mIF data most faithfully recapitulated the spatial similarity between samples defined by genome-wide SLAB profiles.
Figure 6.

Sparse sets of immunofluorescence markers capture spatial similarity between tumors
(A) Workflow for MCMC optimization. Left side shows that mIF data are used to create three representations of tumor spatial biology: marker mean intensity, cell type abundance, and neighborhood abundance. TumorSPACE on mIF data defines SLAB scores for each marker as a fourth representation: marker SLAB. These four representations are evaluated for capturing the spatial similarity between NSCLC tumors, as determined by genome-wide SLAB scores (right) through MCMC simulation (middle). This is an iterative process (blue box): in each step, mIF-based representations of spatial similarity are evaluated against spatial similarity determined by genome-wide SLAB using Pearson’s correlation (y axis in gray box). Simulation (gray box) consists of seed selection, a high-entropy burn-in phase, and a low-entropy phase ending when correlation no longer improves between steps.
(B) (Left) Pearson’s correlation (y axis) between spatial similarity determined by various mIF representations (color key) and spatial similarity determined by genome-wide SLAB versus number of features considered (x axis). (Right) The two top-performing panels used marker SLAB with Pearson’s correlation coefficient of ∼0.9. Each panel has five distinct markers and two shared markers (CD40 and vimentin). Heatmap indicates marker presence (blue) or absence (red) amongst 50 independent MCMC simulations (x axis). For each marker, the right table indicates the top three cell types (x axis) ranked by marker intensity in mIF data (color key).
We leveraged the subset of six NSCLC tumors for which we had aligned ST-seq data and mIF data (Figure S2B; STAR Methods). Each of the four mIF data representations—marker mean intensity, cell type abundance, neighborhood abundance, and marker SLAB—contains a discrete set of features. Given the many-to-many mapping between such features and TME biology (e.g., tumor cells enriched for both E-cadherin and EpCAM, while EpCAM is enriched on both tumor cells and dendritic cells), we sought a data-driven approach for identifying the optimal feature subset. We used Markov Chain Monte Carlo (MCMC) simulations to probabilistically sample feature combinations across each mIF representation. This procedure involves initially selecting a random subset of features (the “seed”) and then performing broad exploratory sampling where features can be easily added or removed from the panel (“high-entropy burn-in”). Once promising combinations are identified, the algorithm fine-tunes the selected features in a “low-entropy convergence” phase. At each step in the MCMC algorithm, the selected feature subset is evaluated using a predefined target function; Pearson’s correlation between the tumor-by-tumor similarity matrix is computed using the mIF feature subset, and the spatial similarity matrix is computed from genome-wide SLAB scores. The simulation terminates once further changes to the feature subset fail to improve this correlation (Figure 6A; STAR Methods).
The MCMC simulation revealed that marker SLAB outperformed all other mIF representations. Notably, correlation using marker SLAB peaked with just seven features (Figure 6B, left). For marker SLAB, there were two optimal marker panels composed of seven markers each (five distinct markers and two overlapping markers, namely CD40 and vimentin) across a collection of 50 independent MCMC simulations (Figure 6B, right). Both panels were enriched for markers specific to similar immune and stromal populations including CD4+ T cells, CD8+ T cells, macrophages, regulatory T cells (Tregs), and tumor cells (Figure 6B, right). This result indicated that while the two marker panels were compositionally distinct, the cell types encoded by them had similar distributions.
To learn whether these two marker SLAB panels depended on capturing collective information across their constituent markers, we alternatively selected marker SLAB panels, using generalized linear model (GLM) regression. Because GLMs assess individual marker contributions in isolation, we selected the top seven independently performing markers as a GLM-selected marker panel (Figure S6K). The GLM-selected marker panel did not fully overlap with either optimal MCMC marker panel, as several markers in the MCMC marker panels had modest GLM coefficients. While the MCMC marker panels closely recapitulated genome-wide SLAB-based tumor spatial similarity (r = 0.92), the GLM-selected marker panel did not (r = 0.59) (Figures S6L and S6M). These results signified that finding the optimal marker SLAB panel required considering collective information between markers and not only the independent effects.
Together, these findings demonstrated proof of principle that the spatial architecture defined by genome-wide SLAB profiles can be approximated using sparse protein markers from mIF data.
Discussion
Our results establish SGs as TME spatial domains that represent meaningful biological structures. By examining SGs across diverse tumor types, we uncovered a broadly conserved principle of TME spatial biology: SG organization is a nested hierarchy reflecting context-informed biological heterogeneity. Comparing TME architecture defined by SGs across hundreds of tumors revealed that the primary axis of spatial variation was immune biology. This observation led to spatially aware biomarker-stratifying outcomes after ICB therapy in a retrospective cohort of NSCLC patients.
The conserved organization of SGs into nested hierarchies enables a clear direction for the field of high-resolution tumor spatial biology. Currently, our capacity to collect ST-seq data exceeds the rate at which human experts could analyze these data. This necessitates establishing artificial intelligence approaches aligned with principles of tumor spatial biology. Our results demonstrate the integration of biology across spatial scales in the TME, suggesting that a naturally aligned model could be a neural network. Such models contain all-to-all connections between neurons of adjacent layers, yet recent work to constrain these connections has enabled widespread adoption of deep learning models in many fields.84,85,86 Further work could explore this idea by explicitly modeling SG connections as connected neurons in a manner inspired by “biologically aware” neural networks.87
In this work, we developed a unified coordinate system for comparing tumors based on spatial organization. Additionally, using our NSCLC cohort as proof-of-concept, we have shown that new tumors could be embedded into this space to learn about the spatial biology of those tumors, as informed by our pan-tumor cohort. These results suggest that as more datasets are projected into the pan-tumor space, particularly those with linked clinical annotations, the collective reference can sharpen our ability to interpret tumors in clinically meaningful ways. The unified coordinate system we have defined here could ultimately serve immense public utility by enabling decentralized use without moving or exposing patient-level data, while enriching a translational understanding of TME spatial biology.
TME spatial biology encompasses biophysical processes that relate in ways we do not yet understand. As the spatial omics toolbox expands, it will become increasingly important to relate biological learnings from these technologies directly to each other. Our results have demonstrated a complex but definable mapping between spatial modalities—ST-seq and mIF—that made no assumptions about the biological content of each dataset. These results open the door for SG-guided clinical trials whereby genome-wide spatial biology is captured by sparse diagnostic panels. They also suggest that SGs occupy a central place in TME spatial biology that spans RNA and protein abundances and, potentially, additional TME spatial biology axes. Our findings motivate understanding the origins of SGs and the mechanisms by which they are maintained and evolve.
Limitations of the study
Several limitations should be considered when interpreting our results. First, while we defined nine SCs from our pan-tumor cohort, our cohort does not represent all cancer types and patient populations. Our data showed that some tumor types comprise their own SC and that some SCs were only discoverable when studying a large group of tumors. Second, our analysis intersected only two types of spatial information: RNA abundance through transcriptomics, and protein abundance through mIF. Future studies could incorporate other descriptions of spatial biology (e.g., metabolomics) to assess how these complementary data provide additional context to TME spatial biology. Finally, the NSCLC cohort we evaluated was modest in size. While this was sufficient to prove the concept of clinically useful spatial biomarkers, our results motivate pursuing a multi-site prospective trial to test whether SG-based classifications are better than the current standard (PD-L1 IHC) as a predictive clinical biomarker of ICB response.
Resource availability
Lead contact
Requests for further information, resources, and reagents should be directed to and will be fulfilled by the lead contact, Arjun S. Raman (araman@bsd.uchicago.edu).
Materials availability
This study did not generate new unique reagents.
Data and code availability
-
•
All data relevant to our study can be found within supplemental tables. ST-seq data related to the cohort of DLBCL and NSCLC patients are available at https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE292299, with the accession code GEO: GSE292299.
-
•
All TumorSPACE code, along with documentation and stepwise instructions, are written in the Julia88 language and available at https://github.com/aramanlab/TumorSPACE.jl. All processed data and code for producing the figures in this paper are available at https://github.com/aramanlab/Behera_etal_2025.
-
•
Deposited data in the key resources table: Pathologist-annotated H&E images corresponding to our pan-tumor database are available at https://zenodo.org/records/16856762. Raw and processed (Table S4) mIF data are available at https://zenodo.org/records/16851985 and https://zenodo.org/records/20722579.
-
•
Any additional information required to reanalyze the data reported in this work paper is available from the lead contact upon request
Acknowledgments
We thank D. Pincus, M. Mani, M. Lingen, D. Zemmour, I. Moskowitz, and R. Ranganathan for helpful discussions. We thank the genomics core and human immunologic monitoring core facilities at the University of Chicago for their aid in sequencing and imaging our ST-seq samples. This work was supported by the Duchossois Family Institute, the Department of Pathology, and the Center for the Physics of Evolving Systems at the University of Chicago. Funding for V.B. was provided by a T32 NIH training grant within the Department of Medicine, Section of Hematology/Oncology at the University of Chicago.
Author contributions
Conceptualization, V.B., J.K., M.C.G., and A.S.R.; methodology, V.B., A.G., H.G., U.-Y.P., B.P., B.A.D., A.H., C.M.B., and A.S.R.; software, V.B. and B.A.D.; investigation, V.B., A.G., H.G., A.D.L., A.P., and A.H.; writing – original draft, V.B. and A.S.R.; writing – review & editing, V.B., A.G., U.-Y.P., C.M.B., J.K., and A.S.R.; supervision, V.B., M.C.G., and A.S.R.; project administration, V.B., H.G., and A.E.; funding acquisition, A.H., M.C.G., and A.S.R.
Declaration of interests
A.S.R. is a founder of Sparsity, Inc.; V.B. is a co-founder of Sparsity, Inc. Patents (63/572,XXX) related to this research have been filed by the University of Chicago, with V.B. and A.S.R. as inventors.
STAR★Methods
Key resources table
| REAGENT or RESOURCE | SOURCE | IDENTIFIER |
|---|---|---|
| Chemicals, peptides, and recombinant proteins | ||
| Xylene | Millipore Sigma | 214736 |
| Ethyl Alcohol, 200 Proof | Fisher Scientific | A4094 |
| Eosin Y-solution, Alcoholic | Sigma Aldrich | HT110116 |
| Hematoxylin Solution, Mayer’s | Sigma Aldrich | MHS16 |
| Bluing Reagent, Dako | Agilent | CS702 |
| Glycerol, ultra pure | MP Biochemicals | 800688 |
| Hydrochloric Acid Solution, 0.1 N | Fisher Chemical | SA54-1 |
| Nuclease-free Water (not DEPC treated) | Invitrogen | AM9937 |
| Tris (1M, pH7) | Invitrogen | AM9850G |
| 10× PBS | Invitrogen | AM9624 |
| 1× PBS | Corning | 21-040-CV |
| 10% Tween 20 | Bio-Rad | 1610781 |
| KAPA SYBR FAST qPCR Master Mix (2×) | KAPA Biosystems | KK4600 |
| SPRIselect Reagent Kit | Beckman Coulter | B23317 |
| 8M KOH | Sigma Aldrich | P4494 |
| 20× SSC Buffer | Sigma Aldrich | S6639 |
| Qiagen Buffer EB | Qiagen | 1014609 |
| Deparaffinization Solution | Qiagen | 1064343 |
| Critical commercial assays | ||
| Visium CytAssist Slide and Cassettes, 11mm 2rxns | 10× Genomics | PN-1000518 |
| Visium FFPE Reagent Kit v2 – Small | 10× Genomics | PN-1000436 |
| Visium CytAssist Reagent Accessory Kit | 10× Genomics | PN-1000499 |
| Visium CytAssist Spatial Gene Expression for FFPE, Human Transcriptome, 11mm, 2 rxns | 10× Genomics | PN-1000522 |
| Visium Human Transcriptome Probe Kit v2 - Small | 10× Genomics | PN-1000466 |
| Dual Index Kit TS Set A, 96 rxns | 10× Genomics | PN-1000251 |
| RNeasy FFPE Kit | Qiagen | 73504 |
| Deposited data | ||
| Spatial transcriptomics pre-processed data | This paper | GEO: GSE292299 |
| H&E Pathologist Annotations | This paper | Zenodo: 16856762 https://zenodo.org/records/16856762 |
| MSigDB | https://doi.org/10.1073/pnas.0506580102 | https://www.gsea-msigdb.org/gsea/msigdb |
| Code for making figures and processed data for this paper | This paper | https://github.com/aramanlab/Behera_etal_2025 |
| Raw and processed multiplexed immunofluorescence images | This paper |
https://zenodo.org/records/16851985 https://zenodo.org/records/20722579 |
| Software and algorithms | ||
| SpaceRanger v2.0.0 | 10× Genomics | https://www.10xgenomics.com/support/software/space-ranger/latest |
| QuPath version 0.4.4 | https://doi.org/10.1038/s41598-017-17204-5 | https://qupath.github.io/ |
| Booster | doi:10.1038/s41586-018-0043-0 | https://booster.pasteur.fr/ |
| OpenCV | OpenCV | https://opencv.org/ |
| SpaCET | NA | https://data2intelligence.github.io/SpaCET/articles/visium_BC.html |
| Enrichr | https://doi.org/10.1186/1471-2105-14-128 | https://maayanlab.cloud/Enrichr/ |
| R version 4.1.0 and 4.4.0 | R Foundation for Statistical Computing | https://cran.r-project.org/ |
| Julia version 1.9.0 | NA | https://julialang.org/ |
| Python version 3.11 | Python Software Foundation | https://www.python.org |
| DeepCell | NA | https://www.deepcell.org/ |
| TumorSPACE | This paper | https://github.com/aramanlab/TumorSPACE.jl |
| Other | ||
| Veriti 96-well Thermal Cycler | Thermo Fisher Scientific | 4375786 |
| MasterCycler ×50i | Eppendorf | 6301000012 |
| MasterCycler ×50A | Eppendorf | 6313000018 |
| High-Capacity Section Dryer | Epredia | A84600051 |
| QuantStudio 6 Pro | Applied Biosystems | A43056 |
| Vectra Polaris Whole Slide Imaging System | Akoya Biosciences | CLS143455 |
| Visium CytAssist | 10× Genomics | 1000432 |
| Legend Micro 21R Centrifuge | Thermo Fisher Scientific | 75002446 |
| Thermomixer C | Eppendorf | 5382000023 |
| Heat Block | Thermo Fisher Scientific | 88870001 |
| Vortex Mixer | fisherbrand | 02-215-414 |
| Mini Centrifuge | fisherbrand | 12-006-901 |
Experiment model and study participant details
Non-small cell lung cancer (NSCLC) patients were treated with immune checkpoint blockade therapy ± chemotherapy at the University of Chicago Medical Center (Chicago, IL). All patients provided written informed consent for the collection and study of pre-treatment diagnostic tumor biopsy samples and for clinical outcomes including treatment regimen, treatment-related toxicities, and disease outcomes, as approved by the University of Chicago Institutional Review Board (IRB 9571 and IRB 24–0063). For the ST-seq analysis, 16 tumor samples were collected prior to therapy initiation, each from a separate patient. Inclusion criteria for these patients included (1) NSCLC stage IV patients either at initial presentation or as progression from previously treated early-stage disease, (2) biopsy of either the primary tumor or a metastatic tumor performed and stored within 6 months prior to treatment in the metastatic setting, (3) subsequent first line treatment with anti-PD1/anti-PD-L1 immune checkpoint blockade (ICB) with or without platinum-based chemotherapy. Exclusion criteria included (1) no prior therapy in the metastatic setting and (2) less than 2 doses of ICB therapy administered. We selected the first 16 patients that met these criteria and that had an available FFPE tumor biopsy block. From the archival block, a fresh 5 μm section was cut and placed on a standard slide for use in ST-seq protocols (see ‘10X Visium spatial transcriptomics (ST-seq)‘). Progression was defined as time from the first dose of ICB until either radiographic or symptom-based evidence of disease progression. ICB regimen, ICB treatment duration, reason for ICB discontinuation, time to progression following ICB start, and time to death following ICB start are listed for all patients (Table S8).
Diffuse large B-cell lymphoma (DLBCL) patients were treated at the University of Chicago Medical Center (Chicago, IL). All patients provided written informed consent for the collection and study of pre-treatment diagnostic tumor biopsy samples and for clinical outcomes including treatment regimen, treatment-related toxicities, and disease outcomes, as approved by the University of Chicago Institutional Review Board (IRB 13–1297). Each biopsy was reviewed by 2 hematopathologists for diagnostic confirmation. Biopsy slides were previously cut from FFPE sections and H&E stained for prior studies.89
Demographic information including age, gender, disease stage, and prior treatment is listed for all NSCLC and DLBCL patients (Table S8).
Method details
Download and harmonization of ST-seq data
Previously deposited ST-seq datasets (Table S1) were downloaded for integration from GEO (https://www.ncbi.nlm.nih.gov/geo/) into the pan-tumor ST-seq database as long as they had the following SpaceRanger outputs available: 1) a spot-by-UMI gene count matrix, 2) a spot-by-pixel location matrix, 3) a scalefactors_json.json file containing ‘spot_diameter_fullres’, and 4) the associated H&E image stored either as “tissue_hires_image.png”, “tissue_lowres_image.png”, or a full-resolution image. For analyses including physical distance rather than pixel distance, pixel distance was converted to physical distance by computing a scaling factor that compares spot diameter in pixels to the known spot diameter of 55 μm.
SpaceRanger processing of ST-seq data
For internally generated ST-seq datasets, reads were aligned and mapped to the hg38 (GRCh38) human genome reference using the SpaceRanger v2.0.0 count pipeline (Table S9). This pipeline generates a raw unique molecular identifier (UMI) gene count matrix in which each row consists of a spot that has X/Y coordinates in pixels that correspond to the aligned H&E image. The SpaceRanger algorithm also identifies spots within or outside of detectable tissue, and for all subsequent analyses only spots within tissue were used.
Pathologist annotation of ST-seq H&E data
Whole-slide H&E images were collected as part of an ST-seq experiment (see ‘10X Visium CytAssist spatial … ‘) or as part of a publicly deposited ST-seq dataset (see ‘Download and harmonization of ST-seq data’). Image data were loaded into QuPath90 (version 0.4.4) for visual inspection and manual annotation by a board-certified pathologist. An initial review of all slides revealed a natural hierarchy of histologic features, which was used to develop a structured annotation scheme (Figure S1B; Table S10). Feature categories were defined based on the following criteria: (1) biological relevance, (2) generalizability across tumor types, (3) consistency with a hierarchical annotation scheme, and (4) non-redundancy.
All tissue-containing regions were manually annotated in their entirety. Regions of interest (ROIs) were labeled according to the predefined hierarchical scheme to ensure consistency across the dataset. Ambiguous regions were reviewed in consultation with a second pathologist. In addition, a random subset of 10% slides was re-reviewed by the primary pathologist several months after the initial annotation, with blinded access to prior labels, which confirmed intra-observer reproducibility. Label annotations were identified for ST-seq spot locations by 1) importing ST-seq spot centroid locations into QuPath and 2) identifying the annotated region containing any given spot. These analyses were performed using custom Groovy scripts that have been made available within the figure repository for this paper (see ‘Code availability’).
TumorSPACE: Models and associated analysis
The sub-sections within this section will introduce several variables. Table S15 (‘Definition of TumorSPACE variables in STAR Methods’) contains definitions of all variables in this section.
Overview
Building a TumorSPACE model requires spatial transcriptomic data and two inputs from SpaceRanger: (1) the raw gene UMI count matrix and (2) the spot spatial coordinate matrix. Model building subsequently operates on the gene count matrix to build many models that vary in hyperparameter choice. The spot spatial coordinates are then used for selecting the optimal hyperparameter set that maximizes accurate recovery of spatial spot organization.
Four hyperparameters are tuned during this process: (1) the number of principal components (PCs) of data-variance used for creating a latent space of the transcriptional data, (2) the limit of statistical robustness for spot-spot relatedness in the latent space, (3) the spatial dispersion of the nodes in the latent space hierarchical tree model, and (4) the number of KNN matches used for spot spatial prediction. The following sections will first establish the model latent space and compute statistical robustness and spatial dispersion properties of that latent space. Subsequently, all hyperparameters will be tuned to define the optimal model for mapping transcriptional content from TME spots to TME spatial organization.
Creating a latent space
The first step in building a TumorSPACE model is to create a latent space representation of the gene count data that incorporates statistical bootstrapping. TumorSPACE first embeds ST-seq spots into a latent space by applying singular value decomposition (SVD) to the gene count matrix91:
| (Equation 1) |
M is the SpaceRanger gene count matrix (m spots as rows, n genes as columns), U is the left singular matrix, Σ is the singular value matrix, and V is the right singular matrix. U is defined by cell spots (rows) and left singular vectors (columns), where each entry is the projection of a cell spot onto a left singular vector. Σ is a diagonal matrix where entries are singular values. VT is defined by genes (rows) and right singular vectors (columns) where each entry is the projection of a gene onto a right singular vector.
First, from 1, a metric termed ‘spectral distance’ (D) between all spots is calculated. This metric was previously developed by our laboratory in the context of analyzing phylogenetic bacterial proteome content.28 As implemented for spatial data in this manuscript, performing SVD on the gene count matrix determines the extent to which each cell spot projects onto each left singular vector. Therefore, a distance considering the transcriptomes of two spots can be computed by measuring the difference in the projections of two spots onto a left singular vector. Note, this definition of distance does not consider any information about spatial spot distribution.
Next, groups of left singular vectors are combined to create ‘spectral groups’. These groups are defined based on the eigenvalues associated with each left singular vector: left singular vectors with similar eigenvalues are grouped together:
| (Equation 2) |
where SG is the total set of spectral groups, sg1is first set of columns extracted from U, sg2 is the second set of columns extracted from U, and so on. The concept of spectral groups was also previously developed by our laboratory.92 Defining sgi and sgi+1 is done by identifying larger than expected decreases in singular values between consecutive left singular vectors. To compute spectral groups, a vector of differences between consecutive singular values is computed for all left singular vectors. We use the upper and lower quartiles of this distribution in combination with a scaling parameter alpha to define the ‘expected difference’ bounds between singular values. Any difference in singular values outside of these bounds deviates from expectation and therefore defines a spectral group (see associated GitHub code for specification of parameters). The spectral distance for a pair of spots within a spectral group is then computed as the Euclidean distance between spot projections onto left singular vectors comprising the spectral group weighted by the eigenvalue associated with each left singular vector. The summation of these distances across all spectral groups is the spectral distance, di,j, between spots i and j.
After computing di,j for all spots, the resulting construct is a spectral distance matrix D comprised of m rows and m columns where m is the number of spots in the original gene count matrix and each entry in D is the spectral distance between two spots. D is then used as input for hierarchical clustering with complete linkage, resulting in a tree T that relates all spots in a tumor sample to each other. T has m leaves and (m-1) internal vertices (nodes). The leaves are the ST-seq spots and the nodes g∈G represent G hierarchically ordered groupings of these spots. The resulting network is the TumorSPACE latent space of the original gene count matrix.
The number of spectral groups is dependent on how many of the total left singular vectors are considered. An increasing number of left singular vectors being included corresponds directly to the inclusion of deeper principal components when computing the latent space. For TumorSPACE models, the depth of principal components, ‘p’, is a hyperparameter that is tuned for embedding the gene count matrix into a latent space.
Bootstrapping the latent space to evaluate statistical robustness
TumorSPACE does not assume that each node g arises from biological signal. Instead, TumorSPACE bootstraps T using the Booster package’s implementation of transfer bootstrap expectation (TBE), the probability that node g appears in an empirically bootstrapped tree (default settings used for Booster).93 For generating empirically bootstrapped trees, we applied Gaussian multiplicative noise injection to the initial gene count matrix M to create a “bootstrapped” gene count matrix MB.
| (Equation 3) |
such that ⊙ indicates element-wise multiplication by a normally distributed random variable X ∼ N(μ,σ2)with μ = 1 and σ = 0.2. This matrix was then used as an input to (1) and a tree was created following the steps outlined in ‘Creating a latent space’ to generate a bootstrapped tree TB. Bootstrapping was done 10 times for a given dataset, followed by input of the original tree T and the bootstrapped trees TB into Booster for TBE computation. This results in a labeling of the original tree T’s set of nodes G with TBE support values bG such that bG∈[0,1].
Calculating physical spatial dispersion in latent space
The final property of T that is computed is the spatial dispersion k for each node comprising T. Spatial dispersion is estimated for each node using Ripley’s reduced second moment function K(r) with border correction.94,95 Let gs be the set of ST-seq spots within node g in T. The window of physical tumor space is defined by the spot spatial coordinate matrix such that lenx indicates the x axis window length and leny indicates the y axis window length. We then compute λ, a normalization factor for spot intensity within a spatial region, and rmax, a factor that incorporates lambda to determine the maximum spatial distance being assessed.
| (Equation 4) |
| (Equation 5) |
where min denotes the minimum between a set of values. Let R be the set of spot spatial distances that will be assessed, such that
| (Equation 6) |
We define the physical distance δ between any two spots as
| (Equation 7) |
where (Xspot, Yspot) denote the physical space coordinates for a given spot. Spatial dispersion K(r) with border correction is then computed for all spots gs,i, ∈gs as
| (Equation 8) |
| (Equation 9) |
where t(gs,i,r) is the number of spots within distance r of a given gs,i and bi is the distance from spot gs,i to the window boundary. The general notation card(S) indicates the number of elements in a set S, and the general notation 1{f(x)} signifies a value of 1 when f(x) is true and a value of 0 when f(x) is false. Finally, spatial dispersion k is computed by summing the absolute value of K(r) over r∈R as follows.
| (Equation 10) |
This calculation labels all nodes G in tree T with spatial dispersion values kG such that .
Hyperparameter optimization to create a TumorSPACE map
TumorSPACE model optimization involves selecting the values of four hyperparameters that maximize model prediction accuracy (described in ‘Prediction Accuracy Calculation’) for a given dataset. These hyperparameters tune three properties of tree T – principal component depth p (from ‘Creating a latent space’), node TBE support b (from ‘Bootstrapping the latent space to evaluate statistical robustness’), node spatial dispersion k (from ‘Calculating physical spatial dispersion in latent space’) – as well as one property of accuracy computation, the number of spot KNN matches κ. We perform hyperparameter tuning as a nested grid search by tuning p as an outer layer and then optimizing [b, k, κ] for a given value of p.
First, a set of PC depth values (np where default is set to 10) is randomly selected to create a set . The PCs termed pi are chosen on a logarithmic interval between a minimum and maximum PC depth, which is the rank of the gene count matrix M. Next, a matrix of three hyperparameter values, }, are created where the vectors h(1), h(2), and h(3) are independently sampled from distributions as follows.
| (Equation 11) |
| (Equation 12) |
| (Equation 13) |
In (11–13), X is a random variable drawn from Uniform([0,1]). Default values for hyperparameter bounds are bmin = 0, bmax = 0.5, kmin = 0, kmax = 1 κmin = 5, κmax = 300. A minimum of nH = 100 sets of {h(1),h(2),h(3)} are initially sampled, after which additional sets are sampled until prediction accuracy optimization has converged. Prediction accuracy convergence is reached when the difference in prediction accuracy (defined below in ‘Prediction Accuracy Calculation’) for the top 2 scoring hyperparameter sets is less than 0.05. For a given hyperparameter set hi, the TumorSPACE tree T is filtered for the set of nodes Gfilt such that each node in Gfilt satisfies
| (Equation 14) |
The final filtered tree, Tfilt, comprises the set of nodes Gfilt’, which consists of Gfilt as well as the complete set of parent nodes from which Gfilt descend even if those parent nodes do not meet the criteria in (14), along with all ST-seq spots. We found that optimal hyperparameter values varied widely amongst datasets, underscoring the importance of fitting these parameters for each individual dataset (Figure S7A).
Prediction accuracy calculation
To identify the TumorSPACE model properties that were optimized for predicting spot spatial locations from transcriptomic data, we masked the physical location of each ST-seq spot and identified its k nearest neighbors in the TumorSPACE latent space by minimizing spectral distance.
For any masked spot i amongst all spots I, we can define its κ nearest neighbors NNi,κ as
| (Equation 15) |
where i∈I, κ∈h(3) as defined in (13), J is the set of all spots other than spot i, and argminκ selects the set of κ spots with the smallest spectral distance relative to spot i. To prevent overfitting, we identified for each spoti,z∈NNi,κ a randomly chosen that belongs to the internal node gi,z within Tfilt immediately ancestral to spoti,z.
We then estimated the location of masked spot i based on the x and y locations of the corresponding spots.
| (Equation 16) |
Finally, we computed the Pearson Correlation ρ between the vectorized matrix Δactual of pairwise actual spot-spot physical distances and the vectorized matrix Δpredicted of pairwise predicted spot-spot physical distances.
| (Equation 17) |
| (Equation 18) |
| (Equation 19) |
where vec() indicates matrix vectorization to a single column and corr() indicates Pearson Correlation. To compute a null distribution for ρ using empirical bootstrapping of actual versus predicted spot locations in a given dataset, we shuffled the vector without replacement and then re-computed (17–18) using this shuffled vector of predicted spot locations.
| (Equation 20) |
| (Equation 21) |
| (Equation 22) |
For Figure 1B, ρshuffled is computed for 100 shuffles and the maximum ρ is taken as the ‘null’ prediction value. The null distribution is plotted in the gray distribution in Figure 1B.
Finally, the optimal TumorSPACE model is found that maximizes ρ across hyperparameter sets P and H.
| (Equation 23) |
TumorSPACE model outputs
For a given input tumor ST-seq dataset, the output from TumorSPACE includes: (1) the TumorSPACE model , (2) the Pearson Correlation estimate ρ, and (3) the set of predicted spot locations for all ST-seq spots. The final set of internal nodes within are termed Spatial Groups (SGs).
Nested spatial group (NSG) depth
We computed NSG depth as a measurable quantity that describes how a given NSG relates to the other parts within a TumorSPACE model. As such, we define ‘NSG depth’ as a property of all NSGs within a TumorSPACE model.
To first define NSG depth, we compute the complete ancestral node path for any internal node gi within as
| (Equation 24) |
such that
| (Equation 25) |
| (Equation 26) |
| (Equation 27) |
indicates the kth ancestral node of node gi, A(node) denotes the immediate ancestral nodeof a given node in , and G is the set of internal nodes in . By definition, will be the root node of . We next define the spatial domain size for a given node g as the mean spot-spot physical distance between all spots within g.
| (Equation 28) |
Finally, we identify the subset of nodes within that satisfy the condition whereby the (k+1)th node is equal to or larger in spatial domain size than the kth node in that path.
| (Equation 29) |
where k ≤ n and 0 ≤ l ≤ k. The NSG depth, , for a given internal node gi is defined to be the number of ancestral generations that satisfy this condition of spatial domain nesting.
| (Equation 30) |
SG-based differential abundance
Differential abundance calculation requires two inputs: (1) an optimized TumorSPACE model and (2) a spot-by-feature matrix F. We computed differential abundance using three types of biological processes: genes, pathways, and deconvoluted cell type proportions. Computation of gene count, pathway usage, and cell type proportion matrices are described in the ‘SpaceRanger’, ‘Pathway over-representation analysis’, and ‘SpaCET’ Methods sections, respectively. The gene count matrix is normalized by the spot-wise total UMI count.
First, we identified a subset of SGs GDA∈G at which DA will be computed. We set a minimum of 10 spots that must be present in both a given SG gDA∈GDA and in its sibling node (e.g., A and A′ in Figure 3A) for inclusion within GDA.
| (Equation 31) |
where C(n) indicates the row indices within matrix F of the spots descending from SG gDA. Subsequently, for each node gDA and process f, the spot-wise process values between gDA and are compared using a two-sided Wilcoxon Rank-Sum Test, where the test p-value is given by W(a,b).
| (Equation 32) |
To facilitate empirical correction for multiple hypothesis testing, we perform 20 shuffles of the process values between gDA and , followed by computation of the Wilcoxon p-value between these shuffles. Let be the concatenation of spot indices C(gDA) and .
| (Equation 33) |
| (Equation 34) |
| (Equation 35) |
| (Equation 36) |
| (Equation 37) |
Let be the set of n DA probabilities for node gDA and shuffle j, where n is the number of processes in F. Then, a given process is found to be differentially abundant at a given node if its unadjusted p-value, , is less than the minimum of all shuffled probabilities for that node. To assign the direction of process abundance change for nodes with significant abundance changes, given that our test examines relative changes in expression between gDA and in its sibling node , we defined the larger of the two nodes as having a “baseline expression profile” for that shared local transcriptional and spatial context. Conversely, the smaller of the two nodes was defined as having either increased or decreased abundance relative to the larger node.
Contextual dependence of processes based on architecture of SGs
To determine whether differentially abundant processes within child SGs were impacted by the differentially abundant processes of their parent SGs, we computed the odds ratio test for independence as follows. Let fi∈F and fj∈F denote two biological processes drawn from the set of all pathways and cell types identified (see ‘Pathway over-representation analysis’ and ‘SpaCET’ sections). Across all TumorSPACE models, we identified the set of child-parent SG pairs – denoted by (Ni,Pj) – such that and indicate the subset of child SGs where process i was increased or decreased in abundance, respectively, and and indicate the subset of parent SGs where process j was increased or decreased in abundance, respectively. Then, the odds ratio of independence ORi,j was defined as,
| (Equation 38) |
Standard definitions were used for calculation of odds ratio standard error and p-values.96
SG-based spatial lability (SLAB) score
Given a single TumorSPACE model and a process fi for which differential abundance has been computed in , we define the SLAB score as follows. Let be the set of SGs in in which the process fi is differentially abundant (q < 0.05). For each node , this means that process fi is differentially abundant between and its sister node in . First, we identify which of the nodes, either or , contains the fewer number of spots. This node is defined as the node with either increased or decreased abundance of process fi, while the node with the greater number of spots is considered to be the ‘baseline’ abundance state for process fi in that subset of the tumor biopsy. describes the set of spots with differential abundance in process fi for TumorSPACE model at node :
| (Equation 39) |
Next, we compute the union of those differentially abundant spots and compute the fraction that these spots constitute compared to the total set of spots I in the biopsy as a whole.
| (Equation 40) |
SLAB score correlation with bulk expression
For correlation of genome-wide SLAB scores with bulk gene expression, as in Figure S4B, we did the following. First, we identified the set of all dataset-gene pairs for which the gene had greater than 0 UMIs detected per spot and a non-zero SLAB score in that dataset. Next, to enable computing correlation statistics, we identified genes with greater than 10 dataset entries in the filtered dataset-gene pair list. For these genes, we computed the Pearson Correlation estimate and p-value between SLAB score and mean spot UMI count across datasets. Correction for multiple hypothesis testing was done using the Benjamini-Hochberg method with a corrected q-value threshold of 0.05.97
Spatial lability pan-tumor classification
Given the set of genome-wide SLAB scores that were computed for all datasets within the pan-tumor ST-seq database (see ‘Download and harmonization of ST-seq data’ and ‘SpaceRanger processing of ST-seq data’), we aligned these score vectors into a matrix such that each dataset was a row and each gene was a column. For any instances where a gene had mapped reads in one dataset but not another – thus resulting in blank cells in this matrix – the score within this matrix was set to zero. Next, Euclidean distance was computed between each pair of rows, resulting in a distance matrix that compared all datasets to each other. Finally, the Unweighted Pair Group Method with Arithmetic mean (UPGMA) algorithm was used for constructing a hierarchical tree relating datasets to each other (Figure S4D).98
Spatial Classes were identified from this hierarchical tree by filtering the tree branchpoints in two steps. First, only branchpoints with at least five datasets in each child branch were retained. Second, empirical bootstrapping using transfer bootstrap expectation (TBE) was applied to identify statistically robust branchpoints.93 For this, the SLAB matrix was re-sampled 100 times so that columns (genes) were randomly selected with replacement. From these re-sampled matrices, the same hierarchical tree algorithm was applied, resulting in 100 bootstrapped trees. The original tree was then compared to these re-sampled trees to infer TBE support values ranging from 0 (no reproducibility) to 1 (perfectly reproducible) for each branchpoint in the tree. Branchpoints with TBE ≥ 0.95 were retained at this step. The resulting terminal leaves of these branches were defined as ‘Spatial Classes’.
In order to simulate defining a pan-tumor classification of tumors based on SLAB scores using variably sized training cohorts consisting of randomly selected tumors (see Figure S4F), we did the following. Our pan-tumor cohort consisted of 202 unique tumors amongst the 246 ST-seq datasets. We simulated 100 random orderings in which these 202 tumors would be added to the training data corpus one at a time. As a tumor is added to the training corpus, it is given the same Spatial Class designation as from training a pan-tumor model with all data, as in Figure 3B, which are considered the ‘ground truth’ Spatial Classes for these tumors. The addition of a single tumor, along with all of its replicate datasets, constitutes one ‘epoch’ in a simulation. Following each epoch, the entire ‘testing’ set of 246 datasets is compared in their SLAB scores to each dataset within the training corpus using Euclidean distance between SLAB vectors. For any Spatial Classes represented by a non-zero number of datasets in the training corpus, the mean Euclidean distances are calculated to the testing datasets, and testing data are assigned to the Spatial Class that minimizes distance. Finally, these ‘simulated’ Spatial Class assignments are compared to the ground-truth Spatial Class assignments. Each Spatial Class is evaluated at each Epoch using an F1 statistic – the harmonic mean of precision and recall, bounded from 0 to 1.
Differential SLAB score analysis
At each high-confidence branchpoint identified in ‘Spatial lability pan-tumor classification’, we compared the datasets within the child branches for differential SLAB scores at all genes. Let the dataset groups with these branches be named A and A'.
To compare gene-level SLAB scores, we first compose the matrix LA of SLAB scores where LA has a+a′ rows corresponding to tumors a∈A and a′∈A′ and F columns where f∈F constitutes the full set of genes. Next, for each gene f, we compare the tumors in A and A′ where C(X) indicates the row indices within matrix LA that correspond to tumors in either group. Comparison is performed using a Mann-Whitney U Test, where the test p-value is given by MW(a,b).
| (Equation 41) |
To facilitate empirical correction for multiple hypothesis testing, we perform 1000 shuffles of the SLAB counts between A and A′, followed by computation of the MW p-value between these shuffles. Let be the concatenation of row indices C(A) and C(A′).
| (Equation 42) |
| (Equation 43) |
| (Equation 44) |
| (Equation 45) |
| (Equation 46) |
Let be the set of n probabilities for group A and shuffle j, where n is the number of genes in F. Then, a given gene is found to have a differential SLAB score between a given grouping A vs. A′ if its unadjusted p-value, pA,f, is less than the 5th percentile (q = 0.05) of all shuffled probabilities.
Classification of NSCLC datasets by pan-tumor spatial lability
For comparison of out-of-sample NSCLC tumors to the pan-tumor Spatial Classes lability groups shown in Figure 3B, we first computed SLAB scores for all genes and aligned the score vectors to match the columns (genes) of the pan-tumor SLAB score matrix . Any genes with no detectable reads for a given sample had their SLAB score set to zero. We called this new matrix . For every pair of rows , where indicates the score vector for sample pi∈P in the pan-tumor database and indicates the score vector for sample nj∈N in the NSCLC out-of-sample dataset, we computed the Euclidean distance that describes the similarity between these two samples with respect to their SLAB scores. We then computed the mean of for the subset of the P datasets corresponding to each Spatial Class (SC1-9). Each NSCLC sample was assigned to the Spatial Class that minimized this mean distance.
Classification of NSCLC datasets using bulk expression and published gene sets
To determine whether classification of tumor datasets by either (1) bulk expression versus SLAB score, (2) previously published gene sets for NSCLC IO response, or (3) SpaCET-inferred cell type abundance was predictive of PFS in our NSCLC cohort, we performed the following analysis.
First, we computed aligned matrices as described in ‘Spatial lability pan-tumor classification’ for both the pan-tumor datasets and the NSCLC datasets where matrices contained either SpaCET-inferred cell type abundance, bulk expression data or SLAB score data. For bulk expression, we computed the mean spot-wise UMI count for any given gene. Second, we filtered the aligned matrices for subset of columns (genes) described by a particular gene set or used all columns for the ‘all genes’ analysis. Third, we computed the [16 x 246]-dimension distance matrix between the 16 rows (samples) in the NSCLC matrix and the 246 rows (samples) in the pan-tumor matrix. Fourth, K-means clustering with K = 2 was performed row-wise on this matrix to divide the NSCLC datasets into 2 groups based on their distance vectors to the pan-tumor datasets. K-means clustering was performed 100 times for each condition using different random seeds each time. Finally, the two classes of NSCLC datasets were applied to survival analysis (described below in ‘Survival analysis’) to determine if they were predictive of NSCLC ICB outcomes.
Alignment of ST-seq and mIF data
Coordinates were aligned between CODEX mIF data and ST-seq data generated from serial tissue sections as follows. First, the DAPI channel of the CODEX data and the H&E image of the ST-seq data were identified for alignment. The alignment process employed the Scale-Invariant Feature Transform (SIFT) algorithm, which identified key points in images and matched the feature descriptors of key points to identify corresponding pairs of points from different images.99 Based on the matched points, an affine transformation was performed to map the coordinate system of the ST-seq data to that of the mIF data. We first converted the H&E images into grayscale and adjusted their contrast using Contrast Limited Adaptive Histogram Equalization (CLAHE; implemented in OpenCV100). The SIFT algorithm was then applied to detect features in both the H&E and DAPI images. Feature matching was performed based on the SIFT descriptors, with manual adjustments to the feature matching ratio depending on the similarity of the images. A transformation matrix was estimated using the Random Sample Consensus (RANSAC) algorithm, allowing for rotation, translation, and scaling transformations. The RANSAC inlier threshold was also manually adjusted to accommodate varying degrees of distortion between images. Two of the eight tissues in which alignment was attempted could not be aligned because the SIFT algorithm could not identify sufficient matching features between the images (>7 matching features).
SpaCET
SpaCET estimates deconvoluted cell type proportions within spots of an ST-seq experiment.42 It requires the user to supply (1) the SpaceRanger gene count matrix as input and (2) a value for the ‘cancerType’ parameter to define the SpaCET library scRNA-seq datasets used for cell type definition. The ‘cancerType’ values chosen for each ST-seq dataset are listed in Table S11. Otherwise, default parameters and commands were used as per the repository instructions (https://data2intelligence.github.io/SpaCET/articles/visium_BC.html).
Pathway over-representation analysis (ORA)
For genes identified as differential between SGs (see Figure 2) or between Spatial Classes (see Figure 4), we conducted over-representation pathway analysis (ORA) for the set of Reactome pathways within the MSigDB database101,102 (Table S12). ORA was performed using Enrichr with default parameters, which uses a Fisher exact test to compute enrichment of a gene list for a given pathway.103 The background gene set used was the set of all genes with mapped reads in any sample. Correction for multiple hypothesis testing was implemented by using a false discovery rate threshold of <0.1.
Survival analysis
For survival analysis we used the R ‘survival’ package to model progression-free survival (PFS) as a function of possible confounder variables (Treatment regimen, PD-L1 status, somatic mutation status) or classification variables (PD-L1 multi-class, PD-L1 binary, ISL/ISI, bulk expression- and SLAB score-gene sets). For confounder analysis, outcomes were modeled using Cox’s univariate or multivariate proportional hazards model. For Kaplan-Meier survival curves stratified by classification variables, survival was estimated using the Kaplan-Meier method and reported p-values were calculated using the log rank statistical test. For censored data labeling, 1 indicates that PFS was observed while 0 indicates the patient was censored for PFS.
Pathologist annotation of CODEX mIF data
Nuclear segmentation and cell boundary definition
Following image acquisition and pre-processing (see ‘Experimental method details: CODEX multiplexed immunofluorescence’), we applied the neural network-based cell segmentation tool, DeepCell, on the DAPI channel for nuclei identification.104 Next, these nuclei segmentation masks were used to estimate whole cell segmentation boundaries using the ‘skimage.morphology.binary_dilation’ function in the Python scikit-image package.105 This function dilates nuclear segmentation boundaries by stochastically flipping pixels into the mask boundary with a probability equal to the fraction of positive neighboring pixels for 9 cycles. We then computed mean expression for each antibody across pixels within each whole cell segmentation boundary, which we define as the signal intensity for cell i and target t.
Cell-level quality control
Since there is technical variation in CODEX staining and imaging quality, we applied multiple quality control filters to eliminate cells with atypical quality characteristics. First, we defined for cell i the signal sum Σi, mean μi, standard deviation σi, and coefficient of variation CoVi across the set of targets T, composed of DAPI + all antibodies in Table S3.
| (Equation 47) |
| (Equation 48) |
| (Equation 49) |
| (Equation 50) |
We then filtered cells for analysis by removing outliers for Σi, CoVi, and using manual thresholding of outlier thresholds and representative visual inspection to confirm low quality cells.
Annotation of cell types
Unsupervised clustering was performed by computing nearest neighbor distances (n_neighbors = 30) and Leiden clustering (resolution = 1) using the Python scanpy package.106,107 Clustering was done simultaneously using all NSCLC mIF datasets. Clusters were annotated by a board-certified pathologist based on mean marker expression and manual inspection of raw mIF data. Following this, lymphocytes, macrophages, and indeterminate/mixed populations were subjected to sub-clustering and fine-level annotation. Finally, the initial annotations and fine annotations were merged to create a unified annotation of cell types across NSCLC mIF datasets (Table S4).
Annotation of neighborhood types
Unsupervised identification of neighborhood clusters was performed by 1) defining local regions consisting of the 25 nearest cells in physical space and 2) clustering these regions into classes based on the frequencies of cell annotations they contain. This was done by defining the number of classes to be either 10 (‘neighborhoods’) or 30 (‘sub-neighborhoods’). Finally, classes were annotated by a board-certified pathologist based on the mean frequencies of their member cell annotations and by manual inspection of raw mIF data (Table S4).
Markov Chain Monte Carlo (MCMC) simulation
CODEX mIF intensity normalization
Prior to using CODEX mIF intensities as an input to MCMC, we normalized signal intensities for (1) variation in local background and (2) variation in signal distribution between samples.
To correct for variation in local background, we divided each sample into 100 equally sized bins and used multi-Gaussian modeling for each target t∈T to identify the upper limits of that marker’s local null distribution. Let i and j represent the bin numbers in the x and y directions respectively. Then we denote cellsi,j as the set of cells in a given sample bin (i,j) and as the set of signal intensities for marker t for cellsi,j. We used the ‘mclust’ R package to fit 2 Gaussians to for all values of i, j, and t. Then we defined the upper bound of the null distribution as the 95% percentile of that distribution for a given bin and marker. Finally, we subtracted from as a correction for local background signal variation.
| (Equation 51) |
| (Equation 52) |
| (Equation 53) |
| (Equation 54) |
Cell-level normalized marker intensity data is contained within Table S4.
MCMC data inputs
As depicted in Figure 6A, there were four representations of the mIF data that were used as inputs to the MCMC simulation: 1) mean marker intensity, 2) cell type abundance, 3) neighborhood abundance, and marker SLAB. For each representation, mIF data coordinates were aligned to ST-seq spot coordinates (see ‘Alignment of ST-seq and mIF data’), and only the intensity data and annotations corresponding to cells located within ST-seq spot boundaries were considered. We found that amongst the six datasets with aligned ST-seq and mIF data, the mean number of mIF cell segmentations per ST-seq by dataset ranged from 15.2 cells/spot to 23.3 cells/spot (Figure S7B).
For mean marker intensity, we computed the mean intensity for each marker across all cells within a dataset. For cell type and neighborhood abundance, we computed the frequency of each cell type or neighborhood type annotation across all cells within a dataset. For marker SLAB, we first computed the sum of marker intensities for all cells in a spot. This resulted in a matrix of summed marker intensities where each spot in a dataset is arranged in rows and each mIF marker is arranged in columns. This matrix and the ST-seq spot coordinate matrix were used as inputs for TumorSPACE to compute SGs, differential marker abundance across SGs, and marker-wide SLAB scores as described in ‘TumorSPACE: models and associated analysis’. With each representation, the final matrix used as input to MCMC had dimensions of 6 samples x f features, where f is the number of features for that data representation.
MCMC algorithm
To perform empirical feature selection so that tumor spatial similarity defined by genome-wide SLAB could be compared to the four mIF data representations as described in Figure 6, we applied a Markov Chain Monte Carlo (MCMC) approach. This was useful given the following properties of this task. First, this is a cardinality-contained optimization problem and therefore is NP-hard due to the discrete nature of feature selection. This requires solving the problem ‘in-shell’ for each cardinality ranging from one to the total number of features corresponding to a particular mIF representation. Furthermore, due to the lack of an analytical model that relates genome-wide SLAB to the mIF feature space, we set our objective () as the correlations between SLAB properties (DSLAB) and equivalent properties produced by our feature set (DmIF). This correlation objective function is non-convex, meaning the search space possibly contains multiple local optima, thus rendering standard gradient-based optimization algorithms infeasible.
To address this, we created a Markov Chain Monte Carlo (MCMC) simulation framework as follows. For any cardinality ‘k’, the procedure begins by selecting a random subset of k features (S) referred to as ‘the seed’ out all possible k-membered subsets (Sk) of total mIF-feature space FmIF. From there, the MCMC algorithm enters a ‘high-entropy burn-in’ phase of broad exploratory sampling for 10,000 steps during which it probabilistically accepts steps in order to allow the system to escape local optima and survey a wide range of feature selection possibilities with a bias toward ones that increase the objective. Following this period, the algorithm transitions to a more focused ‘low-entropy convergence’ phase of 15,000 steps by starting with the optimized configuration from the burn-in phase and fine-tuning the feature selection by only accepting small changes that increase the objective.
Let Sk be the set of all k-membered subsets of mIF Features (FmIF), denote the correlation objective to be maximized, S∗ denote the element of Sk that maximizes this objective, and DmIF (S) be the SLAB distances produced by a an element S of Sk.
| (Equation 55) |
10× Visium CytAssist spatial transcriptomics (ST-seq)
Tissue quality was determined by isolation of RNA from FFPE using the Qiagen RNeasy FFPE kit. Samples were then analyzed for tissue extraction quality using the Agilent 2100 bio-analyzer and Agilent RNA-6000 pico kit. For each sample, a DV200 score – the fraction of RNA fragments >200 nucleotides in length – was calculated. Tissue quality for all samples was tested on unstained sections adjacent to the section used for ST-seq.
DLBCL samples were previously H&E stained. Imaging and coverslip removal were completed as described by 10× Protocol CG000518-Rev A and decrosslinking was performed according to 10× Protocol CG000520-Rev A.108,109 NSCLC samples underwent deparaffinization, H&E staining, imaging, and decrosslinking according to CG000520-Rev B.109 Sample imaging for all samples was performed using the Akoya Biosciences Vectra Polaris at 20× magnification.
We next performed the following steps as per either 10× Protocol CG000495-Rev A for the DLBCL samples or 10× Protocol CG000495-Rev E for the NSCLC samples.110 First, samples underwent probe hybridization with Visium Human Transcriptome Probe Set v2.0, followed by probe ligation, and associated washes (Table S13). Two native tissue slides and one Visium CytAssist 11 × 11 mm slide were then placed within the Visium CytAssist to enable RNA digestion, tissue removal, and transfer of ligated products onto the two fiducial frames of the Visium Slide. Next, we performed probe extension and elution off the Visium Slide, followed by pre-amplification and SPRIselect cleanup. For SPRIselect cleanup, DLBCL samples placed in only the ‘High’ position of the 10× magnetic separator, while NSCLC samples were placed in both ‘High’ and ‘Low’ positions according to CG000495-Rev E. To identify the optimal number of cycles for library amplification, we performed qPCR using Applied Biosciences QuantStudio 6 Pro as per CG000495-Rev E (Table S9). For this step, we included 0.5 μL of carboxy-X-rhodamine (ROX) with the DLBCL samples and not with the NSCLC samples. Sample Index PCR was run using the sample-specific optimal number of cycles, followed by: cleanup, Agilent TapeStation QC, sequencing, and demultiplexing using Bcl2fastq. Sample sequencing was performed on a NovaSeq 6000 for DLBCL samples and a NovaSeqX for NSCLC samples. Sample-specific parameters and QC are listed in Table S9. For DLBCL experiments, we used the Applied Biosystems Veriti 96 well thermocycler, while for NSCLC samples we used the Eppendorf Mastercycler ×50a and ×50I.
CODEX multiplexed immunofluorescence
Slide preparation
NSCLC samples were obtained as unstained slides mounted with 5 μm thickness formaldehyde-fixed, paraffin-embedded (FFPE) sections from the same patient biopsies as described in ‘Patient samples‘. Coverslips were coated with 0.1% poly-L-lysine solution prior to mounting tissue sections to enhance adherence. The prepared coverslips were washed and stored according to guidelines from the CODEX user manual.111
Antibody preparation
Custom conjugated antibodies were conjugated using the CODEX conjugation kit as per the CODEX user manual (Table S3). Briefly, the antibody is (1) partially reduced to expose thiol ends of the antibody heavy chains, (2) conjugated with a CODEX barcode, (3) purified, and (4) added to Antibody Storage Solution for long-term stabilization. Subsequently, antibody conjugation is verified using sodium dodecyl sulfate-polyacrylamide gel electrophoresis and with QC staining.
Staining and data acquisition
Sample slides are stained following protocols in the CODEX User Manual. Briefly, samples are pretreated by heating at 60°C overnight, followed by deparaffinization, rehydration using ethanol washes, and antigen retrieval via immersion in Tris-EDTA pH 9.0 for 20 min. Samples are then blocked in staining buffer and incubated with the antibody cocktail for 3 h at room temperature. After incubation, samples are washed and fixed following the CODEX User Manual. Data acquisition was performed using the PhenoCycler-Fusion 2.0 with a 20× objective, resulting in a resolution of 0.5 μm/pixel.
Patient tumor PD-L1 IHC
FFPE biopsy samples were probed for PD-L1 expression using a qualitative immunohistochemical assay with the Dako 22C3 antibody (Pharm Dx kit). PD-L1 expression was classified using the Tumor Proportion Score (TPS), which represents the percentage of viable tumor cells that show partial or complete membrane staining. Normal background histiocytes served as internal controls to ensure quality of the PD-L1 staining. Quantification was performed by a board-certified pathologist as part of routine clinical care.
Patient somatic mutation testing
The molecular profiles of the tumor biopsies were analyzed using Oncoplus or Oncoscreen, two Next Generation Sequencing (NGS) assays.112 A description of patient mutation status can be found in Table S8. Since the list of targeted genomic regions varied by the year in which testing was performed, a list of Oncoplus/Oncoscreen versions used for each patient as well as a list of the targeted genomic regions for each version can be found in Tables S8 and S14, respectively.
For the Oncoplus analysis, DNA was isolated from the samples using the QIAamp DNA Blood Mini Kit (Qiagen), fragmented, and prepared into a sequencing library with patient-specific indexes (HTP Library Preparation Kit, Kapa Biosystems). Targeted genomic regions were enriched using a panel of biotinylated oligonucleotides (SeqCap EZ, Roche Nimblegen) supplemented with additional oligonucleotides (xGen Lockdown Probes, IDT). The enriched libraries were then sequenced on an Illumina HiSeq 2500 system, and the data was analyzed via bioinformatics pipelines against the hg19 (GRCh37) human genome reference sequence.
For Oncoscreen, DNA was isolated from formalin-fixed paraffin-embedded (FFPE) tumor tissue using the QIAamp DNA FFPE Tissue Kit (Qiagen). DNA was quantified using the Qubit fluorometric assay (Thermo Fisher Scientific) and a quantitative PCR assay (hgDNA Quantitation and QC kit, KAPA Biosystems). Targeted genomic regions were amplified using multiplex PCR (Thermo Fisher Scientific); PCR products were used to prepare NGS libraries with patient-specific adapter index sequences (HTP Library Preparation Kit, KAPA Biosystems). The enriched libraries were then sequenced on an Illumina MiSeq system, and the data was analyzed via bioinformatics pipelines against the hg19 (GRCh37) human genome reference sequence.
Patient tumor volume measurements
For measurement of tumor volume changes over time, computed tomography (CT) imaging reports were obtained for patients in the NSCLC as permitted by the IRBs referenced in ‘Patient samples’. For patients with measurable disease at the time of treatment start (denoted as month zero), the largest lesion was identified and labeled the ‘index lesion’. Changes in index lesions were collected when described in serial reports by a board-certified radiologist as part of routine clinical care.
Quantification and statistical analysis
TumorSPACE was implemented in Julia (v1.9.0) using SpectralInference (v0.4.1), PhyloNetworks (v1.0.0), HypothesisTests (v0.11.3), NewickTree (v0.3.1), and BOOSTER (v0.4.2) for transfer bootstrap expectation support. Additional spatial transcriptomic and cell-type analyses were performed in R (v4.1.0) using Seurat (v4.4.0), spatstat (v3.0.8), SpaCET (v1.3.0), ape (v5.8.1), phangorn (v2.12.1), phytools (v2.5.2), castor (v1.8.5), mclust (v6.0.1), GSEABase (v1.56.0), and the Behera2025paper R package (aramanlab/Behera_et al._2025). Gene set analyses were performed in Python (v3.11.5) using gseapy (v1.1.10), numpy (v1.24.4), pandas (v1.5.3), scipy (v1.10.1), and statsmodels (v0.14.0). Visualizations were generated using ggplot2 (v3.5.1) in R.
Statistical analyses were conducted in R, Python, and Julia. Spatial Group (SG) inference was performed using TumorSPACE, which applies singular value decomposition (SVD) to spot-by-gene count matrices to construct spectral distance matrices, followed by hierarchical clustering to delineate SG domains; branch support was estimated by Transfer Bootstrap Expectation (TBE) using BOOSTER with multiplicative Gaussian noise injection (n = 10 replicates per SVD run). Pathway enrichment was assessed by gene set over-representation analysis and GSEA (gseapy; 20,000 permutations). For CODEX multiplex immunofluorescence data, local background intensity was corrected using Gaussian mixture modeling (mclust; G = 2); CODEX panel selection used a custom MCMC approach (25,000 iterations; n = 50 independent random seeds) with Pearson correlation as the energy function. Spatial clustering of SG domains was assessed using Ripley’s K with border correction (spatstat). The Wilcoxon rank-sum test was used to compare features between SG nodes and sibling subtrees, with empirical p-values estimated from 1,000 permutations; multiple comparisons were adjusted using the Benjamini-Hochberg method. Contextual concordance of SG biology across nested tree nodes was evaluated using the chi-square test with odds ratios and 95% confidence intervals. A p-value <0.05 was considered statistically significant.113 Exact values of n and precision measures for plotting are provided in the figure legends.
Published: August 28, 2026
Footnotes
Supplemental information can be found online at https://doi.org/10.1016/j.xcrm.2026.103013.
Supplemental information
References
- 1.Arneth B. Tumor microenvironment. Medicina (Lithuania) 2019;56:15. doi: 10.3390/medicina56010015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Anderson N.M., Simon M.C. The tumor microenvironment. Curr. Biol. 2020;30:R921–R925. doi: 10.1016/j.cub.2020.06.081. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Burgos-Panadero R., Lucantoni F., Gamero-Sandemetrio E., Cruz-Merino L.d.l., Álvaro T., Noguera R. The tumour microenvironment as an integrated framework to understand cancer biology. Cancer Lett. 2019;461:112–122. doi: 10.1016/j.canlet.2019.07.010. [DOI] [PubMed] [Google Scholar]
- 4.Giraldo N.A., Sanchez-Salas R., Peske J.D., Vano Y., Becht E., Petitprez F., Validire P., Ingels A., Cathelineau X., Fridman W.H., Sautès-Fridman C. The clinical role of the TME in solid cancer. Br. J. Cancer. 2019;120:45–53. doi: 10.1038/s41416-018-0327-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Azimi F., Scolyer R.A., Rumcheva P., Moncrieff M., Murali R., McCarthy S.W., Saw R.P., Thompson J.F. Tumor-infiltrating lymphocyte grade is an independent predictor of sentinel lymph node status and survival in patients with cutaneous melanoma. J. Clin. Oncol. 2012;30:2678–2683. doi: 10.1200/JCO.2011.37.8539. [DOI] [PubMed] [Google Scholar]
- 6.Thomas N.E., Busam K.J., From L., Kricker A., Armstrong B.K., Anton-Culver H., Gruber S.B., Gallagher R.P., Zanetti R., Rosso S., et al. Tumor-infiltrating lymphocyte grade in primary melanomas is independently associated with melanoma-specific survival in the population-based genes, environment and melanoma study. J. Clin. Oncol. 2013;31:4252–4259. doi: 10.1200/JCO.2013.51.3002. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Pagès F., Mlecnik B., Marliot F., Bindea G., Ou F.S., Bifulco C., Lugli A., Zlobec I., Rau T.T., Berger M.D., et al. International validation of the consensus Immunoscore for the classification of colon cancer: a prognostic and accuracy study. Lancet. 2018;391:2128–2139. doi: 10.1016/S0140-6736(18)30789-X. [DOI] [PubMed] [Google Scholar]
- 8.Marliot F., Chen X., Kirilovsky A., Sbarrato T., El Sissy C., Batista L., Van den Eynde M., Haicheur-Adjouri N., Anitei M.G., Musina A.M., et al. Analytical validation of the Immunoscore and its associated prognostic value in patients with colon cancer. J. Immunother. Cancer. 2020;8:e000272. doi: 10.1136/jitc-2019-000272. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Bruni D., Angell H.K., Galon J. The immune contexture and Immunoscore in cancer prognosis and therapeutic efficacy. Nat. Rev. Cancer. 2020;20:662–680. doi: 10.1038/s41568-020-0285-7. [DOI] [PubMed] [Google Scholar]
- 10.Park Y.M., Lin D.C. Moving closer towards a comprehensive view of tumor biology and microarchitecture using spatial transcriptomics. Nat. Commun. 2023;14:7017. doi: 10.1038/s41467-023-42960-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Bressan D., Battistoni G., Hannon G.J. The dawn of spatial omics. Science (New York, N.Y.) 2023;381:eabq4964. doi: 10.1126/science.abq4964. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Ali H.R., Jackson H.W., Zanotelli V.R.T., Danenberg E., Fischer J.R., Bardwell H., Provenzano E., Rueda O.M., Chin S.F. Imaging mass cytometry and multiplatform genomics define the phenogenomic landscape of breast cancer. Nat. Cancer. 2020;1:163–175. doi: 10.1038/s43018-020-0026-6. [DOI] [PubMed] [Google Scholar]
- 13.Danenberg E., Bardwell H., Zanotelli V.R.T., Provenzano E., Chin S.F., Rueda O.M., Green A., Rakha E., Aparicio S., Ellis I.O., et al. Breast tumor microenvironment structures are associated with genomic features and clinical outcome. Nat. Genet. 2022;54:660–669. doi: 10.1038/s41588-022-01041-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Schürch C.M., Bhate S.S., Barlow G.L., Phillips D.J., Noti L., Zlobec I., Chu P., Black S., Demeter J., McIlwain D.R., et al. Coordinated Cellular Neighborhoods Orchestrate Antitumoral Immunity at the Colorectal Cancer Invasive Front. Cell. 2020;182:1341–1359.e19. doi: 10.1016/j.cell.2020.07.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Gaglia G., Kabraji S., Rammos D., Dai Y., Verma A., Wang S., Mills C.E., Chung M., Bergholz J.S., Coy S., et al. Temporal and spatial topography of cell proliferation in cancer. Nat. Cell Biol. 2022;24:316–326. doi: 10.1038/s41556-022-00860-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Nirmal A.J., Maliga Z., Vallius T., Quattrochi B., Chen A.A., Jacobson C.A., Pelletier R.J., Yapp C., Arias-Camison R., Chen Y.A., et al. The Spatial Landscape of Progression and Immunoediting in Primary Melanoma at Single-Cell Resolution. Cancer Discov. 2022;12:1518–1541. doi: 10.1158/2159-8290.CD-21-1357. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Greenwald A.C., Darnell N.G., Hoefflin R., Simkin D., Mount C.W., Gonzalez Castro L.N., Harnik Y., Dumont S., Hirsch D., Nomura M., et al. Integrative spatial analysis reveals a multi-layered organization of glioblastoma. Cell. 2024;187:2485–2501.e26. doi: 10.1016/j.cell.2024.03.029. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Jia G., He P., Dai T., Goh D., Wang J., Sun M., Wee F., Li F., Lim J.C.T., Hao S., et al. Spatial immune scoring system predicts hepatocellular carcinoma recurrence. Nature. 2025;640:1031–1041. doi: 10.1038/s41586-025-08668-x. [DOI] [PubMed] [Google Scholar]
- 19.Du J., Yang Y.C., An Z.J., Zhang M.H., Fu X.H., Huang Z.F., Yuan Y., Hou J. Advances in spatial transcriptomics and related data analysis strategies. J. Transl. Med. 2023;21:330. doi: 10.1186/s12967-023-04150-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Jing S.Y., Wang H.q., Lin P., Yuan J., Tang Z.x., Li H. Quantifying and interpreting biologically meaningful spatial signatures within tumor microenvironments. npj Precis. Oncol. 2025;9:68. doi: 10.1038/s41698-025-00857-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Halabi N., Rivoire O., Leibler S., Ranganathan R. Protein Sectors: Evolutionary Units of Three-Dimensional Structure. Cell. 2009;138:774–786. doi: 10.1016/j.cell.2009.07.038. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Russ W.P., Lowery D.M., Mishra P., Yaffe M.B., Ranganathan R. Natural-like function in artificial WW domains. Nature. 2005;437:579–583. doi: 10.1038/nature03990. [DOI] [PubMed] [Google Scholar]
- 23.Russ W.P., Figliuzzi M., Stocker C., Barrat-Charlaix P., Socolich M., Kast P., Hilvert D., Monasson R., Cocco S., Weigt M., Ranganathan R. An evolution-based model for designing chorismate mutase enzymes. Science. 2020;369:440–445. doi: 10.1126/science.aba3304. [DOI] [PubMed] [Google Scholar]
- 24.McLaughlin R.N., Poelwijk F.J., Raman A., Gosal W.S., Ranganathan R. The spatial architecture of protein function and adaptation. Nature. 2012;491:138–142. doi: 10.1038/nature11500. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Eisen J.A. Phylogenomics: Improving functional predictions for uncharacterized genes by evolutionary analysis. Genome Res. 1998;8:163–167. doi: 10.1101/gr.8.3.163. [DOI] [PubMed] [Google Scholar]
- 26.Pellegrini M., Marcotte E.M., Thompson M.J., Eisenberg D., Yeates T.O. Assigning protein functions by comparative genome analysis: Protein phylogenetic profiles. Proc. Natl. Acad. Sci. USA. 1999;96:4285–4288. doi: 10.1073/pnas.96.8.4285. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Cong Q., Anishchenko I., Ovchinnikov S., Baker D. Protein interaction networks revealed by proteome coevolution. Science. 2019;365:185–189. doi: 10.1126/science.aaw6718. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Zaydman M.A., Little A.S., Haro F., Aksianiuk V., Buchser W.J., DiAntonio A., Gordon J.I., Milbrandt J., Raman A.S. Defining hierarchical protein interaction networks from spectral analysis of bacterial proteomes. eLife. 2022;11 doi: 10.7554/eLife.74104. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Jia J., Shuai M., Yan W., Tang Q., Wang B., Tang W., Wang P., Zhang T., Yang S., Zhang Y., et al. Conserved Covarying Gut Microbial Network in Preterm Infants and Childhood Growth During the First 5 Years of Life: A Prospective Cohort Study. Am. J. Clin. Nutr. 2023;118:561–571. doi: 10.1016/j.ajcnut.2023.07.019. [DOI] [PubMed] [Google Scholar]
- 30.Raman A.S., Gehrig J.L., Venkatesh S., Chang H.W., Hibberd M.C., Subramanian S., Kang G., Bessong P.O., Lima A.A.M., Kosek M.N., et al. A sparse covarying unit that describes healthy and impaired human gut microbiota development. Science. 2019;365 doi: 10.1126/science.aau4735. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Geesink P., Horst J.t., Ettema T.J.G. More than the sum of its parts: uncovering emerging effects of microbial interactions in complex communities. FEMS (Fed. Eur. Microbiol. Soc.) Microbiol. Ecol. 2024;100:1–7. doi: 10.1093/femsec/fiae029. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Bulle A., Lim K.-H. Beyond just a tight fortress: contribution of stroma to epithelial-mesenchymal transition in pancreatic cancer. Signal Transduct. Targeted Ther. 2020;5 doi: 10.1038/s41392-020-00341-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Panayiotou H., Orsi N.M., Thygesen H.H., Wright A.I., Winder M., Hutson R., Cummings M. The prognostic significance of tumour-stroma ratio in endometrial carcinoma. BMC Cancer. 2015;15 doi: 10.1186/s12885-015-1981-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Walker B.L., Nie Q. NeST: nested hierarchical structure identification in spatial transcriptomic data. Nat. Commun. 2023;14 doi: 10.1038/s41467-023-42343-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Lin X., Gao L., Whitener N., Ahmed A., Wei Z. A model-based constrained deep learning clustering approach for spatially resolved single-cell data. Genome Res. 2022;32:1906–1917. doi: 10.1101/gr.276477.121. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Dong K., Zhang S. Deciphering spatial domains from spatially resolved transcriptomics with an adaptive graph attention auto-encoder. Nat. Commun. 2022;13:1739. doi: 10.1038/s41467-022-29439-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Long Y., Ang K.S., Li M., Chong K.L.K., Sethi R., Zhong C., Xu H., Ong Z., Sachaphibulkij K., Chen A., et al. Spatially informed clustering, integration, and deconvolution of spatial transcriptomics with GraphST. Nat. Commun. 2023;14:1155. doi: 10.1038/s41467-023-36796-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Hu J., Li X., Coleman K., Schroeder A., Ma N., Irwin D.J., Lee E.B., Shinohara R.T., Li M. SpaGCN: Integrating gene expression, spatial location and histology to identify spatial domains and spatially variable genes by graph convolutional network. Nat. Methods. 2021;18:1342–1351. doi: 10.1038/s41592-021-01255-8. [DOI] [PubMed] [Google Scholar]
- 39.Tian T., Zhang J., Lin X., Wei Z., Hakonarson H. Dependency-aware deep generative models for multitasking analysis of spatial omics data. Nat. Methods. 2024;21:1501–1513. doi: 10.1038/s41592-024-02257-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Haviv D., Remšík J., Gatie M., Snopkowski C., Pe’er D., Pereira N., Bashkin J., Jovanovich S., Nawy T., Chaligne R., et al. The covariance environment defines cellular niches for spatial inference. Nat. Biotechnol. 2024;43:269–280. doi: 10.1038/s41587-024-02193-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Karlsson J., Yasui H., Mañas A., Andersson N., Hansson K., Aaltonen K., Jansson C., Durand G., Ravi N., Ferro M., et al. Early evolutionary branching across spatial domains predisposes to clonal replacement under chemotherapy in neuroblastoma. Nat. Commun. 2024;15:8992. doi: 10.1038/s41467-024-53334-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Ru B., Huang J., Zhang Y., Aldape K., Jiang P. Estimation of cell lineages in tumors from spatial transcriptomics data. Nat. Commun. 2023;14 doi: 10.1038/s41467-023-36062-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Yi M., Li T., Niu M., Zhang H., Wu Y., Wu K., Dai Z. Targeting cytokine and chemokine signaling pathways for cancer therapy. Signal Transduct. Targeted Ther. 2024;9:176. doi: 10.1038/s41392-024-01868-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Joyce J.A., Fearon D.T. cell exclusion, immune privilege, and the tumor microenvironment. Science. 2015;348:74–80. doi: 10.1126/SCIENCE.AAA6204/ASSET/E896EF04-96FA-4B89-B861-47449E45B917/ASSETS/GRAPHIC/348_74_F3.JPEG. [DOI] [PubMed] [Google Scholar]
- 45.Svensson V., Teichmann S.A., Stegle O. SpatialDE: Identification of spatially variable genes. Nat. Methods. 2018;15:343–346. doi: 10.1038/nmeth.4636. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Mo C.-K., Liu J., Chen S., Storrs E., Targino da Costa A.L.N., Houston A., Wendl M.C., Jayasinghe R.G., Iglesia M.D., Ma C., et al. Tumour evolution and microenvironment interactions in 2D and 3D space. Nature. 2024;634:1178–1186. doi: 10.1038/s41586-024-08087-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Deshpande A., Loth M., Sidiropoulos D.N., Zhang S., Yuan L., Bell A.T.F., Zhu Q., Ho W.J., Santa-Maria C., Gilkes D.M., et al. Uncovering the spatial landscape of molecular interactions within the tumor microenvironment through latent spaces. Cell Syst. 2023;14:285–301.e4. doi: 10.1016/j.cels.2023.03.004. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Tanaka M., Lum L., Hu K.H., Chaudhary P., Hughes S., Ledezma-Soto C., Samad B., Superville D., Ng K., Chumber A., et al. Tumor cell heterogeneity drives spatial organization of the intratumoral immune response. J. Exp. Med. 2025;222 doi: 10.1084/JEM.20242282/277357. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Pieniawska M., Iżykowska K. Role of Histone Deacetylases in T-Cell Development and Function. Int. J. Mol. Sci. 2022;23:7828. doi: 10.3390/IJMS23147828. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Zhang Y., Fan Y., Hu Y., Wang X., Wen B., Duan X., Li H., Dong S., Yan Z., Zhang W., Jing Y. The role of MBD2 in immune cell development, function, and autoimmune diseases. Cell Death Discov. 2025;11:280. doi: 10.1038/S41420-025-02563-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Pan D., Kobayashi A., Jiang P., Ferrari de Andrade L., Tay R.E., Luoma A.M., Tsoucas D., Qiu X., Lim K., Rao P., et al. A major chromatin regulator determines resistance of tumor cells to T cell-mediated killing. Science. 2018;359:770–775. doi: 10.1126/SCIENCE.AAO1710/SUPPL_FILE/AAO1710_PAN_SM.PDF. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Huang S., Xu J., Li Y., Mo W., Lin X., Wang Y., Liang F., Bai Y., Huang G., Chen J., et al. A syndrome featuring developmental disorder of the nervous system induced by a novel mutation in the TCF20 gene, rarely concurrent immune disorders: a case report. Front. Genet. 2023;14:1192668. doi: 10.3389/FGENE.2023.1192668. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 53.Altmann T., Gennery A.R. DNA ligase IV syndrome; a review. Orphanet J. Rare Dis. 2016;11:137. doi: 10.1186/S13023-016-0520-1/FIGURES/1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Trefny M.P., Kirchhammer N., Auf der Maur P., Natoli M., Schmid D., Germann M., Fernandez Rodriguez L., Herzig P., Lötscher J., Akrami M., et al. Deletion of SNX9 alleviates CD8 T cell exhaustion for effective cellular cancer immunotherapy. Nat. Commun. 2023;14:86. doi: 10.1038/s41467-022-35583-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55.Wang Y., Chen F.R., Wei C.C., Sun L.L., Liu C.Y., Yang L.B., Guo X.Y. Zinc finger protein 671 has a cancer-inhibiting function in colorectal carcinoma via the deactivation of Notch signaling. Toxicol. Appl. Pharmacol. 2023;458:116326. doi: 10.1016/J.TAAP.2022.116326. [DOI] [PubMed] [Google Scholar]
- 56.Moon D.O. Exploring the Role of Surface and Mitochondrial ATP-Sensitive Potassium Channels in Cancer: From Cellular Functions to Therapeutic Potentials. Int. J. Mol. Sci. 2024;25:2129. doi: 10.3390/IJMS25042129. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 57.Wang Y., Ji N., Wang J., Cao J., Li D., Zhang Y., Zhang L. SCG3 Protein Expression in Glioma Associates With less Malignancy and Favorable Clinical Outcomes. Pathol. Oncol. Res. 2021;27:594931. doi: 10.3389/PORE.2021.594931/FULL. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Held-Feindt J., Paredes E.B., Blömer U., Seidenbecher C., Stark A.M., Mehdorn H.M., Mentlein R. Matrix-degrading proteases ADAMTS4 and ADAMTS5 (disintegrins and metalloproteinases with thrombospondin motifs 4 and 5) are expressed in human glioblastomas. Int. J. Cancer. 2006;118:55–61. doi: 10.1002/IJC.21258. [DOI] [PubMed] [Google Scholar]
- 59.El Khayari A., Bouchmaa N., Taib B., Wei Z., Zeng A., El Fatimy R. Metabolic Rewiring in Glioblastoma Cancer: EGFR, IDH and Beyond. Front. Oncol. 2022;12:901951. doi: 10.3389/FONC.2022.901951/XML. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.Van den bossche V., Vignau J., Vigneron E., Rizzi I., Zaryouh H., Wouters A., Ambroise J., Van Laere S., Beyaert S., Helaers R., et al. PPARα-mediated lipid metabolism reprogramming supports anti-EGFR therapy resistance in head and neck squamous cell carcinoma. Nat. Commun. 2025;16:1237. doi: 10.1038/s41467-025-56675-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 61.Miao X., Wang B., Chen K., Ding R., Wu J., Pan Y., Ji P., Ye B., Xiang M. Perspectives of lipid metabolism reprogramming in head and neck squamous cell carcinoma: An overview. Front. Oncol. 2022;12:1008361. doi: 10.3389/FONC.2022.1008361/XML. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 62.Shi M., Cho H., Inn K.S., Yang A., Zhao Z., Liang Q., Versteeg G.A., Amini-Bavil-Olyaee S., Wong L.Y., Zlokovic B.V., et al. Negative regulation of NF-κB activity by brain-specific TRIpartite Motif protein 9. Nat. Commun. 2014;5:4820. doi: 10.1038/ncomms5820. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 63.Bomar J.M., Benke P.J., Slattery E.L., Puttagunta R., Taylor L.P., Seong E., Nystuen A., Chen W., Albin R.L., Patel P.D., et al. Mutations in a novel gene encoding a CRAL-TRIO domain cause human Cayman ataxia and ataxia/dystonia in the jittery mouse. Nat. Genet. 2003;35:264–269. doi: 10.1038/NG1255;KWRD=BIOMEDICINE. [DOI] [PubMed] [Google Scholar]
- 64.Garassino M.C., Gadgeel S., Speranza G., Felip E., Esteban E., Dómine M., Hochmair M.J., Powell S.F., Bischoff H.G., Peled N., et al. Pembrolizumab Plus Pemetrexed and Platinum in Nonsquamous Non-Small-Cell Lung Cancer: 5-Year Outcomes from the Phase 3 KEYNOTE-189 Study. J. Clin. Oncol. 2023;41:1992–1998. doi: 10.1200/JCO.22.01989. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 65.Hallqvist A., Rohlin A., Raghavan S. Immune checkpoint blockade and biomarkers of clinical response in non–small cell lung cancer. Scand. J. Immunol. 2020;92:e12980. doi: 10.1111/sji.12980. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 66.Mino-Kenudson M., Schalper K., Cooper W., Dacic S., Hirsch F.R., Jain D., Lopez-Rios F., Tsao M.S., Yatabe Y., Beasley M.B., et al. Predictive Biomarkers for Immunotherapy in Lung Cancer: Perspective From the International Association for the Study of Lung Cancer Pathology Committee. J. Thorac. Oncol. 2022;17:1335–1354. doi: 10.1016/j.jtho.2022.09.109. [DOI] [PubMed] [Google Scholar]
- 67.Mandrekar S.J., Sargent D.J. Clinical trial designs for predictive biomarker validation: Theoretical considerations and practical challenges. J. Clin. Oncol. 2009;27:4027–4034. doi: 10.1200/JCO.2009.22.3701/ASSET/F38765D6-7A1E-44F3-9ED6-1E2046D51C84/ASSETS/GRAPHIC/ZLJ9990989970004.JPEG. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 68.Ott P.A., Bang Y.J., Piha-Paul S.A., Razak A.R.A., Bennouna J., Soria J.C., Rugo H.S., Cohen R.B., O'Neil B.H., Mehnert J.M., et al. T-cell–inflamed gene-expression profile, programmed death ligand 1 expression, and tumor mutational burden predict efficacy in patients treated with pembrolizumab across 20 cancers: KEYNOTE-028. J. Clin. Oncol. 2019;37:318–327. doi: 10.1200/JCO.2018.78.2276/ASSET/B0F82294-C01C-4B70-8153-3DED45247E88/ASSETS/IMAGES/LARGE/JCO.2018.78.2276TA3.JPG. [DOI] [PubMed] [Google Scholar]
- 69.Fehrenbacher L., Spira A., Ballinger M., Kowanetz M., Vansteenkiste J., Mazieres J., Park K., Smith D., Artal-Cortes A., Lewanski C., et al. Atezolizumab versus docetaxel for patients with previously treated non-small-cell lung cancer (POPLAR): A multicentre, open-label, phase 2 randomised controlled trial. Lancet. 2016;387:1837–1846. doi: 10.1016/S0140-6736(16)00587-0. [DOI] [PubMed] [Google Scholar]
- 70.Higgs B.W., Morehouse C.A., Streicher K., Brohawn P.Z., Pilataxi F., Gupta A., Ranade K. Interferon gamma messenger RNA Signature in tumor biopsies predicts outcomes in patients with non–small cell lung carcinoma or urothelial cancer treated with durvalumab. Clin. Cancer Res. 2018;24:3857–3866. doi: 10.1158/1078-0432.CCR-17-3451/73799/AM/INTERFERON-GAMMA-MESSENGER-RNA-SIGNATURE-IN-TUMOR. [DOI] [PubMed] [Google Scholar]
- 71.Damotte D., Warren S., Arrondeau J., Boudou-Rouquette P., Mansuet-Lupo A., Biton J., Ouakrim H., Alifano M., Gervais C., Bellesoeur A., et al. The tumor inflammation signature (TIS) is associated with anti-PD-1 treatment benefit in the CERTIM pan-cancer cohort. J. Transl. Med. 2019;17:357. doi: 10.1186/S12967-019-2100-3/FIGURES/3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 72.Hwang S., Kwon A.Y., Jeong J.Y., Kim S., Kang H., Park J., Kim J.H., Han O.J., Lim S.M., An H.J. Immune gene signatures for predicting durable clinical benefit of anti-PD-1 immunotherapy in patients with non-small cell lung cancer. Sci. Rep. 2020;10:643. doi: 10.1038/s41598-019-57218-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 73.Leng Y., Dang S., Yin F., Gao T., Xiao X., Zhang Y., Chen L., Qin C., Lai N., Zhan X.Y., et al. GDPLichi: a DNA Damage Repair-Related Gene Classifier for Predicting Lung Adenocarcinoma Immune Checkpoint Inhibitors Response. Front. Oncol. 2021;11:733533. doi: 10.3389/FONC.2021.733533/BIBTEX. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 74.Budczies J., Kirchner M., Kluck K., Kazdal D., Glade J., Allgäuer M., Kriegsmann M., Heußel C.P., Herth F.J., Winter H., et al. A gene expression signature associated with B cells predicts benefit from immune checkpoint blockade in lung adenocarcinoma. OncoImmunology. 2021;10 doi: 10.1080/2162402X.2020.1860586. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 75.Meylan M., Petitprez F., Becht E., Bougoüin A., Pupier G., Calvez A., Giglioli I., Verkarre V., Lacroix G., Verneau J., et al. Tertiary lymphoid structures generate and propagate anti-tumor antibody-producing plasma cells in renal cell cancer. Immunity. 2022;55:527–541.e5. doi: 10.1016/J.IMMUNI.2022.02.001. [DOI] [PubMed] [Google Scholar]
- 76.Grout J.A., Sirven P., Leader A.M., Maskey S., Hector E., Puisieux I., Steffan F., Cheng E., Tung N., Maurin M., et al. Spatial Positioning and Matrix Programs of Cancer-Associated Fibroblasts Promote T-cell Exclusion in Human Lung Tumors. Cancer Discov. 2022;12:2606–2625. doi: 10.1158/2159-8290.CD-21-1714/708811/AM/SPATIAL-POSITIONING-AND-MATRIX-PROGRAMS-OF-CANCER. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 77.Hu J., Jiang Q., Mao W., Zhong S., Sun H., Mao K. STARD7 could be an immunological and prognostic biomarker: from pan-cancer analysis to hepatocellular carcinoma validation. Discov. Oncol. 2024;15:543. doi: 10.1007/S12672-024-01434-X/FIGURES/10. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 78.Wang X., Zhou M., Jiang L. The oncogenic and immunological roles of histidine triad nucleotide-binding protein 1 in human cancers and their experimental validation in the MCF-7 cell line. Ann. Transl. Med. 2023;11:147. doi: 10.21037/ATM-22-6637. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 79.Scalera S., Mazzotta M., Cortile C., Krasniqi E., De Maria R., Cappuzzo F., Ciliberto G., Maugeri-Saccà M. KEAP1-Mutant NSCLC: The Catastrophic Failure of a Cell-Protecting Hub. J. Thorac. Oncol. 2022;17:751–757. doi: 10.1016/J.JTHO.2022.03.011. [DOI] [PubMed] [Google Scholar]
- 80.La Vecchia S., Fontana S., Salaroglio I.C., Anobile D.P., Digiovanni S., Akman M., Jafari N., Godel M., Costamagna C., Corbet C., et al. Increasing membrane polyunsaturated fatty acids sensitizes non-small cell lung cancer to anti-PD-1/PD-L1 immunotherapy. Cancer Lett. 2024;604:217221. doi: 10.1016/J.CANLET.2024.217221. [DOI] [PubMed] [Google Scholar]
- 81.Song D., Wu Y., Li J., Liu J., Yi Z., Wang X., Sun J., Li L., Wu Q., Chen Y., et al. Insulin-like growth factor 2 drives fibroblast-mediated tumor immunoevasion and confers resistance to immunotherapy. J. Clin. Investig. 2024;134 doi: 10.1172/JCI183366. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 82.Wang T., Shen P., He Y., Zhang Y., Liu J. Spatial transcriptome uncovers rich coordination of metabolism in E. coli K12 biofilm. Nat. Chem. Biol. 2023;19:940–950. doi: 10.1038/s41589-023-01282-w. [DOI] [PubMed] [Google Scholar]
- 83.Alfaro-Arnedo E., López I.P., Piñeiro-Hermida S., Canalejo M., Gotera C., Sola J.J., Roncero A., Peces-Barba G., Ruíz-Martínez C., Pichel J.G. IGF1R acts as a cancer-promoting factor in the tumor microenvironment facilitating lung metastasis implantation and progression. Oncogene. 2022;41:3625–3639. doi: 10.1038/s41388-022-02376-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 84.Araújo A. InfoGAN: Interpretable Representation Learning by Information Maximizing Generative Adversarial Nets. Adv. Neural Inf. Process. Syst. 2016;29:433–440. [Google Scholar]
- 85.Araújo A. Attention is All you Need. Adv. Neural Inf. Process. Syst. 2017;30:433–440. [Google Scholar]
- 86.Watson J.L., Juergens D., Bennett N.R., Trippe B.L., Yim J., Eisenach H.E., Ahern W., Borst A.J., Ragotte R.J., Milles L.F., et al. De novo design of protein structure and function with RFdiffusion. Nature. 2023;620:1089–1100. doi: 10.1038/s41586-023-06415-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 87.Elmarakeby H.A., Hwang J., Arafeh R., Crowdis J., Gang S., Liu D., AlDubayan S.H., Salari K., Kregel S., Richter C., et al. Biologically informed deep neural network for prostate cancer discovery. Nature. 2021;598:348–352. doi: 10.1038/s41586-021-03922-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 88.Bezanson J.a.E., Edelman A., Karpinski S., Shah V.B. Julia: A fresh approach to numerical computing. SIAM Rev. 2017;59:65–98. [Google Scholar]
- 89.Godfrey J., Tumuluru S., Bao R., Leukam M., Venkataraman G., Phillip J., Fitzpatrick C., McElherne J., MacNabb B.W., Orlowski R., et al. PD-L1 gene alterations identify a subset of diffuse large B-cell lymphoma harboring a T-cell–inflamed phenotype. Blood. 2019;133:2279–2290. doi: 10.1182/blood-2018-10-879015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 90.Bankhead P., Loughrey M.B., Fernández J.A., Dombrowski Y., McArt D.G., Dunne P.D., McQuaid S., Gray R.T., Murray L.J., Coleman H.G., et al. QuPath: Open source software for digital pathology image analysis. Sci. Rep. 2017;7 doi: 10.1038/s41598-017-17204-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 91.Klema V., Laub A. The singular value decomposition: Its computation and some applications. IEEE Trans. Automat. Control. 1980;25:164–176. doi: 10.1109/TAC.1980.1102314. [DOI] [Google Scholar]
- 92.Doran B.A., Chen R.Y., Giba H., Behera V., Barat B., Sundararajan A., Lin H., Sidebottom A., Pamer E.G., Raman A.S. Subspecies phylogeny in the human gut revealed by co-evolutionary constraints across the bacterial kingdom. Cell Syst. 2025;16 doi: 10.1016/j.cels.2024.12.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 93.Lemoine F., Domelevo Entfellner J.B., Wilkinson E., Correia D., Dávila Felipe M., De Oliveira T., Gascuel O. Renewing Felsenstein's phylogenetic bootstrap in the era of Big Data. Nature. 2018;556:452–456. doi: 10.1038/s41586-018-0043-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 94.Ripley B.D. The Second-Order Analysis of Stationary Point Processes. J. Appl. Probab. 1976;13:255–266. doi: 10.2307/3212829. [DOI] [Google Scholar]
- 95.Ripley B.D. Cambridge University Press; 1988. Statistical Inference for Spatial Processes. [Google Scholar]
- 96.Morris J.A., Gardner M.J. Calculating confidence intervals for relative risks (odds ratios) and standardised ratios and rates. Br. Med. J. 1988;296:1313–1316. doi: 10.1136/bmj.296.6632.1313. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 97.Benjamini Y., Hochberg Y. Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing. J. Roy. Stat. Soc. B. 1995;57:289–300. doi: 10.1111/j.2517-6161.1995.tb02031.x. [DOI] [Google Scholar]
- 98.Sokal R.R., Michener C.D. A Statistical Method for Evaluating Systematic Relationships. University of Kansas Scientific Bulletin. 1958;28:1409–1438. [Google Scholar]
- 99.Lowe D.G. Object recognition from local scale-invariant features. Proceedings of the IEEE International Conference on Computer Vision. 1999;2:1150–1157. doi: 10.1109/ICCV.1999.790410. [DOI] [Google Scholar]
- 100.Bradski G. The OpenCV Library. Dr. Dobb's J. Softw. Tools. 2000;25:120–123. [Google Scholar]
- 101.Subramanian A., Tamayo P., Mootha V.K., Mukherjee S., Ebert B.L., Gillette M.A., Paulovich A., Pomeroy S.L., Golub T.R., Lander E.S., Mesirov J.P. Gene set enrichment analysis: A knowledge-based approach for interpreting genome-wide expression profiles. Proc. Natl. Acad. Sci. USA. 2005;102:15545–15550. doi: 10.1073/pnas.0506580102. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 102.Fabregat A., Sidiropoulos K., Garapati P., Gillespie M., Hausmann K., Haw R., Jassal B., Jupe S., Korninger F., McKay S., et al. The Reactome pathway Knowledgebase. Nucleic Acids Res. 2016;44:D481–D487. doi: 10.1093/nar/gkv1351. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 103.Chen E.Y., Tan C.M., Kou Y., Duan Q., Wang Z., Meirelles G.V., Clark N.R., Ma'ayan A. Enrichr: interactive and collaborative HTML5 gene list enrichment analysis tool. BMC Bioinf. 2013;14:128. doi: 10.1186/1471-2105-14-128. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 104.Greenwald N.F., Miller G., Moen E., Kong A., Kagel A., Dougherty T., Fullaway C.C., McIntosh B.J., Leow K.X., Schwartz M.S., et al. Whole-cell segmentation of tissue images with human-level performance using large-scale data annotation and deep learning. Nat. Biotechnol. 2022;40:555–565. doi: 10.1038/s41587-021-01094-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 105.van der Walt S., Schönberger J.L., Nunez-Iglesias J., Boulogne F., Warner J.D., Yager N., Gouillart E., Yu T., scikit-image contributors scikit-image: image processing in Python. PeerJ. 2014;2:e453. doi: 10.7717/peerj.453. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 106.Traag V.A., Waltman L., van Eck N.J. From Louvain to Leiden: guaranteeing well-connected communities. Sci. Rep. 2019;9 doi: 10.1038/s41598-019-41695-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 107.Wolf F.A., Angerer P., Theis F.J. SCANPY: Large-scale single-cell gene expression data analysis. Genome Biol. 2018;19 doi: 10.1186/s13059-017-1382-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 108.Genomics X. Visium Spatial Gene Expression for FFPE - Tissue Preparation Guide. Document Number CG000518 Rev A. 2022 [Google Scholar]
- 109.Genomics X. Visium Spatial Gene Expression for FFPE – Deparaffinization, H&E Staining, Imaging & Decrosslinking. Document Number CG000520 Rev A. 2022 [Google Scholar]
- 110.Genomics X. Visium CytAssist Spatial Gene Expression Reagent Kits. Document Number CG000495 Rev A. 2022 [Google Scholar]
- 111.Akoya Biosciences. CODEX User Manual Rev C (2021).
- 112.Kadri S., Long B.C., Mujacic I., Zhen C.J., Wurst M.N., Sharma S., McDonald N., Niu N., Benhamed S., Tuteja J.H., et al. Clinical Validation of a Next-Generation Sequencing Genomic Oncology Panel via Cross-Platform Benchmarking against Established Amplicon Sequencing Assays. J. Mol. Diagn. 2017;19:43–56. doi: 10.1016/j.jmoldx.2016.07.012. [DOI] [PubMed] [Google Scholar]
- 113.Wu X., Niculite C.M., Preda M.B., Rossi A., Tebaldi T., Butoi E., White M.K., Tudoran O.M., Petrusca D.N., Jannasch A.S., et al. Regulation of cellular sterol homeostasis by the oxygen responsive noncoding RNA lincNORS. Nat. Commun. 2020;11:4755. doi: 10.1038/s41467-020-18411-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
-
•
All data relevant to our study can be found within supplemental tables. ST-seq data related to the cohort of DLBCL and NSCLC patients are available at https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE292299, with the accession code GEO: GSE292299.
-
•
All TumorSPACE code, along with documentation and stepwise instructions, are written in the Julia88 language and available at https://github.com/aramanlab/TumorSPACE.jl. All processed data and code for producing the figures in this paper are available at https://github.com/aramanlab/Behera_etal_2025.
-
•
Deposited data in the key resources table: Pathologist-annotated H&E images corresponding to our pan-tumor database are available at https://zenodo.org/records/16856762. Raw and processed (Table S4) mIF data are available at https://zenodo.org/records/16851985 and https://zenodo.org/records/20722579.
-
•
Any additional information required to reanalyze the data reported in this work paper is available from the lead contact upon request
