A robust, scalable K-statistic for quantifying immune cell clustering in spatial proteomics data

Julia Wrobel, Hoseung Song · 2024

Read A robust, scalable K-statistic for quantifying immune cell clustering in spatial proteomics data by Julia Wrobel, Hoseung Song (2024) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2412-08498.txt.

Introduction

Julia Wrobel and Hoseung Song fix a classic measure of cell clustering in a 2024 paper. Tissue maps now show where each immune cell sits, and a standard tool asks whether cells cluster or scatter at random. That tool assumes cells spread evenly across the sample, which real tissue breaks. The break makes clustering look stronger than it is. Their fix, called KAMP, leans on the background cells in each sample.

Fresh math gives exact averages for what the tool should read under random shuffling. The fix stays fast on huge maps and yields rough odds for whether a cluster is real. In ovarian cancer samples with enough of two cell types, the fix found scale-specific hints that their pairing tracks patient survival. Skipping the fix may have bent risk estimates in past work, the authors warn.

Catalog record

CREATORJulia Wrobel, Hoseung Song
YEAR2024
COLLECTIONPAPERS
FORMATTXT
FILE SIZE68 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2412-08498

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

A robust, scalable K-statistic for quantifying immune cell clustering in spatial proteomics data Julia Wrobel, Hoseung Song Abstract Spatial summary statistics based on point process theory are widely used to quantify the spatial organization of cell populations in single-cell spatial proteomics data. Among these, Ripley’s K K is a popular metric for assessing whether cells are spatially clustered or are randomly dispersed. However, the key assumption of spatial homogeneity is frequently violated in spatial proteomics data, leading to overestimates of cell clustering and colocalization. To address this, we propose a novel method, termed KAMP ( K adjustment by A nalytical M oments of the P ermutation distribution), for quantifying the spatial organization of cells in spatial proteomics samples. KAMP leverages background cells in each sample along with a new closed-form representation of the first and second moments of the permutation null distribution of Ripley’s K K . Our method is robust to inhomogeneity, computationally efficient even in large datasets, and provides approximate p p -values to test spatial clustering and colocalization. Methodological developments are motivated by a spatial proteomics study of women with ovarian cancer; in the subset with sufficient B cells and macrophages, KAMP provides exploratory, scale-specific evidence linking B cell–macrophage colocalization with overall patient survival. Notably, we also find evidence that using K K without correcting for sample inhomogeneity may bias hazard ratio estimates in downstream analyses. and ?? Department of Biostatistics and Bioinformatics, Emory University , ?? ?? Department of Industrial and Systems Engineering, KAIST , ?? 1 Introduction Recent advances in single-cell spatial proteomics technologies have allowed researchers to examine tissue structure and function at the cellular level while preserving the original spatial context of the sample ( Vandereyken et al., 2023 ; Wrobel et al., 2023 ) . These technologies facilitate the measurement of protein abundance in situ , offering the potential to uncover novel spatial relationships between different cell types and their implications for patients ( Bressan et al., 2023 ) . Each patient has one or multiple tissue samples that are placed on a slide and imaged, cells are segmented and labeled, typically via semi-automated cell phenotyping algorithms, and then the spatial relationship between cells within and across samples is analyzed. Due to the lack of anatomical correspondence across samples, it is necessary to select summary features that quantify spatial relationships among cell types of interest. How to best summarize spatial features remains an active area of research. It is common to represent cell counts and locations in each sample as one realization of a point process, called a “point pattern”. A frequently employed method for analyzing spatial point patterns is the homogeneous point process model, which assesses whether cells are randomly distributed within the sample. To this end, Ripley’s K ( Ripley, 1988 ) , a popular metric of point process analysis, has been used to summarize the spatial organization of cells in proteomics data ( Wilson et al., 2021 ) . Specifically, K has been used to demonstrate that the degree of clustering of various immune cell types is significantly associated with survival in ovarian and breast cancers ( Keren et al., 2018 ; Wilson et al., 2022 ) . In this framework, K refers to Ripley’s K function, a cumulative spatial summary that, at radius r , measures the expected number of target cells within distance r of a randomly chosen cell of the same type after normalizing for cell density. For sample s , the observed value is denoted \hat{K}_{s}(r) and is compared to the expected value under a null hypothesis of no spatial clustering, denoted K_{0}(r) . When \hat{K}_{s}(r)>K_{0}(r) , spatial clustering is inferred, with \tilde{K}_{s}(r)=\hat{K}_{s}(r)-K_{0}(r) quantifying the “degree of clustering”. This quantity is then used as a covariate in models of patient outcomes. A bivariate form of Ripley’s K also exists and can be used to quantify spatial colocalization between two point types. In the context of spatial proteomics, this bivariate statistic often measures the spatial interaction between two immune cell types. Except where otherwise noted, we use the terms clustering and colocalization interchangeably. Under the standard \hat{K}_{s}(r) assumption of spatial homogeneity, or the idea that the expected number of cells in any sample subset is consistent across the sample, called complete spatial randomness (CSR), K_{0}(r) has a theoretical value of \pi r^{2} ( Baddeley et al., 2015 ) . However, homogeneity is often severely violated in spatial proteomics due to common issues such as tissue degradation over time or incomplete adherence to slides during imaging. When using \hat{K}_{s}(r) without modification, these inhomogeneities often lead to overestimation of spatial clustering and colocalization and may bias downstream modeling. 1.1 Scientific motivation and context in ovarian cancer Ovarian cancer is highly lethal and ranks as the sixth leading cause of cancer-related death among women in the United States. More than 20% of those diagnosed die within the first year, and only 51% survive beyond five years ( Siegel et al., 2024 ) . These facts highlight the urgent need for research that can lead to more personalized care, particularly through a better understanding of the immunological mechanisms underlying the disease. Our motivating data come from a spatial proteomics study of 128 women with high-grade serous ovarian cancer (HGSOC), in which one tumor sample was collected from each patient at diagnosis, along with overall survival and clinical variables such as age and cancer stage ( Jordan et al., 2020 ; Steinhart et al., 2021 ) . Each sample contains thousands of cells labeled with protein markers identifying tumor cells, immune cells, and key immune cell subtypes including B cells, macrophages, and cytotoxic T cells. Our scientific focus is on the spatial colocalization of B cells and macrophages. Tumor-associated macrophages (TAMs), the most prevalent immune cell type in HGSOC tumors, are known to promote an inflammatory microenvironment that supports tumor progression. Elevated macrophage infiltration has been linked to poor prognosis in HGSOC ( Steinhart et al., 2021 ; Nowak and Klink, 2020 ) . Despite their abundance, the tumor-promoting properties of TAMs remain poorly understood, and few strategies exist for effectively depleting them from the HGSOC microenvironment ( Lan et al., 2013 ) . The role of B cells is even less well characterized. While B cells are traditionally known for antibody production, they also secrete cytokines and engage in paracrine signaling with nearby immune cells, including macrophages. These interactions may be either tumor-promoting or tumor-suppressive, but their functional impact in HGSOC remains unclear ( Gupta et al., 2019 ) . Our analysis aims to contribute to this important area of study. Fig 1: Observed point patterns for four samples from the HGSOC data. Top row shows spatial locations of background cells (gray) and immune cells (red). The bottom row shows the corresponding empirical Ripley’s K as a function of radius r (purple) and K_{0}(r)=\pi r^{2} (gray). The first and second columns show a representative sample with high and low immune cell clustering, respectively. The third and fourth columns show samples with areas of spatial inhomogeneity due to tearing and degradation of the tissue. Representative samples from our dataset are shown in Figure 1 , which displays observed point patterns (top row) alongside their corresponding \hat{K}_{s}(r) values (bottom row) for four

Read the complete text