论文报告 · 以数据为中心

空间转录组与图学习,怎样用于脑肿瘤诊断?

NePSTA · Nature Cancer,2025 · 8 项任务的数据、划分与结果

这项研究把 Visium 空间转录组与图神经网络结合,用于中枢神经系统肿瘤的常规诊断。共 8 项分析。复用前要分清:前 4 项检查数据质量并与常规检测对照,不训练模型;后 4 项训练模型,按患者划分数据。

原论文 ↗NePSTA 数据 ↗

数据

NePSTA 队列

4 个德国中心 107 个样本,含空间转录组、H&E 与 EPIC 甲基化等诊断结果;8 项任务的主数据。

论文声明验证队列已在 Zenodo 与 Dryad 公开;训练队列未见公开存放。

数据入口 ↗

Ren 等胶质瘤空间转录组

11 个样本,只在质控任务中作外部对照。

处理后数据在 GEO(GSE194329)与 Figshare 公开;原始数据需向 GSA-Human 申请,约 3–6 周。

数据入口 ↗

GBMap 单细胞参考图谱

整合 16 个数据集、110 名患者的胶质母细胞瘤单细胞数据,用作细胞类型字典。

只在任务 4、8 中定义细胞类型,不是测试集。GEO 公开(GSE211376)。

数据入口 ↗

8 项任务总览

任务数据与规模标签或参照划分主要结果
空间转录组质控
比较不同处理方式、组织类型下的数据质量
NePSTA 107 个样本 + Ren 等 11 个外部样本无标签,按处理方式、组织类型分组比较不划分各组每 spot UMI 数无显著差异;spot 数主要取决于活检还是整块切除
虚拟免疫组化
由空间表达推断 Ki67、GFAP、NeuN 的蛋白丰度
NePSTA 中 12 名有相邻切片 IHC 的参与者相邻切片的 IHC 信号强度不划分,与参照对比相关系数:Ki67 0.47,GFAP 0.32,NeuN 0.57
拷贝数变异推断
由空间表达推断染色体增益和缺失
NePSTA 中有甲基化芯片拷贝数结果的参与者甲基化芯片的拷贝数判定不划分,与参照对比一致率 81.2%;三分类 AUC 80.37%
细胞组成与微环境
估计每个 spot 的细胞类型,按甲基化亚类比较微环境
NePSTA 全部样本 + GBMap(16 个数据集、110 名患者)GBMap 细胞类型特征;甲基化亚类用于分组不划分间充质亚型免疫细胞丰富;RTK 亚型缺少 T 细胞和巨噬细胞浸润
组织区域分割
把切片分为主瘤、坏死、浸润区、白质和皮层
NePSTA:队列 1 的 41 人、队列 2 的 27 人神经病理专家的 H&E 区域标注按患者:41 人训练(内部十折),27 人验证验证集准确率 87.43%
甲基化亚类分类
由空间数据预测肿瘤区域的 DNA 甲基化亚类
NePSTA 中有 EPIC 甲基化结果的参与者;9.7 万个肿瘤子图EPIC 甲基化芯片的亚类按患者五折交叉验证患者级准确率 0.893;3 跳邻域子图准确率 0.999,无邻域 0.409
MGMT 启动子甲基化
由空间数据预测 MGMT 启动子甲基化状态
NePSTA 中有 MGMT 结果的 53 人EPIC 甲基化芯片的 MGMT 状态一个队列 30 人训练,另一队列 23 人评估准确率 99%;F1、精确率、召回率均为 1.0
CDKN2A/B 缺失
预测 CDKN2A/B 纯合或杂合缺失,并比较缺失区域的细胞组成
NePSTA 中有 CDKN2A/B 结果的 53 人;GBMap 用于邻域分析甲基化芯片的 CDKN2A/B 状态一个队列 30 人训练,另一队列 23 人评估子图准确率 85.4%;缺失区域富集单核细胞与血管内皮细胞

逐项分析

01 空间转录组质控

做什么
检查 Visium 空间转录组的数据质量受哪些因素影响:石蜡或冰冻处理、组织类型、样本大小。临床使用要求质量稳定,这是后续任务的前提。
输入 → 输出
每个 spot 的表达计数、坐标、H&E 图像与样本处理信息 → 各组的 UMI 数、每 spot 细胞数和组织覆盖的 spot 数。
方法
Cell Ranger 处理,SPATA 导入;每个 spot 归一化到 10,000 计数并取对数,回归批次和核糖体、线粒体比例。不训练模型。
数据与规模
NePSTA 4 个德国中心 107 个样本(海德堡 50、弗莱堡 41、曼海姆 15、梅明根 1):队列 1 为 3 个中心的 66 个,队列 2 为弗莱堡的 41 个。另用 Ren 等已发表的 11 个样本作外部对照。
结果
各队列、各样本类型的每 spot UMI 数无显著差异;UMI 数与细胞密度强相关,IDH 野生型胶质母细胞瘤最高;非肿瘤组织每 spot 细胞数明显更低;组织覆盖的 spot 数主要取决于活检还是整块切除。
复用时注意
论文总数 130 包含 11 个外部对照和 12 个健康皮层样本,NePSTA 本身是 107 个。
查看本任务的来源依据
展开论文原文与位置

Source location: Paper | PDF p. 11

“For data analysis and quality control, we used the Cell Ranger pipeline from 10X Genomics.”

“Standard import procedures include normalizing gene expression, which is achieved using the Seurat version 4.0 package.”

展开论文原文与位置

Source location: Paper | PDF p. 2

“Our study involved samples from four German medical centers (Heidelberg, n = 50; Freiburg, n = 41; Mannheim, n = 15; Memmingen, n = 1), along with external controls published recently9 (n = 11) and 12 healthy cortex samples, totaling 130 samples.”

“The first cohort (n = 66) comprised samples from three centers, encompassing a range of CNS pathologies from highly malignant glioblastomas (GBs) to epilepsy-associated (glio)neuronal tumors.”

