henhaobio
Sign in

bioRxivBioinformaticsPreprint

GPSNorm: Gaussian Process Spatial Normalization for Spatial Transcriptomics

Art TaychameekiatchaiiD, Xiaowei ZhaniD, Guanghua XiaoiD, Peifeng RuaniD

PDFDOICodeData

Abstract

Spatial transcriptomics technologies enable measurement of gene expression while preserving spatial tissue organization, but they remain highly sensitive to technical variability such as library size differences, slide-level effects, and spatial artifacts. Most existing normalization approaches treat normalization as a preprocessing step and perform downstream analyses on normalized values as fixed inputs, ignoring the uncertainty introduced during normalization. We introduce GPSNorm (Gaussian Process Spatial Normalization), a Bayesian spatial normalization framework that jointly models technical variation, spatial structure, and biological signal within a unified hierarchical model. GPSNorm represents gene expression counts using a negative binomial latent Gaussian model whose spatial component is a Gaussian Markov random field approximating a Gaussian process and performs efficient approximate Bayesian inference using the Integrated Nested Laplace Approximation (INLA), producing posterior estimates that propagate normalization uncertainty into downstream differential expression analysis. In simulations anchored to empirical spatial transcriptomics data, GPSNorm accurately recovers spatial technical structure and improves log-fold change estimation compared with existing normalization methods. Applications to three spatial transcriptomics datasets--including human dorsolateral prefrontal cortex Visium data, a GeoMx COVID-19 lung damage study, and the Spatial Organ Atlas kidney dataset--demonstrate improved preservation of biologically expected spatial patterns and marker gene contrasts. These results show that jointly modeling normalization and downstream inference can improve the robustness and interpretability of spatial transcriptomics analyses.An open-source R implementation of GPSNorm is available at https://github.com/Tiny-Quant/GPSNorm.

In-depth summary

Claude Opus 5.5 · xhigh effort · 8 Nov 2026 · from the full text of version 1 (27 Jul 2026) · CC BY 4.0

GPSNorm fits slide, spatial technical and biological effects in one Bayesian negative binomial model, carrying normalization uncertainty into differential expression and lowering log-fold change error in simulations.

Spatial transcriptomics counts mix biological signal with library-size, slide and within-slide spatial artifacts that can mimic tissue structure, yet most normalization methods, including those built for spatial data, output fixed adjusted values whose estimation uncertainty is ignored downstream. GPSNorm folds normalization into the inferential model, estimating technical and biological terms jointly so that differential expression uncertainty grows when the two cannot be separated.

Key results

  1. SuggestedWhen the group contrast tracks latent spatial structure, two-stage normalization yields overconfident differential expression intervals, whereas joint estimation widens them and keeps coverage near nominal, in a reduced null simulation (true effect 0).

    Over 100 replicates per level of spatial SD σu, two-stage interval widths stayed nearly flat and empirical 95% coverage fell toward zero as σu grew; joint 95% credible intervals widened monotonically, keeping coverage near nominal 0.95 for most σu levels apart from a transient dip at low σu. The two coincided at σu = 0, as predicted by a law-of-total-variance argument. · 3.1 Theoretical Motivation; 3.2 Empirical Demonstration Under Spatial…; Figure legends

  2. SuggestedIn simulations anchored to empirical count data, GPSNorm recovered the simulated technical spatial field and gave the most accurate log fold-change estimates, with its advantage growing as slide-level and spatial technical variation increased.

    Correlation of estimated with true technical field: 0.921 ± 0.021 over 25 runs of the hardest scenario (F_hard). Mean log fold-change RMSE over 30 replicates was lowest for GPSNorm in all six scenarios, with minimal bias; DE-ranking AUC was similar across methods in low-confounding regimes and higher for GPSNorm under technical confounding. · 4.3.1 Recovery of Technical Spatial Structure; 4.3.2 Differential Expression Performance; Figure legends

  3. SuggestedIn a GeoMx COVID-19 lung dataset of 46 areas of interest (AOIs), only GPSNorm called genes differentially expressed between severe and mild-to-moderate damage, including chemokines consistent with the original study; other methods followed by limma with FDR control called none.

    Up in severe AOIs: CCL18, CXCL10, CCL2; up in milder AOIs: SCGB1A1. GPSNorm calls used a region-of-practical-equivalence rule, P(|βg| > 0.10 | y) ≥ 0.95; comparators used limma FDR, which the authors note is a different inferential quantity. SpaNorm and scran gave no valid estimates with so few AOIs. No dataset-specific preprocessing or tuning was applied. · 6.2 GeoMx COVID-19 Lung Damage Dataset; Figure legends

  4. SuggestedGPSNorm kept expected contrasts: white-matter MOBP enrichment in Visium dorsolateral prefrontal cortex (DLPFC), as SpaNorm also did, and high ranking of both glomerular and proximal tubule markers in GeoMx kidney, where several other methods ranked tubule markers lower and SpaNorm did not show this advantage.

    DLPFC sample 151672: unnormalized MOBP counts hid white-matter enrichment; GPSNorm (percentile-adjusted counts and posterior median) and SpaNorm showed it within white matter and at its boundary. Kidney: mean evidence percentile of marker sets including NPHS1, PODXL, SYNPO, WT1 and LRP2, CUBN, AQP1, SLC22A6, SLC22A8, glomerular vs other nephron AOIs. Shown in figures only; no numbers in the text. · 6.1 10x Visium Human DLPFC Dataset; 6.3 GeoMx Spatial Organ Atlas Kidney Dataset; Figure legends

  5. ShownClustering neighboring AOIs within each slide for fitting, then projecting estimates back, cut runtime substantially while largely preserving log fold-change magnitudes and the order of top-ranked genes relative to the full-resolution fit.

    Simulation (F_hard, 25 replicates; 0.5x and 0.25x levels): about 50% less runtime with moderate and about four-fold speedup with stronger aggregation, log fold-change (logFC) shifts of a few hundredths, lower global but higher top-gene rank agreement. Kidney: over five-fold faster at the coarsest level, logFC shifts on the order of 10^−3, high agreement among the top 10% of genes. · 5 AOI Clustering and Computational Scaling; Tables

