An image analysis pipeline to quantify the spatial distribution of cell markers in stroma-rich tumors
Open Access
- 5 September 2025
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Bioinformatics
- Vol. 5, 1619790
Abstract
Aggressive cancers, such as pancreatic ductal adenocarcinoma (PDAC), are often characterized by a complex and desmoplastic tumor microenvironment, a stroma rich supportive connective tissue composed primarily of extracellular matrix (ECM) and non-cancerous cells. Desmoplasia, 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. Precise understanding of spatial cell interactions in stroma-rich tumors is essential for optimizing therapeutic responses. It enables detailed mapping of stromal-tumor interfaces, comprehensive cell phenotyping, and insights into changes in tissue architecture, improving 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, StarDist, 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 markers of interest in stroma-rich tissues and is publicly available.Keywords
This publication has 26 references indexed in Scilit:
- Pancreatic cancer: Advances and challengesCell, 2023
- Stromal cell regulation of inflammatory responsesCurrent Opinion in Immunology, 2022
- Array programming with NumPyNature, 2020
- The tumour microenvironment in pancreatic cancer — clinical challenges and opportunitiesNature Reviews Clinical Oncology, 2020
- The Interplay of the Extracellular Matrix and Stromal Cells as a Drug Target in Stroma-Rich CancersTrends in Pharmacological Sciences, 2020
- Targeting the tumour stroma to improve cancer therapyNature Reviews Clinical Oncology, 2018
- The ImageJ ecosystem: An open platform for biomedical image analysisMolecular Reproduction and Development, 2015
- NIH Image to ImageJ: 25 years of image analysisNature Methods, 2012
- Fiji: an open-source platform for biological-image analysisNature Methods, 2012
- Keratins in health and cancer: more than mere epithelial cell markersOncogene, 2010