“These samples underwent comprehensive spatial transcriptomics profiling, alongside state-of-the-art diagnostic workups, including morphology inspection, EPIC methylation arrays, classifier predictions, IHC and NGS.”

展开论文原文与位置

Source location: Paper | PDF p. 2

“In cohort 1, the majorit of samples (n = 42, 63.6%) were processed from paraffin-embedded tis sue, with only 24 samples (36.6%) processed from freshly frozen tissue Conversely, cohort 2 included approximately half of the samples (n = 18 43.9%) processed from paraffin-embedded tissue.”

“First, we aimed to explore and quantify potential confounders of the technology, as clinical applications demand robust and consistent quality readouts.”

展开论文原文与位置

Source location: Paper | PDF p. 2; Paper | PDF p. 24

“Our study involved samples from four German medical centers (Heidelberg, n = 50; Freiburg, n = 41; Mannheim, n = 15; Memmingen, n = 1), along with external controls published recently9 (n = 11) and 12 healthy cortex samples, totaling 130 samples.”

“The first cohort (n = 66) comprised samples from three centers, encompassing a range of CNS pathologies from highly malignant glioblastomas (GBs) to epilepsy-associated (glio)neuronal tumors.”

“The second cohort (n = 41) was a single-center cohort from Freiburg, similarly profiled (Fig. 1b).”

“In this study we report a total of 130 samples”

02 虚拟免疫组化

做什么
由空间表达推断诊断用蛋白标记的丰度,生成可以代替免疫组化染色的“虚拟染色”。
输入 → 输出
每个 spot 的表达谱,经贝叶斯超分辨率细化 → 每个 spot 的蛋白丰度图。
数据与规模
只有 12 名参与者同时有空间转录组和相邻切片的免疫组化,评估只能用这 12 人。
评估
免疫组化图像取蓝色通道转灰度、缩放到 0–1,逐 spot 提取信号强度,与推断丰度求相关。
结果
Ki67 0.47,GFAP 0.32,NeuN 0.57,P 值均极小。
复用时注意
参照来自相邻切片而非同一切片,逐 spot 对应依赖两张切片的配准。
查看本任务的来源依据
展开论文原文与位置

Source location: Paper | PDF p. 2; Paper | PDF p. 12

“We start by converting the IHC image to grayscale by extracting the blue-channel (img[,,3]) and transform into data.frame format using the reshape2::melt() function. The pixel intensity values were extracted and rescaled to a range of 0–1.”

“When juxtaposed with consecutive participant sections, our virtual stainings exhibited robust alignment with IHC-derived results (Fig. 2b).”

展开论文原文与位置

Source location: Paper | PDF p. 2; Paper | PDF p. 5

“To this end, we devised an innovative computational module named ‘inferred IHC’. This module harnesses super-resolution spatial transcriptomics through the Bayesian inference11 to forecast protein abundance, rendering it a viable diagnostic surrogate for traditional IHC (Fig. 2a,b).”

“Paired IHC and spatia transcriptomics (for analysis of a–d) was available for 12 participants.”

展开论文原文与位置

Source location: Paper | PDF p. 2; Paper | PDF p. 5

“Paired IHC and spatia transcriptomics (for analysis of a–d) was available for 12 participants.”

“When juxtaposed with consecutive participant sections, our virtual stainings exhibited robust alignment with IHC-derived results (Fig. 2b).”

展开论文原文与位置

Source location: Paper | PDF p. 5

“Paired IHC and spatia transcriptomics (for analysis of a–d) was available for 12 participants.”

03 拷贝数变异推断

做什么
由空间表达推断染色体增益和缺失,与甲基化芯片的拷贝数结果比对,判断能否替代。
输入 → 输出
表达谱按 1 Mbp 染色体分箱、10 kbp 插值、loess 平滑 → 每个区域判为增益、缺失或无变化。
方法
SPATA2 拷贝数估计与参照判定;三分类 AUC 按类别两两比较后取平均。
数据与规模
NePSTA 中所有有甲基化芯片拷贝数结果的参与者,按染色体臂分层分析。
结果
一致 81.2%(都判无变化 70.3%、都判增益 5.5%、都判缺失 5.4%);判定相反:增益 0.05%、缺失 0.02%。三分类 AUC 80.37%。
复用时注意
81.2% 中有 70.3% 是两种方法都判为无变化;一致检出增益或缺失的只占 10.9%。
查看本任务的来源依据
展开论文原文与位置

Source location: Paper | PDF p. 11

“Chromosomal bins were created using the SPATAwrapper::Create.ref.bins() function, with a bin size of 1 Mbp used for this study. Data were then rescaled and interpolated over a 10-kbp window, with normalization achieved using a loess regression model”

展开论文原文与位置

Source location: Paper | PDF p. 4; Paper | PDF p. 4

“Direct comparison of methylation-based CNV against our inferred CNV detection revealed a consensus of CNV alterations in 81.2% cases (consensus no alterations, 70.3%; consensus gains, 5.5%; consensus loss, 5.4%), only 0.05% divergent gains (gains detected by Visium and loss detected in the methylation-based CNV analysis) and 0.02% divergent losses (Fig. 3d).”

“We performed multiclass receiver operating characteristic (ROC) analysis to validate the accuracy of detecting gains and losses or diploid chromosome sets, demonstrating an overall area under the curve (AUC) of 80.37% (Fig. 3f).”

展开论文原文与位置

Source location: Paper | PDF p. 4

“To more precisely examine the potential variability in accuracy of CNV detection across different chromosomal regions”

展开论文原文与位置

Source location: Paper | PDF p. 4

“Direct comparison of methylation-based CNV against our inferred CNV detection revealed a consensus of CNV alterations in 81.2% cases (consensus no alterations, 70.3%; consensus gains, 5.5%; consensus loss, 5.4%), only 0.05% divergent gains (gains detected by Visium and loss detected in the methylation-based CNV analysis) and 0.02% divergent losses (Fig. 3d).”

04 细胞组成与微环境

