PatternExtract: A Facile, Scalable Pipeline for Point Pattern Generation from Spatial Imaging Data.
Shruti Sridhar, Gayatri Kumar, Victoire Ringler, Kanav Gupta, Siddham Jasoria, Ziwei Meng, Patrick Jaynes, Chartsiam Tipgomut,
Cancer Science Institute of Singapore, National University of Singapore, Singapore, Singapore. · Department of Translational Molecular Pathology, The University of Texas MD Anderson Cancer Center, Houston, TX, USA.
Key points
From the paper's conclusion- We present PatternExtract, an open-source, multi-platform pipeline for generating biologically accurate spatial point patterns from multiplexed imaging data.
Abstract
Spatial point pattern analysis offers a mathematically rigorous framework for characterizing cell distribution in cancer tissue, yet existing pipelines lack robust methods for defining accurate spatial windows that exclude noncellular artifacts. We present PatternExtract, an open-source, multi-platform pipeline for generating biologically accurate spatial point patterns from multiplexed imaging data. The pipeline introduces a 2-kernel tissue segmentation approach that overlays concentric circular kernels on cellular coordinates to construct tissue masks without dependence on proprietary software or fluorescence composite channels, making it compatible with RGB images and coordinate outputs from any cell segmentation tool. Benchmarked on 568 images from 274 diffuse large B cell lymphoma (DLBCL) patients, PatternExtract identified and correctly excluded tissue artifacts in 27% of images, reducing window area by a mean of 9.8 ± 8.2% relative to convex hull methods. Convex hull window misspecification inflated K function AUC by up to 649.6% and produced 100% false rejection of complete spatial randomness under simulation, errors fully corrected by PatternExtract. Cross-cohort validation on an independent 20-patient cohort confirmed pipeline consistency across imaging platforms and staining protocols. Biological application to Ki67+ cell distributions in DLBCL demonstrated the pipeline's utility in detecting genuine short-range clustering beyond spatial inhomogeneity. PatternExtract is available at https://github.com/shrutisridhar99/PatternExtract with a Streamlit-based graphical user interface (GUI) for accessibility across programming backgrounds.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- HistoWAS: A Pathomics Framework for Large-Scale Feature-Wide Association Studies of Tissue Topology and Patient Outcomes.IS&T International Symposium on Electronic Imaging · 2026
- QuRad: Radiomics Feature Extraction for QuPath.Computational and structural biotechnology journal · 2026
- SPACEc: a streamlined, interactive Python workflow for multiplexed image processing and analysisNature Communications · 2025
- MuSpAn: a toolbox for multiscale spatial analysisNature Communications · 2026
- Xen-Spat: An Analysis Pipeline for Imaging-Based Spatial Transcriptomic Data to Quantify Cellular Colocalization in the Tumor Microenvironment.Genes · 2026
- CellPlex: Benchmarking Single-Cell Spatial Proteomics Prediction from H&EarXiv · 2026