Get to know your neighbors with a SNAQ™: A framework for single cell spatial neighborhood analysis in immunohistochemical images
Aryeh SilveriD, Avirup ChakrabortyiD, Avinash Pittu, Diana Feier, Miruna Anica, Illeana West, Matthew R. SarkisianiD, Loic P. DeleyrolleiD
Abstract
MotivationAnalyzing the local microenvironment of tumor cells can provide significant insights into their complex interactions with their cellular surroundings, including immune cells. By quantifying the prevalence and distances of certain immune cells in the vicinity of tumor cells through a neighborhood analysis, patterns may emerge that indicate specific associations between cell populations. Such analyses can reveal important aspects of tumor-immune dynamics, which may inform therapeutic strategies. This method enables an in-depth exploration of spatial interactions among different cell types, which is crucial for research in oncology, immunology, and developmental biology. ResultsWe introduce an R Markdown script called SNAQTM (Single-cell Spatial Neighborhood Analysis and Quantification), which conducts a neighborhood analysis on immunofluorescent images without the need for extensive coding knowledge. As a demonstration, SNAQTM was used to analyze images of pancreatic ductal adenocarcinoma. Samples stained for DAPI, PanCK, CD68, and PD-L1 were segmented and classified using QuPath. The resulting CSV files were exported into RStudio for further analysis and visualization using SNAQTM. Visualizations include plots revealing the cellular composition of neighborhoods around multiple cell types within a customizable radius. Additionally, the analysis includes measuring the distances between cells of certain types relative to others across multiple regions of interest. Availability and implementationThe R Markdown files that comprise the SNAQTM algorithm and the input data from this paper are freely available on the web at https://github.com/AryehSilver1/SNAQ. Visual Abstract O_FIG O_LINKSMALLFIG WIDTH=200 HEIGHT=70 SRC="FIGDIR/small/606539v1_ufig1.gif" ALT="Figure 1"> View larger version (35K): org.highwire.dtl.DTLVardef@1cda240org.highwire.dtl.DTLVardef@157280forg.highwire.dtl.DTLVardef@1072cf8org.highwire.dtl.DTLVardef@1964e0_HPS_FORMAT_FIGEXP M_FIG C_FIG Created with BioRender.com.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Organism
- Assay
- Research Focus
- Approach
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
- Visinity: Visual Spatial Neighborhood Analysis for Multiplexed Tissue Imaging Data
S. Warchol, R. Krueger, … H. Pfister·bioRxiv·May 9, 2022
- Spatial Analysis of Malignant-Immune Cell Interactions in the Tumor Microenvironment Using Topological Data Analysis
Seol Ah Park, Davide Gurnari, … Jooyoung Hahn·npj Systems Biology and ApplicationsPeer-reviewed·Jun 13, 2026
- Modeling cellular influence delineates functionally relevant cellular neighborhoods in primary and metastatic pancreatic ductal adenocarcinoma.
Yeonju Cho, Jae Woo Lee, … Won Jin Ho·bioRxiv·Jun 12, 2025
- Bioinformatics analysis quantifies neighborhood preferences of cancer cells in Hodgkin lymphoma.
Jennifer Scheidel, Hendrik Schaefer, … Ina Koch·bioRxiv·Dec 4, 2017
- Pipeline for Assessing Tumor Immune Status Using Superplex Immunostaining and Spatial Immune Interaction Analysis
Chaoxin Xiao, Ruihan Zhou, … Chengjian Zhao·bioRxiv·Aug 23, 2024
- Multi-Parameter Quantitative Imaging of Tumor Microenvironments Reveals Perivascular Immune Niches Associated with Anti-Tumor Immunity
C. R. Stoltzfus, R. Sivakumar, … M. Y. Gerner·bioRxiv·Jun 17, 2021