spatialgater: A Shiny webtool for in situ gating of cells in SpatialExperiments

preprint OA: closed
📄 Open PDF Full text JSON View at publisher

Abstract

Multiplexed imaging techniques generate high-dimensional datasets that contain their molecular profiles of cells combined with spatial coordinates, which can be stored in SpatialExperiment objects. Current analysis workflows separate cells after clustering them by their bio-molecule expression levels without considering their spatial context within the tissue. While patch-/neighbourhood detection methods exist, there is no option to select single cells by their location at will. By introducing spatialgater , we aim to boost interactivity and reduce programming efforts of image analysis by enabling spatial gating of cells from SpatialExperiment objects through an intuitive web-based interface. The package displays cells as dots on a zoom-able image and allows users to draw polygon gates directly on individual cells. All selected cell identifiers can be exported as.csv and/or written back as logical gate column in the colData() of the original SpatialExperiment . spatialgater provides an accessible, interactive addition to spatial analysis pipelines. By using a publicly available imaging mass cytometry dataset from breast cancer tissue, we demon-strate its effectiveness in characterizing and comparing T-cells by their spatial location.
Full text 31,111 characters · extracted from preprint-html · click to expand
spatialgater: A Shiny webtool for in situ gating of cells in SpatialExperiments | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results spatialgater: A Shiny webtool for in situ gating of cells in SpatialExperiments View ORCID Profile Markus Steiner , View ORCID Profile Stephan Drothler , View ORCID Profile Jan Philip Höpner , View ORCID Profile Roland Geisberger , View ORCID Profile Nadja Zaborsky doi: https://doi.org/10.1101/2025.10.26.684544 Markus Steiner 1 Department of Internal Medicine III with Haematology, Medical Oncology, Haemostaseology, Infectiology and Rheumatology, Oncologic Center, Paracelsus Medical University , Salzburg, Austria 2 Salzburg Cancer Research Institute - Laboratory for Immunological and Molecular Cancer Research (LIMCR) , Austria 3 Cancer Cluster Salzburg , Salzburg, Austria Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Markus Steiner For correspondence: mark.steiner{at}ext.salk.at Stephan Drothler 1 Department of Internal Medicine III with Haematology, Medical Oncology, Haemostaseology, Infectiology and Rheumatology, Oncologic Center, Paracelsus Medical University , Salzburg, Austria 2 Salzburg Cancer Research Institute - Laboratory for Immunological and Molecular Cancer Research (LIMCR) , Austria 3 Cancer Cluster Salzburg , Salzburg, Austria 4 Department of Biosciences and Medical Biology, Paris-Lodron University Salzburg , Salzburg, Austria Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Stephan Drothler Jan Philip Höpner 1 Department of Internal Medicine III with Haematology, Medical Oncology, Haemostaseology, Infectiology and Rheumatology, Oncologic Center, Paracelsus Medical University , Salzburg, Austria 2 Salzburg Cancer Research Institute - Laboratory for Immunological and Molecular Cancer Research (LIMCR) , Austria 3 Cancer Cluster Salzburg , Salzburg, Austria 4 Department of Biosciences and Medical Biology, Paris-Lodron University Salzburg , Salzburg, Austria Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Jan Philip Höpner Roland Geisberger 1 Department of Internal Medicine III with Haematology, Medical Oncology, Haemostaseology, Infectiology and Rheumatology, Oncologic Center, Paracelsus Medical University , Salzburg, Austria 2 Salzburg Cancer Research Institute - Laboratory for Immunological and Molecular Cancer Research (LIMCR) , Austria 3 Cancer Cluster Salzburg , Salzburg, Austria Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Roland Geisberger Nadja Zaborsky 1 Department of Internal Medicine III with Haematology, Medical Oncology, Haemostaseology, Infectiology and Rheumatology, Oncologic Center, Paracelsus Medical University , Salzburg, Austria 2 Salzburg Cancer Research Institute - Laboratory for Immunological and Molecular Cancer Research (LIMCR) , Austria 3 Cancer Cluster Salzburg , Salzburg, Austria Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Nadja Zaborsky Abstract Full Text Info/History Metrics Data/Code Preview PDF Abstract Multiplexed imaging techniques generate high-dimensional datasets that contain their molecular profiles of cells combined with spatial coordinates, which can be stored in SpatialExperiment objects. Current analysis workflows separate cells after clustering them by their bio-molecule expression levels without considering their spatial context within the tissue. While patch-/neighbourhood detection methods exist, there is no option to select single cells by their location at will. By introducing spatialgater , we aim to boost interactivity and reduce programming efforts of image analysis by enabling spatial gating of cells from SpatialExperiment objects through an intuitive web-based interface. The package displays cells as dots on a zoom-able image and allows users to draw polygon gates directly on individual cells. All selected cell identifiers can be exported as.csv and/or written back as logical gate column in the colData() of the original SpatialExperiment . spatialgater provides an accessible, interactive addition to spatial analysis pipelines. By using a publicly available imaging mass cytometry dataset from breast cancer tissue, we demon-strate its effectiveness in characterizing and comparing T-cells by their spatial location. I. INTRODUCTION Spatial “omics” technologies have rapidly expanded the biological questions that can be addressed in situ , particularly in cancer during recent years. Hereby, analysis of specific cell phenotypes, cell states and precise location of single cells in tissue help in understanding of complex diseases on a molecular level [ 1 – 4 ]. Within the R/Bioconductor ecosystem, the S4-vector based SpatialExperiment extends the SingleCellExperiment class with coordinates and image data for downstream analysis. It is one of the most versatile data container formats used for imaging mass cytometry data. It harbors many important visualization and analysis functions and packages which extend its range of application even further [ 5 – 7 ]. The cytomapper package focuses on visualization of pixel-level and cell-level information on segmentation masks and supports mapping of interactively gated cells from expression dot-plots back to the images via cytomapperShiny() [ 8 ]. Similarly, cytoviewer provides an interactive visualization tool for channel data, segmentation masks, and colData() entries [ 9 ]. Thus, both tools provide powerful and complementary visualization options, but lack the ability to select certain cell populations by location or spatial context. Here, we present the R package: spatialgater , an R/Shiny tool that can add to the analysis workflow by enabling cell-selection by location (theoretically down to a single cell). The user is able to draw gates on cell coordinates to capture anatomically or histologically striking regions, and the gate assignment is transferred as logical column to the SpatialExperiment for immediate use in downstream analysis. This approach integrates well with the Bioconductor workflow and requires minimal programming, in contrast to traditional ways of spatial community or patch detection analysis [ 7 ]. In sum, interactive spatial gating adds a lightweight yet effective layer to spatial omics pipelines, improving interpretability and accelerating exploratory-to-confirmatory analysis. Here we show the application of spatialgater on an imaging mass cytometry data set of breast cancer tissue. Using spatialgater() we select T-cells close to patches of CK7 + CK + and CK + HRhi tumor cells and compare protein expression to T-cells, which are located further away from these tumors clusters. II. METHODS A. Software Architecture The R package spatialgater is built on the Shiny web app framework for R [ 11 ]. The package consists of three main components: (1) data processing of SpatialExperiment objects, (2) the Shiny user interface for interactive visual-ization and gating and (3) export mechanisms that integrate the gated cell IDs back into the original data structure with optional CSV export. Installation instructions are described in the github repository (see section VI). 1) Dependencies The app depends on several key R packages: SpatialExperiment : Provides the core data structure for spatial omics data [ 12 ] Shiny : Enables interactive web application [ 11 ] leaflet/leaflet.extras : Provides interactive mapping with polygon drawing tools [ 13 , 14 ] sf : Handles spatial geometry operations for point-in-polygon calculations [ 15 ] 2) User Interface The interface consists of three main components: Control Panel: Contains sample selection dropdown, gate naming input, action buttons for export, download, and clearing of gated cell IDs Interactive Map: Displays cell positions as colored dots and a color legend. Users can zoom and draw polygons on the map. Selection Display: Shows the current selection of cell IDs as a union of all active polygons from a single sample. These IDs will be exported. Zooming option allows for gating of a single cell. 3) Coordinate and Gate handling The first two columns of spatialCoords() are read as pixel coordinates. The Y-axis is mirrored to replicate the image-style coordinates. Visualization and point-in-polygon queries run in this mirrored space. Drawn polygons are non-permanent: the app maintains only the union of cell IDs currently covered by the gates for the selected sample. Exporting is “add-only” and writes logical gate columns to colData(spe) $ <-TRUE for those cells. It does not reset prior TRUE values to FALSE . The same cell IDs can be downloaded as a csv. Switching samples clears polygons and the live selection but preserves any previously exported gate columns. Optionally, a user-supplied on_export() callback can override writing. If enabled, auto_write_back assigns the updated SpatialExperiment object to the calling environment when the spatialgater session ends. B. Analysis Procedure Rstudio (V 4.5.1) equipped with the following packages was used to conduct the analysis [ 16 – 23 ]: library (“ s p a t i a l g a t e r “) library (“ h e r e “) library (“ i m c d a t a s e t s “) library (“ t i d y v e r s e “) library (“ s v g l i t e “) library (“ RColor Brewer “) library (“ ggpubr “) library (“ scater “) Statistical tests were performed using geom_pwc() with standard parameters (wilcox-test). UMAP was calculated using runUMAP() . Plots were generated using ggplot2 and dittoSeq and assembled with the help of magick , grid and patchwork [ 19 , 24 – 27 ]. Statistical significance was assumed at p < 0.05. T-cell groups were defined by visual approximation. Tumoral T-cells were gated if not more than roughly 4 cells away from a CK7 + CK + and CK + HRhi tumor patches. Distal T-cells were gated if they appeared at least 10 cells away from a CK7 + CK + and CK + HRhi tumor patch. Tumor cells were assumed as patches if there were at least 5 tumor cells in direct cell-cell contact. Among all T-cells in the sample (image id: 156), we gated an exemplary region of 135 tumoral T-cells and 99 distal T-cells. A link to the analysis script can be found in section VI. III. RESULTS Convenient characterization of tumor-adjacent T-cells To test the functionality of spatialgater we downloaded a public imaging mass cytometry data set of breast cancer tissue by Jackson et al. sourced via the imcdatasets package [ 10 , 18 ]. The data set (with standard import parameters) comprises 100 samples of breast cancer tissue, analyzed with 35 isotope-conjugated antibodies. The authors identified 27 metaclusters falling into the following four categories: immune, epithelial, stromal and tumor. We were interested if there are phenotypical differences between T-cells which are located close to tumor cells (approx. not more than four cells away from a CK7 + CK + and CK + HRhi tumor patch) which we defined as tumoral T-cells, compared to “distal” T-cells which are located further away (approx. more than ten cells away from a CK7 + CK + and CK + HRhi tumor patch). To begin with, we screened the SpatialExperiment for samples with high amounts of T-cells and selected a sample (image id: 156) based on visual inspection with following selection parameters: Presence of distinct tumor cell patches Presence of T-cells close to these tumor patches Presence of T-cells distant from these tumor patches Next, we called spatialgater() and gated 135 tumoral T-cells and 99 distal T-cells (see. Fig 1 ). We then proceeded to investigate the phenotype of these T-cells. Download figure Open in new tab Figure 1. Gating of T-cells close and distant to breast cancer cells from the Jackson et al. data [ 10 ]. A : Final gating strategy visualized using cell level plots of the original cell masks using cytoviewer() [ 9 ]. Tumor cells are highlighted in red and are derived from cell metacluster 20 and 23 (see legend in Figure 1 B ) which are defined as CK7 + CK + and CK + HRhi by Jackson and colleagues. T-cells close to tumor patches are highlighted in aquamarine ( Tumoral_Tcell ), while T-cells further away from tumor patches are highlighted in gold ( Distal_Tcell ) (definition of cell types in section II-B). All other cell masks are colored in grey. Scale bar (right bottom) is shown in µm. The white square marks the gating location highlighted in Figure 1B . B : Crop of the spatialgater user-interface (image id: 156) of the data set (left image), approximately marked by the white rectangle in Figure 1A . Zoom-in image, demonstrating polygon-based gating on a small population of tumoral T-cells (grey shaded, cell metacluster: 3, 5) in close proximity to CK7 + CK + tumor cells (cell metacluster: 20) (right image). First we calculated a Uniform Manifold Approximation and Projection (UMAP) of all cells in image 156 and localized distant and tumoral T-cells (see. Figure 2A-C ). Tumoral and distal T-cells seem to cluster slightly different within the immune cell compartment (green clusters, cell metacluster: 1-6), indicating differences in expression profiles. Importantly, tumoral T-cells did not cluster near tumor cells in the UMAP, demonstrating that T-cells did not suffer from lateral spillover of neighboring cells. Finally we compared expression levels of the state markers CD44, GATA3, H3, Ki67 and phosphorylated mTOR (p mTOR) between the two populations. T-cells close to the tumor patches had a significantly higher expression of activation markers CD44, GATA3, H3 and p mTOR (see. Figure 2D , p < 0.001), which indicates ongoing immune activation and potential localized anti-tumor immune responses. Download figure Open in new tab Figure 2. Distinct clustering and marker expression of tumoral and distal T-cells from beast cancer sample (image id: 156) [ 10 ] A : UMAP of all cells from the sample (image id: 156) with annotations of “Immune” (cluster: 1-5), “Stroma” (cluster: 8-13) and “Tumor” cells (cluster: 15-27). B : UMAP, highlighting tumoral T-cells (T-cells, close to patches of tumor cells, see. 1B), while remaining cells are colored grey. C : UMAP, highlighting distal T-cells (T-cells, located away from tumor patches, see. 1B), while remaining cells are colored grey. D : Boxplots of state marker expression ( @assay = quant_norm ) of distal and tumoral T-cells. Statistical comparison conducted via wilcoxon test, significance assumed at p < 0.05. Abbrev: p mTOR: phosphorylated mTOR IV. DISCUSSION We introduced spatialgater , a Shiny webtool, which allows for fast and convenient gating of cells using spatial information. Cells are displayed as dots, positioned by their coordinates from the imaging data while gating is realized by a polygon-based selection strategy. Thereby, the program is lightweight and easy to navigate, while providing a useful add-on to existing image analysis pipelines. We demonstrated the functionality of the app by downloading a public data set of breast cancer tissue, measured by imaging mass cytometry. We used spatialgater to select two populations of T-cells in one of the samples (image id: 156) from the data set. For the first population, T-cells were gated if they were in close proximity to patches of tumor cells (tumoral T-cells), while the second group of T-cells was selected based on a larger distance to tumor patches (distal T-cells) (described in section II-B). We compared protein expression of several state markers between the two groups of T-cells and found higher activation in T-cells which are in close contact to tumor cells. This complements the current state-of the art in image analysis, where dimensionality reduction, clustering and patch detection algorithms are applied to the cell data. These clustering outcomes often depend on user input, are frequently resource intensive and outcome optimization requires time consuming trial-and-error approaches. spatialgater provides an alternative way of selecting cells, which might be of interest solely based on their location within tissues, without the need of discriminating them by computational approaches. In its current form, spatialgater is optimized and tested on imaging mass cytometry data, where regions of interest (ROI) are usually quite small compared to immune fluorescence and immune histochemistry. Since crowding effects (e.g. overlay of dots at low zoom levels) and performance limitations (e.g. large ROIs filling up random-access memory) employed by other imaging techniques, cannot be ruled out, spatialgater might be updated in regards to zooming, ROI navigation and processing capabilities in the future. Since the position of a cell in a tissue is a prerequisite to perform its intended function, spatialgater can be useful not only in tumor immunology, but also in other branches of life sciences. In summary, we provide a compact and useful Shiny tool, which can be easily implemented in already established analysis workflows of imaging data, by providing simple and swift selection of specific cells or cell types based on their location in situ . V. FUNDING This research was funded in whole or in part by the Austrian Science Fund (FWF) [Grant-DOI 10.55776/P32762] to N. Zaborsky. For open access purposes, the author has applied a CC BY public copyright license to any author accepted manuscript version arising from this submission. Furthermore, this work was supported by WISS 2025 (Cancer Cluster Salzburg, CCSII-IOS), and the Province of Salzburg. VI. DATA AVAILABILITY The github repository for spatialgater and scripts used to produce the findings in this paper are available under: https://github.com/Mark-Ste/spatialgater VII. AUTHOR CONTRIBUTIONS MS wrote the app, reviewed data analysis and wrote the manuscript. SD analyzed data, reviewed the app and wrote the manuscript. JPH curated the data and supported app development. RG conceptualized the project, supported app development and revised the manuscript. NZ conceptualized and supervised the project, supported app development, reviewed data analysis and revised the manuscript. All authors read, reviewed and agreed to the final version of the manuscript. VIII. ACKNOWLEDGMENT The authors thank Anna Kolmhofer, Christian Scherhäufl for their help in figure conceptualization and proofreading. Funder Information Declared FWF Austrian Science Fund, https://ror.org/013tf3c58 , Grant-DOI - 0.55776/P3276 Cancer Cluster Salzburg, CCSII-IOS, WISS 2025 Province of Salzburg Footnotes https://github.com/Mark-Ste/spatialgater REFERENCES [1]. ↵ Q. Chang , O. I. Ornatsky , I. Siddiqui , A. V. Loboda , V. I. Baranov , and D. W. Hedley , “ Imaging mass cytometry ,” Cytometry Part A , vol. 91 , 2017 . [Online]. Available : doi: 10.1002/cyto.a.23053 OpenUrl CrossRef PubMed [2]. J. De Jonghe , J. W. Opzoomer , A. Vilas-Zornoza , B. S. Nilges , P. Crane , M. Vicari , H. Lee , D. Lara-Astiaso , T. Gross , J. Morf , K. Schneider , J. Cudini , L. Ramos-Mucci , D. Mooijman , K. Tiklová , S. M. Salas , C. M. Langseth , N. D. Kashikar , E. M. Carrami , R. McIntyre , C. B. Swerner , E. M. Hessel , C.-A. Kapourani , C. Regep , C. E. S. Roberts , D. Schapiro , J. Lundeberg , M. Nilsson , A. K. Shalek , A. P. Cribbs , and J. P. Taylor-King , “ scTrends: A living review of commercial single-cell and spatial ‘omic technologies ,” Cell Genomics , vol. 4 , no. 12 , p. 100723 , Dec . 2024 . OpenUrl PubMed [3]. Y. Glasson , L.-A. Chépeaux , A.-S. Dumé , V. Lafont , J. Faget , N. Bonnefoy , and H. Michaud , “ Single-cell high-dimensional imaging mass cytometry: one step be-yond in oncology ,” Seminars in Immunopathology , 2023 . [4]. ↵ C. Giesen , H. A. O. Wang , D. Schapiro , N. Zivanovic , A. Jacobs , B. Hattendorf , P. J. Schüffler , D. Grolimund , J. M. Buhmann , S. Brandt , Z. Varga , P. J. Wild , D. Günther , and B. Bodenmiller , “ Highly multiplexed imaging of tumor tissues with subcellular resolution by mass cytometry ,” Nature Methods , vol. 11 , pp. 417 – 422 , 2014 . OpenUrl PubMed [5]. ↵ R. A. Amezquita , A. T. L. Lun , E. Becht , V. J. Carey , L. N. Carpp , L. Geistlinger , F. Marini , K. Rue-Albrecht , D. Risso , C. Soneson , L. Waldron , H. Pages , M. L. Smith , W. Huber , M. Morgan , R. Gottardo , and S. C. Hicks , “ Orchestrating single-cell analysis with Bioconductor ,” Nat. Methods , vol. 17 , no. 2 , pp. 137 – 145 , Feb . 2020 . OpenUrl CrossRef PubMed [6]. D. Righelli , L. M. Weber , H. L. Crowell , B. Pardo , L. Collado-Torres , S. Ghazanfar , A. T. L. Lun , S. C. Hicks , and D. Risso , “ SpatialExperiment: infrastructure for spatially-resolved transcriptomics data in R using Bioconductor ,” Bioinformatics , vol. 38 , no. 11 , pp. 3128 – 3131 , May 2022 . OpenUrl CrossRef PubMed [7]. ↵ J. Windhager , V. R. T. Zanotelli , D. Schulz , L. Meyer , M. Daniel , B. Bodenmiller , and N. Eling , “ An end-to-end workflow for multiplexed image processing and analysis ,” Nature Protocols , 2023 . [8]. ↵ N. Eling , N. Damond , T. Hoch , and B. Bodenmiller , “ cytomapper: an R/Bioconductor package for visualization of highly multiplexed imaging data ,” Bioinformatics , vol. 36 , no. 24 , pp. 5706 – 5708 , Apr . 2021 . OpenUrl CrossRef PubMed [9]. ↵ L. Meyer , N. Eling , and B. Bodenmiller , “ cytoviewer: an r/bioconductor package for interactive visualization and exploration of highly multiplexed imaging data ,” bioRxiv , 2023 . [10]. ↵ H. W. Jackson , J. R. Fischer , V. R. T. Zanotelli , H. R. Ali , R. Mechera , S. D. Soysal , H. Moch , S. Muenst , Z. Varga , W. P. Weber , and B. Bodenmiller , “ The singlecell pathology landscape of breast cancer ,” Nature , vol. 578 , no. 7796 , pp. 615 – 620 , Feb . 2020 . OpenUrl CrossRef PubMed [11]. ↵ W. Chang , J. Cheng , J. Allaire , C. Sievert , B. Schloerke , G. Aden-Buie , Y. Xie , J. Allen , J. McPherson , A. Dipert , and B. Borges , shiny: Web Application Framework for R , 2025 , [R package version 1.11.1.9001]. [Online]. Available: https://github.com/rstudio/shiny [12]. ↵ D. Righelli , L. M. Weber , H. L. Crowell , B. Pardo , L. Collado-Torres , S. Ghazanfar , A. T. L. Lun , S. C. Hicks , and D. Risso , “ Spatialexperiment: infrastructure for spatially-resolved transcriptomics data in r using bioconductor ,” Bioinformatics , vol. 38 , no. 11 , pp. 3128 – 3131 , 04 2022 . [Online]. Available : doi: 10.1093/bioinformatics/btac299 OpenUrl CrossRef [13]. ↵ J. Cheng , B. Schloerke , B. Karambelkar , Y. Xie , and G. Aden-Buie , leaflet: Create Interactive Web Maps with the JavaScript ‘Leaflet’ Library , 2025 , [R package version 2.2.3.9000]. [Online]. Available: https://rstudio.github.io/leaflet/ [14]. ↵ S. Gatscha , B. Karambelkar , and B. Schloerke , leaflet.extras: Extra Functionality for ‘leaflet’ Package , 2025 , [R package version 2.0.1.9000]. [Online]. Available: https://github.com/trafficonese/leaflet.extras [15]. ↵ E. Pebesma , “ Simple Features for R: Standardized Support for Spatial Vector Data ,” The R Journal , vol. 10 , no. 1 , pp. 439 – 446 , 2018 . [Online]. Available : doi: 10.32614/RJ-2018-009 OpenUrl CrossRef [16]. ↵ Posit team , RStudio: Integrated Development Environment for R , Posit Software, PBC , Boston, MA , 2025 . [Online]. Available: http://www.posit.co/ [17]. K. Müller , here: A Simpler Way to Find Your Files , 2025 , r package version 1.0.2. [Online]. Available: https://here.r-lib.org/ [18]. ↵ N. Damond , N. Eling , J. Fischer , and T. Hoch , “imcdatasets,” Oct . 2024 , [R package version v1.11.1]. [Online]. Available: https://github.com/BodenmillerGroup/imcdatasets [19]. ↵ H. Wickham , M. Averick , J. Bryan , W. Chang , L. D. Mc-Gowan , R. François , G. Grolemund , A. Hayes , L. Henry , J. Hester , M. Kuhn , T. L. Pedersen , E. Miller , S. M. Bache , K. Müller , J. Ooms , D. Robinson , D. P. Seidel , V. Spinu , K. Takahashi , D. Vaughan , C. Wilke , K. Woo , and H. Yutani , “ Welcome to the tidyverse ,” Journal of Open Source Software , vol. 4 , no. 43 , p. 1686 , 2019 . OpenUrl [20]. H. Wickham , L. Henry , T. L. Pedersen , T. J. Luciani , M. Decorde , and V. Lise , svglite: An ‘SVG’ Graphics Device , 2025 , [R package version 2.2.1.9000]. [Online]. Available: https://svglite.r-lib.org [21]. E. Neuwirth , “Rcolorbrewer,” July 2025 , [R package version 1. 1-3]. [Online]. Available: https://cran.r-project.org/web/packages/RColorBrewer/refman/RColorBrewer.html [22]. A. Kassambara , ggpubr: ‘ggplot2’ Based Publication Ready Plots , 2025 , [R package version 0.6.1]. [Online]. Available: https://rpkgs.datanovia.com/ggpubr/ [23]. ↵ D. J. McCarthy , K. R. Campbell , A. T. L. Lun , and Q. F. Wills , “ Scater: pre-processing, quality control, normalization and visualization of singlecell rna-seq data in r ,” Bioinformatics , vol. 33 , no. 8 , pp. 1179 – 1186 , 01 2017 . [Online]. Available : doi: 10.1093/bioinformatics/btw777 OpenUrl CrossRef PubMed [24]. ↵ D. G. Bunis , J. Andrews , G. K. Fragiadakis , T. D. Burt , and M. Sirota , “ dittoseq: universal user-friendly single-cell and bulk rna sequencing visualization toolkit ,” Bioinformatics , vol. 36 , no. 22-23 , pp. 5535 – 5536 , 12 2020 . [Online]. Available : doi: 10.1093/bioinformatics/btaa1011 OpenUrl CrossRef [25]. J. Ooms , magick: Advanced Graphics and Image-Processing in R , 2025 , r package version 2.9.0. [Online]. Available: https://docs.ropensci.org/magick/ [26]. P. Murrell , R graphics . Chapman & Hall/CRC , 2006 . [27]. ↵ T. L. Pedersen , patchwork: The Composer of Plots , 2025 , [R package version 1.3.2.9000]. [Online]. Available: https://patchwork.data-imaginist.com View the discussion thread. Back to top Previous Next Posted October 27, 2025. Download PDF Data/Code Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following spatialgater: A Shiny webtool for in situ gating of cells in SpatialExperiments Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share spatialgater: A Shiny webtool for in situ gating of cells in SpatialExperiments Markus Steiner , Stephan Drothler , Jan Philip Höpner , Roland Geisberger , Nadja Zaborsky bioRxiv 2025.10.26.684544; doi: https://doi.org/10.1101/2025.10.26.684544 Share This Article: Copy Citation Tools spatialgater: A Shiny webtool for in situ gating of cells in SpatialExperiments Markus Steiner , Stephan Drothler , Jan Philip Höpner , Roland Geisberger , Nadja Zaborsky bioRxiv 2025.10.26.684544; doi: https://doi.org/10.1101/2025.10.26.684544 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Bioinformatics Subject Areas All Articles Animal Behavior and Cognition (7621) Biochemistry (17644) Bioengineering (13867) Bioinformatics (41865) Biophysics (21413) Cancer Biology (18548) Cell Biology (25442) Clinical Trials (138) Developmental Biology (13360) Ecology (19866) Epidemiology (2067) Evolutionary Biology (24289) Genetics (15587) Genomics (22470) Immunology (17705) Microbiology (40304) Molecular Biology (17142) Neuroscience (88454) Paleontology (666) Pathology (2826) Pharmacology and Toxicology (4815) Physiology (7634) Plant Biology (15110) Scientific Communication and Education (2042) Synthetic Biology (4285) Systems Biology (9812) Zoology (2268)

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00