Research Signal – Source date 2026-05-29
One patient with lung cancer had a complete response to pembrolizumab, a checkpoint-blocking immunotherapy. Another had a partial response. When researchers mapped immune cells in tissue from both patients, a model classified a larger share of T cells in the complete responder’s sample as resembling cells from people who responded to treatment.
Those are classifications made by software, not observed outcomes for individual cells. Still, the comparison points to a useful question: can the arrangement and communication of immune cells inside a tumor add information that a list of genes alone misses?
The study, published May 29, 2026, introduces GraphTME, a model that combines gene-expression patterns with inferred, spatially weighted interactions between cells. Its two-patient tissue comparison is an illustration of how the approach might work. It does not show that the method can select treatment for a new patient.
A tissue map keeps the neighbors in view
A tumor is not just a collection of cancer cells. It also contains immune and other cells whose local interactions may shape how the immune system responds. Measuring gene activity across a whole tissue sample blends together signals from different cells. Studying cells after removing them from tissue can reveal which genes are active in each cell, but loses where the cells were and which neighbors were close by.
Imaging-based spatial transcriptomics helps preserve both: it measures selected genes in individual cells while recording their positions in a tissue section. GraphTME uses those positions to estimate which cells might be communicating. The method’s focus is CD8+ T cells, immune cells that can recognize and attack tumor cells.
Clinicians already use PD-L1 staining to help assess the likelihood of benefit from checkpoint inhibitors. GraphTME takes a different angle, asking how T-cell gene patterns and their local cellular surroundings fit together. The paper does not compare the two approaches head to head, so it cannot show that GraphTME is better than PD-L1 testing or any other existing marker.
From gene patterns to directed connections
GraphTME represents cells as points connected by possible ligand–receptor signals. A ligand is a molecule that can bind to a receptor on another cell. The connections have direction, from the cell producing a ligand toward a cell with a matching receptor, and are grouped by signaling pathway. A connection receives less weight as the cells are farther apart, reflecting the model’s assumption that nearby cells are more likely to interact.
These are inferred connections based on measured gene expression and position, not direct observations of molecules passing between cells. The graph gives the model a structured way to represent which cells could be sending signals to which others, and how strongly those potential links are weighted.
The researchers trained the classifier using gene-expression data from CD8+ T cells of people with non-small cell lung cancer who received checkpoint inhibitors. Patient treatment outcomes supplied the labels: complete or partial response counted as response, while stable or progressive disease counted as non-response. Because those training cells had been separated from the tissue, the training graph contained gene features without spatial connections.
For spatial analysis, the researchers applied the trained model to mapped tissue and added the inferred, pathway-specific connections. The model’s parameters were not changed during this step. In effect, the classifier learned response-associated cell patterns from labeled single-cell data, then used neighborhood context when assigning classifications to cells in place.
What the score measures
On its test set of single-cell expression data, GraphTME reported an F1 score above 0.83. F1 combines a classifier’s ability to identify response-labeled cells with how often its positive classifications are correct. Here, the score describes cell-level classification against labels derived from patients’ treatment outcomes. It is not a measure of how accurately the model would predict whether a new patient will benefit from therapy.
The spatial tissue analysis showed a pattern consistent with the known outcomes of two patients. In the sample from Pt73, whose cancer partially responded, most mapped CD8+ T cells were classified as responders. In the sample from Pt43, whose cancer had a complete response, a higher proportion of cells were classified as response-like than in Pt73. The model also separated predicted response states in its learned representation, even though predicted responder and non-responder cells were intermingled in the tissue.
The difference is suggestive, but the spatial comparison involved only two samples, and both patients had responded to treatment. It therefore does not tell us how the model would behave in tumors from people whose cancer did not respond. The F1 result comes from a separate test on single-cell expression data; it should not be read as a patient-level performance score for the tissue maps.
Patterns that can be inspected
GraphTME gives researchers more than a label for each cell: they can inspect gene activity and inferred connections associated with its classifications. In one region from the partial responder, it inferred prominent cytokine signaling—a form of immune-cell communication—from CD8+ T cells toward tumor cells. The cells it labeled as responders and non-responders also differed in gene activity; ANXA1 stood out in the first group and COL3A1 in the second.
These details make the model’s output open to biological interpretation. They do not establish that a particular gene or cell-to-cell interaction caused either patient’s response. The study’s spatial samples were selected regions measuring one square millimeter, rather than comprehensive maps of each tumor. The imaging platforms also measure targeted gene panels rather than every gene, and clinically labeled single-cell datasets remain limited. The paper does not establish that adding spatial connections improves prediction over applying the same model without them.
What this could change
If the approach holds up in larger, independent groups of patients, a tissue-based view of immune response could help researchers distinguish tumors with similar cell types but different local patterns of immune activity. A patient-level milestone would be evidence that a score from tissue collected before treatment predicts outcomes across a broad range of patients and adds useful information alongside established assessments such as PD-L1 testing.
That evidence could eventually support more informed treatment decisions: clinicians might have a clearer basis for estimating who is likely to benefit from checkpoint-blocking therapy, and patients could be less likely to face treatment burden without benefit. Getting there depends on showing that the cell-level patterns generalize to patient outcomes. The current study offers a way to ask that question while keeping the tissue’s cellular neighborhoods in view.
Key Sources
- Primary source: GraphTME: graph-based framework for predicting immunotherapy response by interpreting tumour microenvironment interactions using spatial transcriptomics.
DOI or Journal Page · Peer-Reviewed Paper · 2026-05-29
Keep exploring

