# Predicting anti-PD-1 immune checkpoint blockade response in melanoma patients with spatially aware machine learning models

**Authors:** Alyssa Pybus, Raphael Kirchgaessner, Jonathan Nguyen, Carlos Moran Segura, Paulo Cilas Morais Lyra, Trevor Rose, Jhanelle Gray, Jeremy Goecks, Joseph Markowitz

PMC · DOI: 10.1038/s41698-025-01250-8 · NPJ Precision Oncology · 2026-01-12

## TL;DR

This study uses machine learning and spatial proteomics to predict which melanoma patients will respond to anti-PD1 immunotherapy.

## Contribution

The novel use of spatially aware machine learning models with single-cell proteomics data to predict ICB response in melanoma patients.

## Key findings

- ML models integrating multiple molecular features predicted ICB response in 11 of 12 patients.
- A tumor-infiltrating lymphocytes niche was identified in most responders.
- Optimal prediction performance (ROC AUC of 0.76) was achieved using spatial features and immune-rich regions.

## Abstract

There is an acute need to accurately identify patients with advanced melanoma who are most likely to respond to anti-PD1 immune checkpoint blockade (ICB) therapy. While anti-PD1 therapy can be highly effective in advanced melanoma patients, only 30-40% of patients respond well. In this study, we apply single-cell spatial proteomics together with statistical and machine learning (ML) methods to successfully predict advanced melanoma patient response to anti-PD1 ICB in a cohort of 12 patients with >8 million cells. While no single molecular feature is sufficient to predict ICB response in our cohort, ML models integrating multiple molecular features accurately predict response in 11 of 12 patients. A recurrent cellular neighborhood analysis revealed a tumor-infiltrating lymphocytes niche that was present in the tumors of most responders. This neighborhood, tumor microenvironment immune cell composition, and levels of nitric oxide synthases were all important features used by our ML models to make accurate predictions. Optimal predictive performance by our ML models—a ROC AUC of 0.76—was achieved when using all molecular features, including cellular spatial relationships, but limiting our analysis to only immune-rich tissue regions. This study demonstrates the feasibility of using machine learning models to accurately predict patient response to anti-PD1 ICB therapy using spatial proteomics datasets.

## Linked entities

- **Diseases:** melanoma (MONDO:0005105)

## Full-text entities

- **Genes:** LAG3 (lymphocyte activating 3) [NCBI Gene 3902] {aka CD223}, CDH2 (cadherin 2) [NCBI Gene 1000] {aka ACOGS, ADHD8, ARVD14, CD325, CDHN, CDw325}, ITGAX (integrin subunit alpha X) [NCBI Gene 3687] {aka CD11C, SLEB6}, RCN1 (reticulocalbin 1) [NCBI Gene 5954] {aka HEL-S-84, PIG20, RCAL, RCN}, CD14 (CD14 molecule) [NCBI Gene 929], NOS2 (nitric oxide synthase 2) [NCBI Gene 4843] {aka HEP-NOS, INOS, NOS, NOS2A}, KRT20 (keratin 20) [NCBI Gene 54474] {aka CD20, CK-20, CK20, K20, KRT21}, SOX10 (SRY-box transcription factor 10) [NCBI Gene 6663] {aka DOM, PCWH, SOX-10, WS2E, WS4, WS4C}, MIF (macrophage migration inhibitory factor) [NCBI Gene 4282] {aka GIF, GLIF, MMIF}, CTLA4 (cytotoxic T-lymphocyte associated protein 4) [NCBI Gene 1493] {aka ALPS5, CD, CD152, CELIAC3, CTLA-4, GRD4}, CD274 (CD274 molecule) [NCBI Gene 29126] {aka ADMIO5, B7-H, B7H1, PD-L1, PDCD1L1, PDCD1LG1}, NOS1 (nitric oxide synthase 1) [NCBI Gene 4842] {aka IHPS1, N-NOS, NC-NOS, NOS, bNOS, nNOS}, PDCD1 (programmed cell death 1) [NCBI Gene 5133] {aka ADMIO4, AIMTBS, CD279, PD-1, PD1, SLEB2}, RCN3 (reticulocalbin 3) [NCBI Gene 57333] {aka RLP49}, NOS3 (nitric oxide synthase 3) [NCBI Gene 4846] {aka EC-NOS, ECNOS, MYMY8, NOSIII, cNOS, eNOS}, CD34 (CD34 molecule) [NCBI Gene 947], CD8A (CD8 subunit alpha) [NCBI Gene 925] {aka CD8, CD8alpha, IMD116, Leu2, p32}
- **Diseases:** Cancer (MESH:D009369), invasive (MESH:D009361), Lung Cancer (MESH:D008175), Melanoma tumor (MESH:D008545), Ripley's L (MESH:D007926), solid (MESH:D018250), ML (MESH:D007859), breast cancer (MESH:D001943)
- **Chemicals:** AKOYA (-), NO (MESH:D009569), pembrolizumab (MESH:C582435), formalin (MESH:D005557), DAPI (MESH:C007293), nivolumab (MESH:D000077594), paraffin (MESH:D010232)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12877019/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12877019/full.md

## References

7 references — full list in the complete paper: https://tomesphere.com/paper/PMC12877019/full.md

---
Source: https://tomesphere.com/paper/PMC12877019