做什么
用单细胞参考图谱估计每个 spot 的细胞类型组成,比较不同甲基化亚类的肿瘤微环境。
输入 → 输出
spot 表达谱与 GBMap 细胞类型特征 → 每个 spot 的细胞类型丰度,按亚类汇总。
方法
Cell2location 反卷积(500 次迭代,后验采样 1,000 次);另用空间互相关指数衡量基因对的空间关联。
数据与规模
NePSTA 所有有甲基化分类的样本。GBMap 整合 16 个数据集、110 名患者,在这里是细胞类型字典,不是测试集。
结果
间充质亚型免疫细胞丰富,髓系细胞呈免疫抑制特征;受体酪氨酸激酶(RTK)亚型明显缺少 T 细胞和肿瘤相关巨噬细胞浸润。
复用时注意
论文以图和文字描述比较结果,没有给出可直接复用的数值表。
查看本任务的来源依据
展开论文原文与位置

Source location: Paper | PDF p. 12

“We trained the model on a graphics processing unit for 500 iterations to ensure computational efficiency. After training, we used the export\_posterior function to extract the posterior distribution of cell type proportions”

展开论文原文与位置

Source location: Paper | PDF p. 4

“Leveraging the robust and well-validated Cell2lo cation algorithm, combined with an extensive GB reference dataset (GBMap), we predicted the abundance of myeloid, T cell and stromal subpopulations across all methylation classes (Fig. 4a).”

展开论文原文与位置

Source location: Paper | PDF p. 4

“The meth ylation Mes subtype exhibited immune-rich microenvironments with an immunosuppressive myeloid profile, while others (RTKI and RTKII) displayed a notable absence of T cell and tumor-associated macrophage infiltration (Extended Data Fig. 3).”

展开论文原文与位置

Source location: Paper | PDF p. 4

“Leveraging the robust and well-validated Cell2lo cation algorithm, combined with an extensive GB reference dataset (GBMap), we predicted the abundance of myeloid, T cell and stromal subpopulations across all methylation classes (Fig. 4a).”

05 组织区域分割

做什么
把切片自动分成主瘤、坏死、浸润区、白质和皮层(非肿瘤切片另有健康皮层和蛛网膜),供后续分子预测使用。
输入 → 输出
以每个 spot 为中心的 3 跳子图 → 该子图的组织类别。
模型
3 层图同构网络(GIN),全局平均池化;交叉熵损失,Adam 优化。
数据与划分
只用组织标注足够的切片:队列 1 的 41 人训练,训练集内十折交叉验证;队列 2 的 27 人验证。
结果
以神经病理专家的分割为参照,验证集准确率 87.43%。
复用时注意
报告记录的节点特征含组织标注编码,而分割目标也是组织类别;复用前需对照论文代码,确认训练时是否使用。
查看本任务的来源依据
展开论文原文与位置

Source location: Paper | PDF p. 13

“Expression profiles (top 5,000 genes), CNAs, histological annotations (one-hot encoded) and encoded H&E image vectors were included”

“Edge features were defined by spatial proximity with up to six neighbors per node”

展开论文原文与位置

Source location: Paper | PDF p. 6; Paper | PDF p. 11

“A pivotal step before subgroup prediction involved automated spatial transcriptomics data segmentation, aiming to classify subgraphs histologically.”

“Manual segmentation of the histological regions was performed by a neuropathologist according to the morphological features of the H&E scan.”

展开论文原文与位置

Source location: Paper | PDF p. 6

“We used a tenfold cross-validation to train on n = 41”

“samples with sufficient histological segmentation)”

展开论文原文与位置

Source location: Paper | PDF p. 6

“We used a tenfold cross-validation to train on n = 41”

“Model validation on n = 27 participants”

06 甲基化亚类分类

做什么
由空间数据预测肿瘤区域的 DNA 甲基化亚类,并检验加入周围 spot 的信息能提升多少。
输入 → 输出
以每个 spot 为中心的 3 跳子图 → 子图的亚类,再汇总为患者级亚类。
模型
NePSTA 图神经网络(3 层 GIN);对照为无邻域的线性模型,以及 1–3 跳的 GIN 和图注意力网络。
数据与划分
训练用 97,000 个肿瘤子图和 12,000 个健康对照子图;按患者五折交叉验证(胶质母细胞瘤与 IDH 突变胶质瘤),邻域比较在 84 名患者上评估。
结果
子图准确率:线性模型 0.409;GIN 1 跳 0.914、2 跳 0.981、3 跳 0.999;图注意力网络 1 跳 0.874、2 跳 0.983、3 跳 0.995。患者级:未见过的患者准确率 0.893、F1 0.870;五折交叉验证 0.913、F1 0.896。
复用时注意
0.999 是子图级、0.893 是患者级,单位不同,不能互换引用。
查看本任务的来源依据
展开论文原文与位置

Source location: Paper | PDF p. 13; Paper | PDF p. 13

“Expression profiles (top 5,000 genes), CNAs, histological annotations (one-hot encoded) and encoded H&E image vectors were included”

“Edge features were defined by spatial proximity with up to six neighbors per node”

“A three-hop neighborhood for a query spot included all spots within three edges, capturing the spatial context and connectivity within the defined distance.”

展开论文原文与位置

Source location: Paper | PDF p. 7; Paper | PDF p. 13

“From 107 EPIC-characterized participants, datasets were divided into training and validation subsets. For multibiopsy samples, datasets were split by biopsy cores; for single-specimen samples, manual segmentation was performed using SPATA2 to create regions.”

“We divided the samples into two distinct spatial transcriptomic datasets. For samples with multiple biopsies, we treated the raw data from each biopsy as separate datasets. In cases where the entire tissue was on a single slide, we segmented the samples as illustrated in Fig. 5a.”

展开论文原文与位置

Source location: Paper | PDF p. 7; Paper | PDF p. 13

“From 107 EPIC-characterized participants, datasets were divided into training and validation subsets. For multibiopsy samples, datasets were split by biopsy cores; for single-specimen samples, manual segmentation was performed using SPATA2 to create regions.”

