Scalable inference for spatial generalized mixed models for use in multiplexed imaging analysis
- 20 January 2026
- journal article
- Published by Oxford University Press (OUP) in Biostatistics
- Vol. 27 (1)
Abstract
Summary: Understanding how cells interact to coordinate tissue function and respond to disease remains a central challenge in biology. Recently developed multiplex bioimaging technologies [multiplex immunofluorescence (MxIF)] can quantify multiple protein markers at a single-cell resolution in spatially preserved tissue, offering the opportunity to understand how cellular organization relates to disease mechanisms and treatment response. Spatial generalized linear mixed models for cell co-localization offer a flexible framework for these analyses, accommodating cell-, image-, or subject-level predictors while accounting for correlation arising from repeated cells per image, repeated images per subject, and spatial dependence among nearby cells. However, as MxIF data typically have hundreds of thousands to millions of cells per study, fitting the full spatial model is computationally infeasible due to the large, dense, spatial covariance matrix. We present a scalable inference strategy that uses parallelizable eigen-decomposition of an empirically estimated spatial correlation matrix to approximate the full spatial model. This approach enables fast estimation of fixed effects of interest without requiring formal estimation of spatial parameters or surface prediction. In simulations, our proposed method could be fitted to large datasets ($ \sim $ 285,000 observations) in under a minute, with runtime linearly increasing by only $ \sim $ 7 s per 50,000 additional observations. This scalability makes cell-level modeling in the presence of spatial correlation feasible for real-world MxIF datasets, as we demonstrate through applications to metastatic melanoma and high-grade serous ovarian carcinoma.
Keywords
Funding Information
- National Institutes of Health (R01CA260259)
This publication has 52 references indexed in Scilit:
- Intratumoral immune triads are required for immunotherapy-mediated elimination of solid tumorsCancer Cell, 2024
- Statistical Analysis of Multiplex Immunofluorescence and Immunohistochemistry Imaging Data2023
- Deep spatial phenotyping of microglial populations and pathological features in Alzheimer’s disease brains using CODEX Multiplexed ImagingAlzheimer's & Dementia, 2022
- Assessing the Prognostic Significance of Tumor-Infiltrating Lymphocytes in Patients With Melanoma Using Pathologic Features Identified by Natural Language ProcessingJAMA Network Open, 2021
- A Case Study Competition Among Methods for Analyzing Large Spatial DataJournal of Agricultural, Biological and Environmental Statistics, 2018
- Spatial modeling with R‐INLA: A reviewWIREs Computational Statistics, 2018
- Dose-Response Association of CD8+ Tumor-Infiltrating Lymphocytes and Survival Time in High-Grade Serous Ovarian CancerJAMA Oncology, 2017
- Reliability of the Experimental Variogram and Nested Sampling2007
- Multivariable geostatistics in S: the gstat packageComputers & Geosciences, 2004
- Spatial Filtering2003