Cancer does not develop in isolation.

Cancer does not develop in isolation. Tumour cells grow within a complex neighbourhood of immune cells, connective-tissue cells and other stromal components, and these multicellular “programs” can strongly shape how a malignancy progresses and whether it responds to treatment. Yet despite their clinical importance, these coordinated ecosystems inside the tumour microenvironment (TME) have been difficult to systematically map in patients—especially in ways that preserve spatial context and can be translated into routine care.

Researchers now report a machine-learning approach designed to tackle that gap by identifying and measuring spatially organized multicellular communities, which they call spatial ecotypes (SEs). The framework performs multi-analyte profiling of cell states and their spatial relationships, enabling integrated analysis across different cancers, samples and genomic platforms.

To build and test the method, the team compiled an unusually large dataset: more than 10 million spatial transcriptomic measurements at single-cell and spot-level resolution drawn from a range of human carcinomas and melanomas. Using these data, they uncovered nine SEs that appeared broadly conserved across tumour types. Each ecotype was characterized not only by distinctive underlying biology, but also by reproducible geographic patterns within tumours and meaningful links to patient outcomes. Several SEs were associated with response to immune checkpoint inhibitors (ICIs), the class of immunotherapies that has transformed care in melanoma and other cancers but remains unpredictable in many individuals.

A central motivation for the work was overcoming two barriers that have limited clinical adoption of spatial ecosystem profiling. Many existing techniques either rely on a restricted set of preselected markers—such as multiplexed protein imaging—or they omit spatial information altogether. Other approaches struggle to integrate results across diverse cohorts, cancer types and measurement platforms. The second obstacle is practical: profiling the TME typically requires an invasive tumour biopsy, which can be affected by sampling bias and is often available only once, at diagnosis.

To address this, the researchers asked whether their spatial ecotypes could be detected using DNA methylation, a type of epigenetic signal measurable in multiple contexts. They found that the nine SEs could be distinguished through DNA methylation profiling—and, critically, that SE signals could be recovered from plasma cell-free DNA (cfDNA) using deep learning. This suggests a route toward non-invasive TME assessment through a blood test, something not previously demonstrated for spatially defined tumour ecosystems.

In whole-genome cfDNA methylation data from nearly 100 people with melanoma, SE levels in plasma showed strong agreement with SE measurements confirmed in tumour biopsies. Those plasma-derived ecotype levels also tracked closely with known outcomes to ICI therapy, indicating that liquid biopsies may capture clinically relevant features of the tumour’s multicellular organization.

Overall, the study proposes that spatial ecotypes represent fundamental units of TME architecture and offers a unified, multimodal platform for profiling them in both solid tumours and blood. If validated further, this approach could improve risk stratification, enable more personalized therapy selection, and support spatiotemporal monitoring of treatment response without repeated invasive biopsies.