“To avoid bias from similar normalization and preprocessing in both the training and the validation cohorts, we processed each dataset individually after splitting the data at the count level.”

展开论文原文与位置

Source location: Paper | PDF p. 13 — plus Web | publisher supplementary PDF, Supplementary Table 1

“From 107 EPIC-characterized participants, datasets were divided into training and validation subsets. For multibiopsy samples, datasets were split by biopsy cores; for single-specimen samples, manual segmentation was performed using SPATA2 to create regions.”

“Training data comprised 97,000 subgraphs from tumor datasets and 12,000 subgraphs from healthy controls, created using a three-hop neighborhood approach.”

“Supplementary Table 1: Evaluation of different models to explore the impact of extended neighborhoods for the predictive power of NEPSTA GIN: Graph isomorphic network, GAN: Graph attention network. The model evaluation was performed on 84 patients.”

07 MGMT 启动子甲基化

做什么
由空间数据预测 MGMT 启动子甲基化状态;这一信息无法从推断的拷贝数中读出。
模型
NePSTA 图神经网络,加一个 MGMT 预测头。
数据与划分
两个队列中有 MGMT 结果的 53 人:一个队列 30 人训练,另一个队列 23 人评估。
结果
准确率 99%,F1、精确率、召回率均为 1.0。
复用时注意
评估集 23 人时,患者级准确率只能是 95.7%、100% 这样的值;99% 应是子图级结果,引用前需核对。
查看本任务的来源依据
展开论文原文与位置

Source location: Paper | PDF p. 13

“Expression profiles (top 5,000 genes), CNAs, histological annotations (one-hot encoded) and encoded H&E image vectors were included”

“Edge features were defined by spatial proximity with up to six neighbors per node”

展开论文原文与位置

Source location: Paper | PDF p. 7; Paper | PDF p. 21

“Extended Data Fig. 6 | Heterogeneity of CDKN2A/B alterations. (a) Schematic of the GNN workflow Since the MGMT and CDKN2A/B status is available in both cohorts (n = 53 patients) we train (n = 30 patients) and evaluate (n = 23 patients) on separate cohorts.”

“To harness this insight, we augmented our GNN framework, incorporating multiple MLPs specifically designed to predict MGMT promoter methylation and the loss of CDKN2A/B”

展开论文原文与位置

Source location: Paper | PDF p. 21

“Extended Data Fig. 6 | Heterogeneity of CDKN2A/B alterations. (a) Schematic of the GNN workflow Since the MGMT and CDKN2A/B status is available in both cohorts (n = 53 patients) we train (n = 30 patients) and evaluate (n = 23 patients) on separate cohorts.”

展开论文原文与位置

Source location: Paper | PDF p. 21

“Extended Data Fig. 6 | Heterogeneity of CDKN2A/B alterations. (a) Schematic of the GNN workflow Since the MGMT and CDKN2A/B status is available in both cohorts (n = 53 patients) we train (n = 30 patients) and evaluate (n = 23 patients) on separate cohorts.”

08 CDKN2A/B 缺失

做什么
预测 CDKN2A/B 缺失(区分纯合与杂合),并比较缺失区域周围的细胞组成。
模型
NePSTA 图神经网络,加一个 CDKN2A/B 预测头;邻域细胞组成用 GBMap 反卷积。
数据与划分
有 CDKN2A/B 结果的 53 人:一个队列 30 人训练,另一个队列 23 人评估。区域分析使用 IDH 突变肿瘤的立体定向活检。
结果
区分未缺失与缺失子图的准确率 85.4%。缺失与未缺失区域的肿瘤细胞比例无显著差异,但缺失区域富集单核细胞和血管内皮细胞。
复用时注意
85.4% 是子图级准确率,不是患者级。
查看本任务的来源依据
展开论文原文与位置

Source location: Paper | PDF p. 13

“Expression profiles (top 5,000 genes), CNAs, histological annotations (one-hot encoded) and encoded H&E image vectors were included”

“Edge features were defined by spatial proximity with up to six neighbors per node”

展开论文原文与位置

Source location: Paper | PDF p. 8; Paper | PDF p. 21

“and further differentiation between homozygous and heterozygous deletion were found to be impossible in cases when the loss was not associated with chr9p loss (Fig. 6a,b).”

“Extended Data Fig. 6 | Heterogeneity of CDKN2A/B alterations. (a) Schematic of the GNN workflow Since the MGMT and CDKN2A/B status is available in both cohorts (n = 53 patients) we train (n = 30 patients) and evaluate (n = 23 patients) on separate cohorts.”

展开论文原文与位置

Source location: Paper | PDF p. 10; Paper | PDF p. 21

“Contrary to our expectations, our findings revealed that the majority of samples with heterozygous deletions (two of three) displayed a mixed genotype, encompassing both partial and complete loss of CDKN2A/B across different biopsy specimens.”

“Extended Data Fig. 6 | Heterogeneity of CDKN2A/B alterations. (a) Schematic of the GNN workflow Since the MGMT and CDKN2A/B status is available in both cohorts (n = 53 patients) we train (n = 30 patients) and evaluate (n = 23 patients) on separate cohorts.”

展开论文原文与位置

Source location: Paper | PDF p. 10

“Contrary to our expectations, our findings revealed that the majority of samples with heterozygous deletions (two of three) displayed a mixed genotype, encompassing both partial and complete loss of CDKN2A/B across different biopsy specimens.”

开始复用前,确认这三件事

  1. 获取范围:验证队列的公开声明不代表训练数据全部公开,先核对目标任务需要的文件。
  2. 对应关系:检查表达、图像、分子标签与患者标识能否对应,按任务确认有效交集。
  3. 实验设计:分别记录每项任务的数据划分、参照标准和评价层级,不把论文整体规模当作每项任务的可用规模。

论文与来源

Ritter 等,Nature Cancer,2025。
Spatially resolved transcriptomics and graph-based deep learning improve accuracy of routine CNS tumor diagnostics

Paper report · data-centered