Methods, data and reproducibility

Gene-by-unit counts are modeled as negative binomial with a library-size offset, gene baselines, slide effects, a slide-specific intrinsic conditional autoregressive (ICAR) spatial field approximating a Gaussian process, and gene-level covariate effects (omitted for negative controls), fit by integrated nested Laplace approximation (INLA); evaluated by simulation and on three Visium/GeoMx datasets.

  • 10x Visium human dorsolateral prefrontal cortex dataset (Maynard et al.), obtained via the SpaNorm R package; sample 151672 shown · human
  • NanoString GeoMx DSP COVID-19 lung damage dataset (Cross et al.), AOIs graded by tissue damage across multiple slides, with housekeeping and negative control probes · n = 46 AOIs · GSE186213
  • NanoString GeoMx Spatial Organ Atlas kidney dataset; cortical and juxtamedullary glomerulus AOIs vs other nephron segments · human (per the 'human-kidney' path of the dataset URL)
  • Simulations anchored to empirical expression, dispersion and library sizes; six scenarios (A_overlap0 to F_hard) varying biological overlap and technical variance · n = 30 replicates per scenario (25 for F_hard recovery and aggregation)
  • Reduced null spatial simulation (true DE effect 0) with a smooth spatial field of varying SD correlated with the group contrast · n = 100 replicates per spatial variance level
Methods & tools
GPSNorm, R-INLA, SpaNorm, scran, limma, 10x Genomics Visium, NanoString GeoMx DSP, Gene Expression Omnibus
Reproducibility gaps
No R or R-INLA versions, container or hardware are stated; the text does not identify the empirical dataset used to anchor the simulations or name the comparison methods in the simulation benchmark.
Limitations (5)
  • Fitting hierarchical spatial models can remain computationally costly for very large datasets; clustering spatial units mitigates this, but scalable approximations for high-resolution platforms with far more spatial units are left to future work. · stated by the authors
  • Identification relies on technical variation being shared across genes and spatially smooth; gene-specific spatial biology is left in the residual, and complex technical artifacts or highly irregular spatial patterns may need other priors or model extensions. · stated by the authors
  • AOI aggregation was assessed against the full-resolution fit rather than ground truth, so the reported agreement reflects consistency, not accuracy. · stated by the authors
  • Real-data comparisons lack ground truth and rest on one dataset each; in the COVID-19 data a posterior ROPE threshold is set against limma FDR calls, so finding more genes does not by itself show better calibration or false-positive control. · noted in this summary
  • The benchmark simulations were designed by the authors with slide-level and smooth spatial technical effects of the kind GPSNorm models, and the text names neither the competing methods nor numeric RMSE or AUC values. · noted in this summary

Read this if you analyze Visium or GeoMx data, especially small GeoMx studies with control probes, and want differential expression that carries slide and spatial normalization uncertainty instead of treating normalized counts as fixed.

Citations
1

Reproducibility ledger

Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.

Sign in to file a reproducibility report.