bioRxivBioinformaticsPreprint
An image analysis pipeline to quantify the spatial distribution of cell markers in stroma-rich tumors
Antoine A. RuzetteiD, Nina V. KozlovaiD, Kayla A. CruziD, Taru E. MuraneniD, Simon Flyvbjerg NørrelykkeiD
Abstract
1.Aggressive cancers, such as pancreatic ductal adenocarcinoma (PDAC), are often characterized by a complex and desmoplastic tumor microenvironment rich in stroma, a supportive connective tissue composed primarily of extracellular matrix (ECM) and non-cancerous cells. Desmoplasia, which is a dense deposition of stroma, is a major reason for therapy resistance, acting both as a physical barrier that interferes with drug penetration and as a supportive niche that protects cancer cells through diverse mechanisms. A precise understanding of spatial cell interactions within the tumor microenvironment in stroma-rich cancers is essential for optimizing therapeutic responses. It allows detailed mapping of stromal-tumor interfaces, comprehensive phenotyping of diverse cell types and their functional states, and insights into changes in cellular distribution and tissue architecture, thus leading to an improved assessment of drug responses. Recent advances in multiplexed immunofluorescence imaging have enabled the acquisition of large batches of whole-slide tumor images, but scalable and reproducible methods to analyze the spatial distribution of cell states relative to stromal regions remain limited. To address this gap, we developed an open-source computational pipeline that integrates QuPath (Bankhead et al. 2017), StarDist (Schmidt et al. 2018), and custom Python scripts to quantify biomarker expression at a single- and sub-cellular resolution across entire tumor sections. Our workflow includes: (i) automated nuclei segmentation using StarDist, (ii) machine learning-based cell classification using multiplexed marker expression, (iii) modeling of stromal regions based on fibronectin staining, (iv) sensitivity analyses on classification thresholds to ensure robustness across heterogeneous datasets, and (v) distance-based quantification of the proximity of each cell to the stromal border. To improve consistency across slides with variable staining intensities, we introduce a statistical strategy that translates classification thresholds by propagating a chosen reference percentile across the distribution of marker-related cell measurement in each image. We apply this approach to quantify spatial patterns of distribution of the phosphorylated form of the N-Myc downregulated gene 1 (NDRG1), a novel DNA repair protein that conveys signals from the ECM to the nucleus to maintain replication fork homeostasis, and a known cell proliferation marker Ki67 in fibronectin-defined stromal regions in PDAC xenografts. The pipeline is applicable for the analysis of various stroma-rich tissues and is publicly available: https://github.com/HMS-IAC/stroma-spatial-analysis-web. 2. Summary paragraphOur study introduces a scalable and reproducible image analysis pipeline that quantifies spatial biomarker distributions relative to the stroma in tumor tissues using open-source tools. By modeling cell-level intensity distributions and calibrating classification thresholds across heterogeneous images, we uncover spatially organized patterns of stroma sensing, DNA damage, and proliferative response in pancreatic tumors. This approach enables robust, quantitative analysis of tumor-stroma interactions and is readily adaptable to other tumor types and biomarker panels, providing a valuable resource for spatial pathology and tumor microenvironment research.
- Citations
- 0
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.
Related papers
- Integrated spatial proteomics of human PDAC uncovers an expanded tumour-immune-stroma spectrum with genomic associations
Noor E. Shakfa, Ferris Nowlan, … Hartland Warren Jackson·bioRxiv·Aug 15, 2025
- High-Dimensional Protein Analysis Uncovers Distinct Immunological and Stromal Signatures Between Primary and Metastatic Pancreatic Ductal Adenocarcinoma
Emily R. Greene, Natalie K. Horvat, … Gregory B. Lesinski·bioRxiv·Apr 18, 2025
- MARQO pipeline resolves multiparametric cellular and spatial organization in cancer tissue lesions
Mark Buckup, Igor Figueiredo, … Sacha Gnjatic·bioRxiv·Apr 24, 2025
- High-dimensional mass cytometry reveals stemness state heterogeneity in pancreatic ductal adenocarcinoma
Egle-Helene Ervin, David Ahern, … Siim Pauklin·bioRxiv·Feb 27, 2024
- Continuous tissue fields organize immune composition in pancreatic cancer
Weihao Wang, Shayan Sarkar, … Scott Powers·bioRxiv·Aug 24, 2026
- Computational staining of pathology images to study tumor microenvironment in lung cancer
Shidan Wang, Ruichen Rong, … Guanghua Xiao·Cancer ResearchPeer-reviewed·Jan 8, 2020