How can spatial transcriptomics and graph learning be used for brain tumor diagnosis?

NePSTA · Nature Cancer, 2025 · data, splits and results of 8 tasks

This study combines Visium spatial transcriptomics with graph neural networks for routine diagnosis of central nervous system tumors, in 8 analyses. Before reuse, keep them apart: the first 4 check data quality and compare against routine assays without training a model; the last 4 train models with patient-level splits.

Original paper ↗NePSTA data ↗

Data

NePSTA cohort

107 samples from 4 German centers, with spatial transcriptomics, H&E and diagnostic results such as EPIC methylation; the main data for all 8 tasks.

The paper states that the validation cohort is public on Zenodo and Dryad; no public deposit of the training cohort was found.

Data entry ↗

Ren et al. glioma spatial transcriptomics

11 samples, used only as an external reference in the quality-control task.

Processed data is public on GEO (GSE194329) and Figshare; raw data requires an application to GSA-Human, about 3–6 weeks.

Data entry ↗

GBMap single-cell reference atlas

Integrates glioblastoma single-cell data from 16 datasets and 110 patients, used as a cell-type dictionary.

Used only to define cell types in tasks 4 and 8; it is not a test set. Public on GEO (GSE211376).

Data entry ↗

Overview of the 8 tasks

TaskData and scaleLabels or referenceSplitMain results
Spatial transcriptomics QC
Compare data quality across processing methods and tissue types
107 NePSTA samples + 11 external samples from Ren et al.No labels; groups compared by processing method and tissue typeNo splitNo significant difference in UMIs per spot between groups; the number of spots depends mainly on biopsy versus en bloc resection
Virtual immunohistochemistry
Infer Ki67, GFAP and NeuN protein abundance from spatial expression
12 NePSTA participants with IHC on adjacent sectionsIHC signal intensity on adjacent sectionsNo split; compared with the referenceCorrelation: Ki67 0.47, GFAP 0.32, NeuN 0.57
Copy number inference
Infer chromosomal gains and losses from spatial expression
NePSTA participants with copy number results from methylation arraysCopy number calls from methylation arraysNo split; compared with the referenceAgreement 81.2%; three-class AUC 80.37%
Cell composition and microenvironment
Estimate cell types per spot and compare the microenvironment across methylation subclasses
All NePSTA samples + GBMap (16 datasets, 110 patients)GBMap cell-type signatures; methylation subclasses for groupingNo splitThe mesenchymal subtype is rich in immune cells; the RTK subtype lacks T-cell and macrophage infiltration
Tissue region segmentation
Divide a section into main tumor, necrosis, infiltration zone, white matter and cortex
NePSTA: 41 patients in cohort 1, 27 in cohort 2Neuropathologist H&E region annotationsBy patient: 41 for training (internal 10-fold), 27 for validationValidation accuracy 87.43%
Methylation subclass classification
Predict the DNA methylation subclass of tumor regions from spatial data
NePSTA participants with EPIC methylation results; 97,000 tumor subgraphsSubclass from EPIC methylation arraysPatient-level 5-fold cross-validationPatient-level accuracy 0.893; 3-hop subgraph accuracy 0.999, no neighborhood 0.409
MGMT promoter methylation
Predict MGMT promoter methylation status from spatial data
53 NePSTA patients with MGMT resultsMGMT status from EPIC methylation arrays30 patients from one cohort for training, 23 from the other for evaluationAccuracy 99%; F1, precision and recall all 1.0
CDKN2A/B deletion
Predict homozygous or heterozygous CDKN2A/B deletion and compare the cell composition of deleted regions
53 NePSTA patients with CDKN2A/B results; GBMap for the neighborhood analysisCDKN2A/B status from methylation arrays30 patients from one cohort for training, 23 from the other for evaluationSubgraph accuracy 85.4%; deleted regions are enriched in monocytes and vascular endothelial cells

Task by task

01 Spatial transcriptomics QC

What it does
Checks which factors affect the quality of Visium spatial transcriptomics data: paraffin or frozen processing, tissue type and sample size. Clinical use requires stable quality, which the later tasks depend on.
Input → output
Per-spot expression counts, coordinates, the H&E image and sample processing information → UMIs, cells per spot and tissue-covered spots for each group.
Method
Processed with Cell Ranger and imported into SPATA; each spot normalized to 10,000 counts and log-transformed, regressing out batch and ribosomal and mitochondrial fractions. No model is trained.
Data and scale
107 NePSTA samples from 4 German centers (Heidelberg 50, Freiburg 41, Mannheim 15, Memmingen 1): cohort 1 is 66 samples from 3 centers, cohort 2 is 41 from Freiburg. 11 published samples from Ren et al. serve as an external reference.
Results
UMIs per spot do not differ significantly across cohorts or sample types; UMI counts correlate strongly with cell density and are highest in IDH-wildtype glioblastoma; non-tumor tissue has clearly fewer cells per spot; the number of tissue-covered spots depends mainly on biopsy versus en bloc resection.
Caveats for reuse
The paper's total of 130 includes 11 external reference samples and 12 healthy cortex samples; NePSTA itself is 107.
See the sources for this task
Show the paper text and its location

Source location: Paper | PDF p. 11

“For data analysis and quality control, we used the Cell Ranger pipeline from 10X Genomics.”

“Standard import procedures include normalizing gene expression, which is achieved using the Seurat version 4.0 package.”

Show the paper text and its location

Source location: Paper | PDF p. 2

“Our study involved samples from four German medical centers (Heidelberg, n = 50; Freiburg, n = 41; Mannheim, n = 15; Memmingen, n = 1), along with external controls published recently9 (n = 11) and 12 healthy cortex samples, totaling 130 samples.”

“The first cohort (n = 66) comprised samples from three centers, encompassing a range of CNS pathologies from highly malignant glioblastomas (GBs) to epilepsy-associated (glio)neuronal tumors.”

“These samples underwent comprehensive spatial transcriptomics profiling, alongside state-of-the-art diagnostic workups, including morphology inspection, EPIC methylation arrays, classifier predictions, IHC and NGS.”

