Skip to content
Another Fire
← All Advances

ADVANCES / REPORT 34

AI maps signals guiding immune cells through tumors

MD Anderson researchers used SPACER across 37 tissue datasets to identify local signals associated with immune-cell recruitment, including mucin-linked barriers around some tumors.

Research toolPeer reviewed · multi-dataset analysis

Who gets close enough to act

A tumor can contain immune cells without giving those cells access to the places where they could do useful work. Counting them across a whole tissue sample loses that distinction. A T cell at the edge of a tumor and a T cell next to a cancer cell both contribute one to the count. Their positions tell different stories. To understand why an immune response succeeds or fails, it can matter whether the cells are absent, scattered through the surrounding tissue, or concentrated in contact with the cells they might recognize.

Spatial transcriptomics gives researchers a way to measure gene expression while retaining information about where in the tissue it was measured. That is a considerable improvement over a list of cells whose positions are lost when a sample is processed. But a spatial map is still a snapshot. It may show that immune cells occur next to one kind of tissue and not another. It does not show whether they moved there because of a particular molecular signal, stayed there once they arrived, or disappeared from somewhere else. The geography makes those questions possible; it does not answer them.

Jia Yao, Ji Seon Shim, Kelly Wong and colleagues set out to extract more from that geography. Their Nature Biomedical Engineering study describes SPACER, a model that looks for relationships between local gene expression and the locations of particular cells. The advance is not a way to watch immune cells travel in a human tumor. It is a way to turn the observed locations into gene-level hypotheses about what makes particular neighborhoods different.

A neighborhood is more than the sum of its cells

One difficulty is deciding which expression belongs in the explanation. If a T cell is present, some of the RNA in the area may come from the T cell itself. Those transcripts may be useful for identifying the cell but say little about why it is there. The signal of interest may come from another cell in the neighborhood. Or it may belong to a larger pattern that becomes visible only when the positions and expression of several nearby samples are considered together. A system that predicts the presence of a T cell by recognizing its own transcripts could perform well on a prediction task and teach the investigator little about recruitment.

SPACER is built around multi-instance learning. The broad idea is that the evidence for an observation may lie in a collection of related measurements rather than in a single one labeled in advance as the explanation. In spatial tissue data, that gives a model a way to consider the neighborhood in which a cell appears. The researchers designed the method so its predictions can be interpreted in terms of genes, rather than stopping at a score that says a neighborhood looks favorable. This makes the prediction open to a more demanding examination. A researcher can ask whether the genes it points to make sense in that location and whether they also matter in other samples.

The authors evaluated the approach across 37 spatial datasets spanning several human tumor types and mouse heart. They report improvements of fourfold to twenty-onefold over compared methods on different tasks for recovering biologically meaningful recruitment signals. That range concerns the authors' evaluation tasks. It is not an estimate of the increase in the number of immune cells that could be recruited to a tumor, or a uniform improvement in every tissue studied. The value of the comparison is that a model meant to produce interpretable hypotheses can be assessed on the hypotheses it recovers, not just on whether it predicts cell locations.

An association with the barrier

One result concerns mucins expressed by tumors. Mucins are proteins with many attached sugar groups; in tissue, they can contribute to the physical character of a cell surface and its surroundings. The study associates tumor-expressed mucins with barriers to T-cell engagement. The pattern also carried information about prognosis and resistance to immune checkpoint inhibitors in the investigators' analysis. Checkpoint inhibitors aim to relieve constraints on an immune response. Relief of those constraints and access to the right cells are different aspects of the problem. An immune cell can have the capacity to respond and still fail to get into productive contact with its target.

That finding is more specific than noticing that tumors with fewer nearby T cells have worse outcomes. It points to a feature of the tumor-side neighborhood that could help explain why contact is limited. But even a spatial association with a plausible physical interpretation is not proof that changing that feature would let the cells in. Tumors that express mucins may differ from other tumors in additional ways. A feature can help predict which patients do worse without establishing why an individual patient did worse. The model can identify a relationship worth testing without deciding what treatment would change it.

The study also identifies local antigen presentation as the strongest correlate of T-cell engagement across the cancer types it examined. Antigen presentation gives a T cell something to recognize: cells display fragments that can be inspected by the immune system. But the direction of the association cannot simply be read from a map. A neighborhood where presentation is evident might favor T-cell engagement, and an ongoing immune response can itself alter the state of the neighborhood. The relationship is informative precisely because both the expression and the location are known. Which process came first still calls for a different observation.

An inference that can be tested

The same paper considers myocarditis associated with immune checkpoint inhibitors and reports a prominent role for CD4-positive T cells in its analysis of severe disease. This is a different use of spatial reasoning. In a tumor the question often concerns why an immune response does not reach the tissue it should. In inflammation of the heart, the question is how an immune response takes part in damaging tissue. The same sort of map can make the location of the relevant cells more intelligible without making the two clinical problems the same.

The scale of the neighborhood also matters. A relationship visible across a broad region can disappear when the question is narrowed to immediate contact between individual cells.

The hard part of turning such findings into biology is to distinguish what predicts a location from what produces it. Cells can accumulate because they arrive more readily, because they survive longer, or because the tissue around them has changed. A model fitted to a snapshot may find evidence consistent with several of those explanations. Its usefulness lies in narrowing the next comparison: which cell to observe, which spatial relationship to test, and which competing explanation would account for the same pattern. An independent experiment, or evidence from samples taken at different stages, can then tell investigators whether the proposed relationship survives a change in how it is measured.

That is a practical gain even before a clinical use is established. A tissue atlas can already tell a researcher where the cells are. SPACER gives a researcher a way to move from that description to a claim about the neighborhood that someone else can examine. The claim is strongest when it identifies not only what accompanies the presence of an immune cell but what additional evidence would distinguish an invitation, a barrier and the trace of a response that has already taken place.

← Return to Advances