Show the paper text and its location

Source location: Paper | PDF p. 2

“In cohort 1, the majorit of samples (n = 42, 63.6%) were processed from paraffin-embedded tis sue, with only 24 samples (36.6%) processed from freshly frozen tissue Conversely, cohort 2 included approximately half of the samples (n = 18 43.9%) processed from paraffin-embedded tissue.”

“First, we aimed to explore and quantify potential confounders of the technology, as clinical applications demand robust and consistent quality readouts.”

Show the paper text and its location

Source location: Paper | PDF p. 2; Paper | PDF p. 24

“Our study involved samples from four German medical centers (Heidelberg, n = 50; Freiburg, n = 41; Mannheim, n = 15; Memmingen, n = 1), along with external controls published recently9 (n = 11) and 12 healthy cortex samples, totaling 130 samples.”

“The first cohort (n = 66) comprised samples from three centers, encompassing a range of CNS pathologies from highly malignant glioblastomas (GBs) to epilepsy-associated (glio)neuronal tumors.”

“The second cohort (n = 41) was a single-center cohort from Freiburg, similarly profiled (Fig. 1b).”

“In this study we report a total of 130 samples”

02 Virtual immunohistochemistry

What it does
Infers the abundance of diagnostic protein markers from spatial expression, producing a “virtual stain” that could stand in for immunohistochemistry.
Input → output
Per-spot expression profiles refined by Bayesian super-resolution → a per-spot protein abundance map.
Data and scale
Only 12 participants have both spatial transcriptomics and immunohistochemistry on an adjacent section, so the evaluation can use only these 12.
Evaluation
The blue channel of the IHC image is converted to grayscale and scaled to 0–1, the signal intensity is extracted per spot, and correlated with the inferred abundance.
Results
Ki67 0.47, GFAP 0.32, NeuN 0.57, all with very small P values.
Caveats for reuse
The reference comes from an adjacent section, not the same section, so the per-spot correspondence depends on registering the two sections.
See the sources for this task
Show the paper text and its location

Source location: Paper | PDF p. 2; Paper | PDF p. 12

“We start by converting the IHC image to grayscale by extracting the blue-channel (img[,,3]) and transform into data.frame format using the reshape2::melt() function. The pixel intensity values were extracted and rescaled to a range of 0–1.”

“When juxtaposed with consecutive participant sections, our virtual stainings exhibited robust alignment with IHC-derived results (Fig. 2b).”

Show the paper text and its location

Source location: Paper | PDF p. 2; Paper | PDF p. 5

“To this end, we devised an innovative computational module named ‘inferred IHC’. This module harnesses super-resolution spatial transcriptomics through the Bayesian inference11 to forecast protein abundance, rendering it a viable diagnostic surrogate for traditional IHC (Fig. 2a,b).”

“Paired IHC and spatia transcriptomics (for analysis of a–d) was available for 12 participants.”

Show the paper text and its location

Source location: Paper | PDF p. 2; Paper | PDF p. 5

“Paired IHC and spatia transcriptomics (for analysis of a–d) was available for 12 participants.”

“When juxtaposed with consecutive participant sections, our virtual stainings exhibited robust alignment with IHC-derived results (Fig. 2b).”

Show the paper text and its location

Source location: Paper | PDF p. 5

“Paired IHC and spatia transcriptomics (for analysis of a–d) was available for 12 participants.”

03 Copy number inference

What it does
Infers chromosomal gains and losses from spatial expression and compares them with copy number results from methylation arrays, to judge whether it can replace them.
Input → output
Expression profiles binned into 1 Mbp chromosome windows, interpolated at 10 kbp and loess-smoothed → each region called as gain, loss or no change.
Method
SPATA2 copy number estimation and reference calls; the three-class AUC averages the pairwise class comparisons.
Data and scale
All NePSTA participants with copy number results from methylation arrays, analyzed by chromosome arm.
Results
Agreement 81.2% (both no change 70.3%, both gain 5.5%, both loss 5.4%); opposite calls: gain 0.05%, loss 0.02%. Three-class AUC 80.37%.
Caveats for reuse
70.3 of the 81.2 percentage points are regions both methods call unchanged; agreement on an actual gain or loss is only 10.9%.
See the sources for this task
Show the paper text and its location

Source location: Paper | PDF p. 11

“Chromosomal bins were created using the SPATAwrapper::Create.ref.bins() function, with a bin size of 1 Mbp used for this study. Data were then rescaled and interpolated over a 10-kbp window, with normalization achieved using a loess regression model”

Show the paper text and its location

Source location: Paper | PDF p. 4; Paper | PDF p. 4

“Direct comparison of methylation-based CNV against our inferred CNV detection revealed a consensus of CNV alterations in 81.2% cases (consensus no alterations, 70.3%; consensus gains, 5.5%; consensus loss, 5.4%), only 0.05% divergent gains (gains detected by Visium and loss detected in the methylation-based CNV analysis) and 0.02% divergent losses (Fig. 3d).”

“We performed multiclass receiver operating characteristic (ROC) analysis to validate the accuracy of detecting gains and losses or diploid chromosome sets, demonstrating an overall area under the curve (AUC) of 80.37% (Fig. 3f).”

Show the paper text and its location

Source location: Paper | PDF p. 4

“To more precisely examine the potential variability in accuracy of CNV detection across different chromosomal regions”

Show the paper text and its location

Source location: Paper | PDF p. 4

“Direct comparison of methylation-based CNV against our inferred CNV detection revealed a consensus of CNV alterations in 81.2% cases (consensus no alterations, 70.3%; consensus gains, 5.5%; consensus loss, 5.4%), only 0.05% divergent gains (gains detected by Visium and loss detected in the methylation-based CNV analysis) and 0.02% divergent losses (Fig. 3d).”

04 Cell composition and microenvironment

What it does
Uses a single-cell reference atlas to estimate the cell-type composition of each spot and compares the tumor microenvironment across methylation subclasses.
Input → output
Spot expression profiles and GBMap cell-type signatures → per-spot cell-type abundance, summarized by subclass.
Method
Cell2location deconvolution (500 iterations, 1,000 posterior samples); a spatial cross-correlation index measures the spatial association of gene pairs.
Data and scale
All NePSTA samples with a methylation classification. GBMap integrates 16 datasets and 110 patients and serves here as a cell-type dictionary, not a test set.
Results
The mesenchymal subtype is rich in immune cells, with myeloid cells showing an immunosuppressive profile; the receptor tyrosine kinase (RTK) subtype clearly lacks T-cell and tumor-associated macrophage infiltration.
Caveats for reuse
The paper describes the comparison in figures and text and gives no numeric table that can be reused directly.
See the sources for this task
Show the paper text and its location

Source location: Paper | PDF p. 12

“We trained the model on a graphics processing unit for 500 iterations to ensure computational efficiency. After training, we used the export\_posterior function to extract the posterior distribution of cell type proportions”

Show the paper text and its location

Source location: Paper | PDF p. 4

“Leveraging the robust and well-validated Cell2lo cation algorithm, combined with an extensive GB reference dataset (GBMap), we predicted the abundance of myeloid, T cell and stromal subpopulations across all methylation classes (Fig. 4a).”

Show the paper text and its location

Source location: Paper | PDF p. 4

“The meth ylation Mes subtype exhibited immune-rich microenvironments with an immunosuppressive myeloid profile, while others (RTKI and RTKII) displayed a notable absence of T cell and tumor-associated macrophage infiltration (Extended Data Fig. 3).”

Show the paper text and its location

Source location: Paper | PDF p. 4

“Leveraging the robust and well-validated Cell2lo cation algorithm, combined with an extensive GB reference dataset (GBMap), we predicted the abundance of myeloid, T cell and stromal subpopulations across all methylation classes (Fig. 4a).”

05 Tissue region segmentation

What it does
Automatically divides a section into main tumor, necrosis, infiltration zone, white matter and cortex (non-tumor sections also have healthy cortex and arachnoid), for use by the later molecular predictions.
Input → output
A 3-hop subgraph centered on each spot → the tissue class of that subgraph.
Model
A 3-layer graph isomorphism network (GIN) with global mean pooling; cross-entropy loss, Adam optimizer.
Data and split
Only sections with enough tissue annotation are used: 41 patients from cohort 1 for training, with 10-fold cross-validation inside the training set; 27 patients from cohort 2 for validation.
Results
Against the neuropathologist's segmentation, validation accuracy is 87.43%.
Caveats for reuse
The node features recorded in the report include an encoding of the tissue annotation, while the segmentation target is also the tissue class; check the paper's code before reuse to confirm whether it was used in training.
See the sources for this task
Show the paper text and its location

Source location: Paper | PDF p. 13

“Expression profiles (top 5,000 genes), CNAs, histological annotations (one-hot encoded) and encoded H&E image vectors were included”

“Edge features were defined by spatial proximity with up to six neighbors per node”

Show the paper text and its location

Source location: Paper | PDF p. 6; Paper | PDF p. 11

“A pivotal step before subgroup prediction involved automated spatial transcriptomics data segmentation, aiming to classify subgraphs histologically.”

“Manual segmentation of the histological regions was performed by a neuropathologist according to the morphological features of the H&E scan.”

Show the paper text and its location

Source location: Paper | PDF p. 6

“We used a tenfold cross-validation to train on n = 41”

“samples with sufficient histological segmentation)”

Show the paper text and its location

Source location: Paper | PDF p. 6

“We used a tenfold cross-validation to train on n = 41”

“Model validation on n = 27 participants”

06 Methylation subclass classification

What it does
Predicts the DNA methylation subclass of tumor regions from spatial data and tests how much information from surrounding spots adds.
Input → output
A 3-hop subgraph centered on each spot → the subclass of the subgraph, then aggregated to a patient-level subclass.
Model
The NePSTA graph neural network (3-layer GIN); baselines are a linear model without neighborhood, and 1–3-hop GIN and graph attention networks.
Data and split
Training uses 97,000 tumor subgraphs and 12,000 healthy-control subgraphs; patient-level 5-fold cross-validation (glioblastoma and IDH-mutant glioma); the neighborhood comparison is evaluated on 84 patients.
Results
Subgraph accuracy: linear model 0.409; GIN 1-hop 0.914, 2-hop 0.981, 3-hop 0.999; graph attention network 1-hop 0.874, 2-hop 0.983, 3-hop 0.995. Patient level: accuracy on unseen patients 0.893, F1 0.870; 5-fold cross-validation 0.913, F1 0.896.
Caveats for reuse
0.999 is at the subgraph level and 0.893 at the patient level; the units differ, so they cannot be cited interchangeably.
See the sources for this task
Show the paper text and its location

Source location: Paper | PDF p. 13; Paper | PDF p. 13

“Expression profiles (top 5,000 genes), CNAs, histological annotations (one-hot encoded) and encoded H&E image vectors were included”

“Edge features were defined by spatial proximity with up to six neighbors per node”

“A three-hop neighborhood for a query spot included all spots within three edges, capturing the spatial context and connectivity within the defined distance.”

Show the paper text and its location

Source location: Paper | PDF p. 7; Paper | PDF p. 13

“From 107 EPIC-characterized participants, datasets were divided into training and validation subsets. For multibiopsy samples, datasets were split by biopsy cores; for single-specimen samples, manual segmentation was performed using SPATA2 to create regions.”

“We divided the samples into two distinct spatial transcriptomic datasets. For samples with multiple biopsies, we treated the raw data from each biopsy as separate datasets. In cases where the entire tissue was on a single slide, we segmented the samples as illustrated in Fig. 5a.”

Show the paper text and its location

Source location: Paper | PDF p. 7; Paper | PDF p. 13

“From 107 EPIC-characterized participants, datasets were divided into training and validation subsets. For multibiopsy samples, datasets were split by biopsy cores; for single-specimen samples, manual segmentation was performed using SPATA2 to create regions.”

“To avoid bias from similar normalization and preprocessing in both the training and the validation cohorts, we processed each dataset individually after splitting the data at the count level.”

Show the paper text and its location

Source location: Paper | PDF p. 13 — plus Web | publisher supplementary PDF, Supplementary Table 1

“From 107 EPIC-characterized participants, datasets were divided into training and validation subsets. For multibiopsy samples, datasets were split by biopsy cores; for single-specimen samples, manual segmentation was performed using SPATA2 to create regions.”

“Training data comprised 97,000 subgraphs from tumor datasets and 12,000 subgraphs from healthy controls, created using a three-hop neighborhood approach.”

“Supplementary Table 1: Evaluation of different models to explore the impact of extended neighborhoods for the predictive power of NEPSTA GIN: Graph isomorphic network, GAN: Graph attention network. The model evaluation was performed on 84 patients.”

07 MGMT promoter methylation

What it does
Predicts MGMT promoter methylation status from spatial data; this cannot be read from the inferred copy number.
Model
The NePSTA graph neural network with an MGMT prediction head.
Data and split
53 patients with MGMT results across the two cohorts: 30 from one cohort for training, 23 from the other for evaluation.
Results
Accuracy 99%; F1, precision and recall all 1.0.
Caveats for reuse
With 23 patients in the evaluation set, patient-level accuracy can only take values such as 95.7% or 100%; the 99% should be a subgraph-level result, so check before citing it.
See the sources for this task
Show the paper text and its location

Source location: Paper | PDF p. 13

“Expression profiles (top 5,000 genes), CNAs, histological annotations (one-hot encoded) and encoded H&E image vectors were included”

“Edge features were defined by spatial proximity with up to six neighbors per node”

Show the paper text and its location

Source location: Paper | PDF p. 7; Paper | PDF p. 21

“Extended Data Fig. 6 | Heterogeneity of CDKN2A/B alterations. (a) Schematic of the GNN workflow Since the MGMT and CDKN2A/B status is available in both cohorts (n = 53 patients) we train (n = 30 patients) and evaluate (n = 23 patients) on separate cohorts.”

“To harness this insight, we augmented our GNN framework, incorporating multiple MLPs specifically designed to predict MGMT promoter methylation and the loss of CDKN2A/B”

Show the paper text and its location

Source location: Paper | PDF p. 21

“Extended Data Fig. 6 | Heterogeneity of CDKN2A/B alterations. (a) Schematic of the GNN workflow Since the MGMT and CDKN2A/B status is available in both cohorts (n = 53 patients) we train (n = 30 patients) and evaluate (n = 23 patients) on separate cohorts.”

Show the paper text and its location

Source location: Paper | PDF p. 21

“Extended Data Fig. 6 | Heterogeneity of CDKN2A/B alterations. (a) Schematic of the GNN workflow Since the MGMT and CDKN2A/B status is available in both cohorts (n = 53 patients) we train (n = 30 patients) and evaluate (n = 23 patients) on separate cohorts.”

08 CDKN2A/B deletion

What it does
Predicts CDKN2A/B deletion (homozygous versus heterozygous) and compares the cell composition around deleted regions.
Model
The NePSTA graph neural network with a CDKN2A/B prediction head; neighborhood cell composition from GBMap deconvolution.
Data and split
53 patients with CDKN2A/B results: 30 from one cohort for training, 23 from the other for evaluation. The regional analysis uses stereotactic biopsies of IDH-mutant tumors.
Results
Accuracy for separating non-deleted from deleted subgraphs is 85.4%. Tumor cell fractions do not differ significantly between deleted and non-deleted regions, but deleted regions are enriched in monocytes and vascular endothelial cells.
Caveats for reuse
85.4% is subgraph-level accuracy, not patient-level.
See the sources for this task
Show the paper text and its location

Source location: Paper | PDF p. 13

“Expression profiles (top 5,000 genes), CNAs, histological annotations (one-hot encoded) and encoded H&E image vectors were included”

“Edge features were defined by spatial proximity with up to six neighbors per node”

Show the paper text and its location

Source location: Paper | PDF p. 8; Paper | PDF p. 21

“and further differentiation between homozygous and heterozygous deletion were found to be impossible in cases when the loss was not associated with chr9p loss (Fig. 6a,b).”

“Extended Data Fig. 6 | Heterogeneity of CDKN2A/B alterations. (a) Schematic of the GNN workflow Since the MGMT and CDKN2A/B status is available in both cohorts (n = 53 patients) we train (n = 30 patients) and evaluate (n = 23 patients) on separate cohorts.”

Show the paper text and its location

Source location: Paper | PDF p. 10; Paper | PDF p. 21

“Contrary to our expectations, our findings revealed that the majority of samples with heterozygous deletions (two of three) displayed a mixed genotype, encompassing both partial and complete loss of CDKN2A/B across different biopsy specimens.”

“Extended Data Fig. 6 | Heterogeneity of CDKN2A/B alterations. (a) Schematic of the GNN workflow Since the MGMT and CDKN2A/B status is available in both cohorts (n = 53 patients) we train (n = 30 patients) and evaluate (n = 23 patients) on separate cohorts.”

Show the paper text and its location

Source location: Paper | PDF p. 10

“Contrary to our expectations, our findings revealed that the majority of samples with heterozygous deletions (two of three) displayed a mixed genotype, encompassing both partial and complete loss of CDKN2A/B across different biopsy specimens.”

Before reuse, check these three things

  1. What you can get: the public statement about the validation cohort does not mean all training data is public; first check the files your target task needs.
  2. Correspondence: check whether expression, images, molecular labels and patient IDs can be matched, and confirm the usable intersection for each task.
  3. Experimental design: record the split, reference standard and evaluation level of each task separately; do not take the overall size of the paper as the usable size of every task.

Paper and sources

Ritter et al., Nature Cancer, 2025.
Spatially resolved transcriptomics and graph-based deep learning improve accuracy of routine CNS tumor diagnostics