Multiplexed imaging, which enables spatial localization of proteins and RNA to cells within tissues, complements existing multi-omic technologies and has deepened our understanding of health and disease. CODEX, a multiplexed single-cell imaging technology, utilizes a microfluidics system that incorporates DNA barcoded antibodies to visualize 50 + cellular markers at the single-cell level. Here, we discuss the latest applications of CODEX to studies of cancer, autoimmunity, and infection as well as current bioinformatics approaches for analysis of multiplexed imaging data from preprocessing to cell segmentation and marker quantification to spatial analysis techniques. We conclude with a commentary on the challenges and future developments for multiplexed spatial profiling.
Microscopy-based technologies enable three-dimensional anatomic profiling at single-cell resolution, most often aided by visualization of cellular constituents. Determining the tissue architecture of multiple cell types, cell subsets, and their activation states requires the simultaneous detection of many cellular makers. Traditional immunofluorescence microscopy is usually limited to detection of four markers due to spectral overlap. Advances in multiplex tissue imaging have allowed for the simultaneous spatial detection of 50 + cellular proteins and up to 100 RNA markers with single-cell resolution . Thus, multiplexed tissue imaging can now localize multiple immune, stromal, and epithelial cell types and subsets allowing mapping of tissue architecture and characterization of multicellular interactions. Though not covered in this review, additional advances allow as well the incorporation of genomic information to overlay on more traditional imaging techniques to provide deep interrogation of tissue functions.
Several platforms for multiplexed tissue imaging have been developed over the past 5 years. Imaging Mass Cytometry and Multiplexed Ion Beam Imaging (MIBI) utilize antibodies conjugated to metal tags to spatially resolve single cells by mass cytometry and involves a single round of cellular staining and image acquisition [2, 3]. Other methods for multiplexed imaging incorporates cyclic fluorophore detection with repeated cycles of tissue staining, reporter/barcode stripping, image acquisition, and in the case of tissue-based cyclic immunofluorescence (t-CyCIF)  include multiple cycles of fluorophore bleaching. Co-Detection-by-InDEXing (CODEX) [5, 6] employs antibodies conjugated to barcoded oligonucleotides and is compatible with formalin-fixed, paraffin-embedded and with fresh frozen samples that are then stained with a panel of DNA barcoded antibodies . Three fluorescent-dye conjugated oligonucleotides complementary to the antibody barcodes are imaged at a time; then, the fluorescent oligonucleotides are stripped off, and three additional fluorescently labeled oligonucleotides complementary to different barcodes are bound and imaged (Fig. 1). This process is iterated until all antibodies in the panel are imaged.
As important as the technical advances in multiplexed tissue imaging are the advances in the bioinformatic methods used to process and analyze the high-dimensional single-cell data to infer biological and clinical insights. Recent developments in computational analysis enable fast image preprocessing, robust cell segmentation, accurate protein marker quantification, followed by cell type identification and spatial analysis. These methods quantify marker expression in individual cells as well as the multi-scale spatial relationships to characterize tissue architecture and function.
In this review, we discuss use of CODEX to generate a healthy tissue cellular atlas and for spatial mapping of the immune, stromal, and epithelial landscape in cancer and autoimmunity (Table 1). Evaluating immune responses in tissues has revealed the wide variety of roles the immune system plays from organism-wide metabolism to tissue regeneration and repair and has highlighted the complex interplay among immune, stromal, vascular, nerve, and epithelial cells during physiologic and pathologic processes . In the second part of this review, we outline the bioinformatic techniques (Table 2) that can be used to quantify and analyze the large datasets obtained from CODEX. It is notable that many of the techniques used for analysis of CODEX images can be applied to other imaging modalities and vice versa.
Molecular and spatial maps of the microenvironment of healthy and diseased tissues
A comprehensive roadmap of the molecular state of cells and its spatial localization in healthy human tissue provides the framework from which we can understand disease pathogenesis. Recently, multi-site consortia efforts have focused on the systematic study of diseased states, regulatory circuitry, and cellular interactions. CODEX has been utilized to generate detailed molecular and spatial maps of the cellular microenvironment of tissues from multiple organs in health and disease. The Human Cell Atlas Project is an international collaborative effort that aims to characterize the distinct molecular profiles of all cell types in the human body with spatial resolution . The NIH Human Biomolecular Atlas Program (HubMAP) consortium coordinates multi-omic platforms spanning genomics, epigenetics, transcriptomics, and metabolomics with spatial protein and RNA expression across eight different organs . Within these efforts, CODEX has been used to provide single-cell spatial data with protein expression at steady state in intestinal and colonic tissue. The Human Tumor Atlas Network (HTAN) is another multi-site collaborative effort that is utilizing molecular and spatial profiling to understand the progression of healthy tissue from a pre-cancerous state to localized cancer to metastatic disease . This collaboration applies multiple-omic modalities to study DNA, RNA, and epigenetics with spatial localization at the single-cell and bulk tissue levels in multiple disease states. The goal of HTAN is to provide a framework for future therapies as part of the NIH Cancer Moonshot Initiative. As part of HTAN, CODEX has delineated the immune tumor microenvironment in lung cancer to unravel the cellular and molecular progression from pre-cancerous lesions to cancer.
One such organ that has been under intense study of this nature has been the kidney. Single-cell transcriptional studies have revealed that multiple cell types reside in human kidneys at steady-state and that there are coordinated immune, epithelial, and stromal changes following acute kidney injury . Renal injury tends to be focal rather than diffuse, and understanding the spatial distribution of renal immune, stromal, and epithelial cell types following injury has provided insight into the localized changes that occur during acute kidney injury. CODEX has been used to study tissue architecture at the molecular level in two murine models of acute kidney injury, ischemia/reperfusion injury and cecal ligation puncture. Ferreira et al. utilized a 12-maker antibody panel to delineate B cells, CD4 and CD8 T naïve and memory cells, macrophages, endothelial cells, and other leukocytes by CODEX. The authors identified immune-epithelial interactions within distinct functional anatomical areas of the kidney in both models. In the ischemia/reperfusion injury model, neutrophils were primarily localized in the outer stripe region of the renal medulla. In the cecal ligation puncture (CLP) model, natural killer (NK) cells were primarily localized to the outer stripe region of the renal medulla but were also detected in the renal cortex. Additionally, in the CLP model, migrating macrophages infiltrated the outer renal cortex and co-localized with proximal tubule epithelial cells . These spatial insights revealed the coordinated immune response to renal injury in distinct anatomic locations. While beyond the scope of this review, multiple other organ types including the lung , stomach , and colon  have been under similar focused study, with considerable success, underscoring the merits of the approach and the discoveries yet to be made.
The immune tumor microenvironment and spatial predictors of response
Cancer treatment has advanced over the past decade with the transition from reliance on surgery, chemotherapy, and radiation that broadly target cancer toward the use of therapies that enhance the endogenous immune system . Immune checkpoint inhibitors that target programmed cell death protein PD-1, its ligand PD-L1, or cytotoxic T lymphocyte-associated protein CTLA-4 “release the breaks” of the immune system to stimulate immune responses that target cancer cells . Despite the effectiveness of checkpoint inhibitor therapies, it is difficult to predict which patients will respond . Differentiating checkpoint inhibitor responders from non-responders is essential both to avoid treatment with ineffective therapies and to limit the risk of developing complications from checkpoint inhibitor use such as immune-related adverse events . It has long been the assumption that form, positioning, and structure of cell contexts will predict function. Similarly, dysfunction though at times in cancer apparently random, also will be expected to follow some “order.” Based on this, multiplexed imaging platforms have been deployed for characterizing the immune tumor microenvironment through correlation of disease states with the mapping of locations of immune, stromal, epithelial, and tumor cellular components augments the phenotypic data obtained from DNA and RNA sequencing and epigenetics.
One such opportunity for study was cutaneous T cell lymphomas (CTCL), which are aggressive skin cancers that derive from CD4+ T cells. Patients with CTCL have poor prognosis, and treatment options are limited . However, a subset of CTCL patients respond well to PD-1 blockade with robust and durable immune responses. Phillips et al. performed CODEX using a 54-marker antibody panel to detect T and B cells, macrophages, NK cells, granulocytes, dendritic cells, epithelial cells, endothelial, lymphatics, and multiple checkpoint markers to identify features that predict response to PD-1 blockade in CTCL patients [19, 20]. Over 70 tumor regions from 14 patients with advanced CTCL were evaluated, and given that biopsies were readily accessible from the same patient at the skin surface pre and post treatment, there was a unique opportunity to study cellular contexts in this disease.
In this study, there were not significant differences in the numbers or frequencies of immune or tumor cells between responders and non-responders; however, spatial analysis revealed that the distances between PD1+CD4+ T cells, tumor cells, and regulatory T cells, a population of dominant immune suppressors, predicted response to anti-PD-1 treatment. The spatial relationships among PD1+CD4+ T cells, tumor cells, and regulatory T cells were quantified by a very simple and intuitive “spatial score.” Patients with a low spatial score, which indicates that PD1+CD4+ T cells are in closer proximity to tumor cells than to suppressive regulatory T cells, were more likely to respond to anti-PD-1 treatment than were patients with a higher spatial score . Thus, incorporating spatial analysis into clinical practice would allow identification of CTCL patients likely to respond to immune checkpoint blockade.
Another example is bladder cancer. For most patients with bladder cancer, neoadjuvant chemotherapy and immune checkpoint blockade have significantly improved outcomes. Those patients who have tumor epithelial cells that express the cadherin CDH12 have poor outcomes but respond well to immune checkpoint blockade . To understand the underlying mechanism, Gouin et al. performed CODEX using a 35-marker antibody panel to profile tumors from twenty-five patients with bladder cancer and identified 360,000 epithelial cells, 140,000 immune cells, and 90,000 stromal cells . The CDH12+ epithelial cells expressed PD-L1 and PD-L2 and co-localized with CD8+ T cells, which may explain why these tumors are responsive to checkpoint inhibitors. The CD8+ T cells displayed an exhausted phenotype as indicated by expression of PD-1 and LAG3. Using an unsupervised algorithm to quantify the cellular neighbors of CDH12+ epithelial cells revealed multiple “cellular niches.” Niches associated with CDH12+ epithelial cells tended to have considerable immune infiltration, whereas immune infiltration was not observed in KRT13+ epithelial cell niches. Additionally, CDH12+ epithelial cells in niches with immune infiltration exhibited higher PD-L1 expression than KRT13+ epithelial clusters. This study demonstrated that spatial information obtained using CODEX can reveal the cellular basis of improved response to immune checkpoint blockade.
Spatial analysis with CODEX has also been used to characterize colorectal cancer. Based on histology, colorectal carcinoma can be split into at least two groups: a Crohn’s-like reaction (CLR) subset in which tertiary lymphoid structures are observed at the tumor invasive front and a diffuse inflammatory infiltration (DII) subset . Patients with the CLR subset have significantly better prognosis than those with the DII subset. CODEX with a 56-marker panel was used to quantify immune, stromal, and epithelial cells in colorectal carcinoma tumors and unsupervised clustering identified two clusters corresponding to CLR and DII subsets based on the presence of tertiary lymphoid structures . Decomposition of differences in cell types and cellular neighborhoods utilizing tensor decomposition revealed that there are distinct organizational differences in the immune tumor microenvironments of the two subsets. CD4+ T cell frequency and the CD4+ to CD8+ T cell ratio at the tumor boundary served as a prognostic indicator and suggested T cell activity at the tumor boundary is critical to a productive immune response .
In another example of use of CODEX to determine how spatial neighborhoods influence response to therapy, Mondello et al. evaluated samples from patients with follicular lymphoma, which is typically an indolent disease with a subset of patients who have early relapse with poor outcomes . The immune tumor microenvironments of 496 diagnostic biopsies from patients with early follicular lymphoma who did not respond to treatment were evaluated. The follicular lymphoma immune tumor microenvironment was enriched for memory and naïve CD4+ and CD8+ T cells, B cells, monocytes/macrophages, and endothelial cells. The presence of activated central memory T cells within tumor follicles was associated with favorable outcomes and improved prognosis that was independent from genetic features . Thus, combining spatial anatomy of follicular central memory T cells with clinical markers improved identification of high-risk patients.
Spatial microenvironment in infection and autoimmunity
To understand host immune responses to pathogens in human and primate models requires extensive reagent development, and for pathogens that are deadly or highly infectious, optimization for use in inactivated samples may be necessary. A 21-marker CODEX antibody panel that delineates multiple immune cell types spanning granulocytes, plasma cells, and CD4+ and CD8+ T cells and B cells with three Ebola virus specific antibodies has been validated for study of host responses to Ebola virus . This antibody panel has been validated in fully inactivated FFPE samples and highlights a platform that can be used to probe cellular immune responses to Ebola virus and other pathogens.
CODEX has also been used to study tissue from patients with ulcerative colitis, an autoimmune disease with relapsing and remitting inflammation in the large intestine . Ulcerative colitis is heterogeneous with a subset of patients responding well to antibodies that block activity of TNFa . CODEX has been used to characterize the inflammatory microenvironment and to identify features that predict response to TNFa inhibitors and overall prognosis. Mayer et al. profiled 29 patients with ulcerative colitis and five healthy controls with a 52-marker antibody panel to detect immune, epithelial, and stromal populations and identified 13 distinct cell types. In healthy controls, there was enriched contact between epithelial and stromal cells. In ulcerative colitis patients treated with TNFa inhibitors, there were decreased T cell interactions with other adaptive immune cells, stroma, and epithelium; however, there was no difference between T cell interactions with the innate compartment. Cell type neighborhood analysis revealed ten cellular neighborhoods that spanned primarily immune, mixed immune epithelial, primary epithelial, inflamed vasculature, stroma, and inflamed stroma. In responders, treatment with TNFa inhibitors resulted in a decrease in the adaptive immune tissue neighborhoods with a corresponding increase in healthy epithelial tissue neighborhoods while frequencies of innate immune predominant tissue neighborhoods did not change. A model utilizing CODEX spatial analysis incorporating cell types, cell–cell contact, and cellular neighbors was able to predict resistance to TNFa inhibitors and outperformed models that relied on transcriptional data alone . Incorporating tissue spatial analysis with other clinical indicators could direct future therapeutic treatment algorithms.
Bioinformatics analysis of CODEX multiplexed imaging data reveals tissue structure and provides insight into biological mechanisms. This is typically done by converting the high-dimensional raw data into single-cell maps of tissue architecture and functional states. This process consists of four main steps (Fig. 2): (1) image preprocessing, (2) cell segmentation, (3) cell phenotyping, and (4) spatial analysis by one or more algorithms that relate cellular contexts to some determinative or predictive outcome.
Over the past 5 years, various computational methods and software tools have been developed to facilitate each of these analytical steps. Most carry out only one of the steps (CODEX Uploader , RAPID , CellSeg , Mesmer , CellPose , CELESTA , Astir , CytoMAP , histoCAT , TissueSchematics , and MISTy ), but a few attempt to address multiple steps or the entire workflow (Cytokit , MCMICRO , SIMPLI ) (Table 2).
Typical CODEX multiplexed imaging data consist of multiple tiles that correspond to a large tissue region. In each cycle, data are collected from four wavelength channels and multiple z-planes, resulting in terabytes of imaging data for each experiment. To visualize and analyze this dataset, it is necessary to convert the raw data into multidimensional hyperstacks (x, y, channel, cycle) by creating montages from individual tiles and aligning these montages from different cycles to generate a multidimensional tiff image. Several challenges are associated with this step: First, images can be blurry and noisy due to inherent limitations of microscopes systems (e.g., out-of-focus light and noise from the light source and the camera). Second, images can be misaligned due to axial and lateral drift during the cyclic imaging process. Third, there is autofluorescence background originating from endogenous tissue components such as erythrocytes, collagen, elastin, and lipofuscin, and formalin fixation. Finally, rapid processing of the large-scale imaging datasets. These issues are generic to all fluorescence-based multiplexed imaging technologies including CODEX.
Although several computational toolboxes are available for CODEX image preprocessing, most only address a subset of these issues. The CODEX Uploader, the first processor developed for CODEX data, was implemented as an open-source Java package by the Nolan lab [5,6,7]. This software corrects spatial drifts using 3D drift-compensation, deconvolves the z-stack images using the commercially available Microvolution algorithm, subtracts the background obtained by collection of blank image cycles, and generates hyperstacks consisting of all fluorescent channels and imaging cycles. The CODEX Uploader has a graphical user interface (GUI) that allows users without any programming background to process the complex multiplexed imaging data. The main limitations of the CODEX Uploader are that it can take several days to process terabytes of imaging data and it does not correct lateral drifts among tiles for multi-tile experiments. Cytokit, which was implemented in Python, employs a pipeline similar to that of the CODEX Uploader . MCMICRO can be used to analyze multiplexed imaging data collected with a range of technologies (e.g., fluorophore-based, metal-based) . The preprocessing pipeline in MCMICRO includes illumination correction, image stitching, and registration, but it does not have image deconvolution or autofluorescence removal.
RAPID  was developed for accurate and fast analysis of large-scale CODEX imaging data by the Nolan lab. It reduces processing time by two to threefold compared to the CODEX Uploader. RAPID deconvolves large-scale CODEX imaging data and stitches and registers images with axial and lateral drift correction. Moreover, RAPID minimizes intense tissue autofluorescence such as that introduced by erythrocytes, thereby improving the immunofluorescence detection of antigens, especially for low-abundance markers. RAPID incorporates an open-source, CUDA-driven, GPU-assisted deconvolution algorithm rather than the fee-based commercial software used in the CODEX Uploader with no impact on quality of the output.
After the raw imaging data is processed and aligned, the next step is cell segmentation. During this step, the boundaries of single cells are computationally identified and binary masks for individual cells are generated. This task has long been challenging in fluorescence microscopy image processing. While it is relatively easy to segment monodispersed cells in images of cultured cells as cells are sufficiently separated, segmenting cells that are densely packed in tissues such as lymph nodes and spleen is difficult. The accuracy of cell segmentation significantly influences the quantification of multicellular properties such as protein expression and cell morphology. An ideal cell segmentation algorithm for imaging data must accurately segment cells of various sizes and shapes independently of density across diverse tissue types and must be capable of demarcating the membrane, nucleus, and cytoplasm.
Cell segmentation algorithms typically use images of cells stained with marker of nuclei and/or membranes as input. Some algorithms generate only nuclei masks, but others can output both nuclei and whole-cell masks, thereby allowing protein quantification in sub-cellular compartments. Watershed nuclei segmentation algorithms are classical segmentation methods that perform well when segmenting cells of relatively homogenous size and shape such as lymphoid tissue in CODEX data [5, 6, 38]. However, watershed-based algorithms can be sensitive to noise such as imaging artifacts and blurred cell boundaries. In addition, significant tuning for multiple user-defined parameters based on the cell morphology and image intensity in the tissue images is necessary. Therefore, watershed cell segmentation does not work well for tissues that have cells of diverse sizes, shapes, and densities such as those in the tumor microenvironment.
Machine learning and deep learning algorithms trained on large-scale datasets are more robust to variations of image quality and generalize better across tissue types than watershed-based algorithms. Machine learning and deep learning algorithms differ in the composition and quantity of training dataset, model architecture, outputs, and post-processing methods. CellSeg is a modified Mask R-CNN algorithm that accurately segments nuclei in CODEX images and outperforms watershed-based nuclei segmentation . CellSeg showed robust performance in delineating nuclei boundaries even in noisy images with low signal-to-noise ratio. A limitation is that it approximates the whole-cell mask by expanding the nuclei mask for a few pixels, which may not accurately match the cell boundaries. Cellpose is designed as a generalist algorithm for cell segmentation that is capable of generating both nuclei and whole-cell masks . Although Cellpose outperformed several deep learning-based cell segmentation algorithms including Mask R-CNN, Stardist, and standard U-Nets, none of these models were trained on a multiplexed tissue imaging dataset; instead, training was implemented on cultured cells, animal cells, and non-microscopy images of non-cell objects. Recently, Noah et al. constructed a large-scale multiplexed imaging dataset named TissueNet with more than 1 million manually labeled cells . Using TissueNet, they trained a deep neural network named Mesmer and achieved human-level performance in segmenting whole cells. Mesmer outperformed the pre-trained Cellpose model, FeatureNet, RetinaMask, and ilastik , and enabled both nuclei and whole-cell segmentation, thereby allowing for subcellular localization of protein signals. Interestingly, different deep learning models achieved similar performance when trained on the same TissueNet dataset, suggesting the importance of procuring large-scale annotated dataset.
Protein marker quantification
After cell segmentation, protein marker expression is typically quantified as the total marker intensity on each cell normalized by cell size. However, spatial spillover, which is the blending of signals between neighboring cells that are tightly packed such as in lymphoid tissue, is a common issue complicating the accurate quantification of single-cell protein expression in multiplexed imaging data. Signal spillover is often manifested by the false positive co-expression of mutually exclusive markers on the same cell. An example is the apparent co-expression of CD3 and CD20, which are expressed on T and B cells, respectively. To compensate for the cell-to-cell spillover in CODEX images, an adjacency matrix is typically calculated by measuring the fraction of shared boundary between each pair of cells, and then the raw intensity matrix of protein expression is multiplied by the inverse adjacency matrix, correcting for the spillover . REDSEA is another spillover correction method that has been shown to decrease signal contamination from neighboring cells in MIBI data . However, REDSEA requires that the cell mask have zero-pixel value between the adjacent cell boundaries, which is not the case with the typical cell masks generated by commonly used cell-segmentation algorithms.
Cell type identification
Assignment of cell types, namely, cell phenotyping, to segmented single cells from multiplexed imaging data remains a bottleneck for multiplexed image analysis. An ideal algorithm should automatically and precisely define cell types and subtypes of various abundances in an objective and robust manner with minimal human intervention.
The classical methods for cell phenotyping rely heavily on pathology expertise and are subjective and time-consuming. One such method employs the manual gating strategy that is typically used for analyzing flow cytometry or CyTOF datasets (e.g. Cytofkit , cytomapper ). This method is sensitive to signal spillover between adjacent cells and to segmentation noise . SIMPLI  is a toolkit that defines cell types by global thresholding in a fashion similar to the hand-gating method; both are challenged by poor imaging quality and imaging noise.
Unsupervised clustering followed by manual annotation has been widely used for assignment of cell types [5, 7, 19]. This process typically starts with over-clustering of a protein expression matrix with each cell as a row and each marker signal as a column. Many clustering algorithms are available that can be used to group protein expression into clusters; these include X-shift, PhenoGraph, FlowSoM, and k-means, etc. Data normalization techniques and selection of the optimal cluster numbers can significantly influence the clustering results . After the initial clustering, similar clusters are merged, and mixed clusters are further separated to finalize the cluster annotation. This process works in a bottom-up and iterative fashion. However, problems such as mixed clusters or unknown clusters can persist after many rounds of manual annotations, and annotating millions of cells requires significant time .
Although efforts have been made to develop new algorithms for automatic and fast cell type identification, robust and accurate algorithms that can detect cells of various abundances from multiplexed imaging data are still lacking. Astir  is a probabilistic machine learning method that infers cell types based on protein expression of cells and prior knowledge of marker proteins. This algorithm has superior accuracy and runtime compared to unsupervised clustering methods in mass cytometry data. However, it did not outperform supervised classification and cannot identify novel cell types. Additionally, Astir is sensitive to antibody staining quality and signal intensity. Although Astir utilizes protein expression profiles, it does not incorporate any spatial or morphological information unique to multiplexed imaging data. CELESTA is a fast cell-identification algorithm designed to leverage both the protein expression and spatial information from CODEX imaging data . Cells with marker expressions that matches well with the pre-defined marker profile are easily identified and defined as “anchor” cells. When the marker expressions of cells do not match a pre-defined cell type, these cells are assigned an identity based on a spatial score of their neighboring cells types. One limitation of this method is that it is difficult to define rare cell types. CELESTA is also sensitive to marker staining quality and imaging noise. STELLAR  is new cell-type annotation method that uses graph convolutional neural network to learn the spatial and molecular similarities of cells. This method requires manually annotated data as a reference dataset to learn from.
Multiplexed imaging data contains rich information on the multicellular tissue ecosystem including cell types, cell states, and their coordinated activities across scales. The goal of spatial analysis is to decipher how cells and tissues are spatially organized and orchestrated in their native environment and how this organization influences biological function, disease progression, and response to therapies. To detangle this multilayered and interrelated spatial information, computational methods must dissect the multicellular modules that are coordinated by both the physically proximal and distant cell types across a spectrum of length scales and determine the associations of these multicellular modules with tissue functions and with physiological and pathological conditions.
Cell–cell interactions and communications can occur across a range of distances , broadly categorized as autocrine, juxtacrine, paracrine, and endocrine. The developed spatial analysis approaches span from identification of pair-wise cell–cell contacts to higher-order architectures.
Pair-wise cell–cell interactions: The most basic method for cell interaction analysis is to measure the pair-wise cell–cell interactions to infer attraction or repulsion between two cell populations. To measure these physical cell–cell contacts (i.e., juxtacrine contacts), Goltsev et al. identified pairs of neighboring cells from Delaunay graphs and calculated the odds ratio of the co-occurrence of two cell types . This analysis showed that the most dominate pairwise cell–cell contacts are homotypic (e.g., T cells with T cells, B cells with B cells) and mostly reflect anatomic compartments in the tissue [5, 7]. histoCAT was originally designed for cell-interaction analysis in multiplexed image cytometry data . It examines the significance of pairwise interactions by comparing the number of cell–cell interactions at a user-defined distance (e.g., 4 pixels) to that of a matched control containing randomly shuffled cell phenotypes . This test can reveal significant enrichments or depletions of a cell in another cell’s neighborhood. Strategy used by Keren et al.  measured pair-wise interactions within 100 pixels (39 µm) of an index cell. Similar to the method developed by Goltsev et al., these pair-wise enrichment analysis [3, 46] identified mostly homotypic interactions between similar cells, suggesting that this might be a limitation of pair-wise analysis. Additionally, several spatial descriptive functions, including the K-function, L-function, and pair correlation function, can also be used to evaluate the spatial relationships between two cell populations .
Cell neighborhood, niche, or community analysis: Cell neighborhood analysis identifies higher-order (rather than paired) interactions between one or more cell phenotypes, which provides a catalog of repeating architectural units for tissues. Many methods are available to identify cell neighborhoods. A neighborhood is defined as a locally spatially homogeneous mixture of cell types . The neighborhood identification methods typically raster scan each cell across the tissue with a pre-defined window that consists of N nearest neighboring cells (e.g., N = 10 was found to be suitable for colorectal tumor microenvironment ) or all the cells within a certain physical distance of the center cell, which is the strategy used in CytoMAP . Jackson et al. used a graph-based method to identify spatially connected cell clusters, which they called cell communities . These windows or graphs are grouped into cell neighborhoods by unsupervised clustering of the cell type composition of the windows. The size of these windows influences the type of cell neighborhoods identified. Spatial-LDA  is another method to identify cell neighborhoods with smooth boundary transitions, but it is very slow for large image data. Cell neighborhoods are composed of distinct spatial patterns of cell organization, thus reflecting characteristic local processes. Some neighborhoods correspond to known tissue microanatomies, such as tertiary lymphoid structure and bulk tumors, whereas others are novel such as the granulocyte-enriched cell neighborhood identified by Schürch et al. in their analysis of colorectal tumors . In addition, other computational methods have been used to identify patterns of cell types and cell neighborhoods from multiplexed imaging data. For example, non-negative Tucker tensor decomposition and canonical correlation analysis have been used to evaluate cell type and cell neighborhood interactions . “SpatialScore” was shown to predict immunotherapy response by measuring the physical distance ratio of each CD4 + T cell and its nearest tumor cell relative to its nearest Treg . The tumor-immune mixing score is another spatial metric that has been used to quantify the degree of mixing between tumor and immune cells .
Higher-order functional units: It remains understudied how cell neighborhoods are assembled into higher-order, repetitive structures that coordinate complex tissue functions and promote disease development and progression. To infer the design principles of spatial organization of tissues, Bhate et al. proposed a conceptual and analytical framework to define and quantify tissue architectural units and their assembly at both the local and global level from multiplexed imaging data like CODEX . Development of the framework, which Bhate et al. called the tissue schematic, starts by identification of cell neighborhoods from recurring patterns of spatially proximal cell types, next a graph is constructed using cell neighborhoods spanning the entire tissue sections, and finally recurring cell neighborhood combinations are classified as “motifs.” The junctions between two cell neighborhood boarders are the sites of possible interactions between the two local tissue processes; thus, “motifs” could have emergent functionality arising from signal propagation between cellular neighborhoods. Applied to CODEX imaging data of lymphoid tissues, tissue schematics identified the assembly rules shared by tonsils, lymph nodes, and spleen. In addition, this method revealed that the insertion of a tumor cell neighborhood into assembled regions of the T cell-enriched, macrophage-enriched, and vasculature neighborhoods was associated with poor survival outcomes. These results suggested the basic and translational utility of tissue schematics to understand tissue function and malfunction.
Spatial patterns of protein distribution: In addition to the geospatial distribution of cells in tissues, the expression levels and spatial patterns of protein markers are also important indicators of tissue functions. Goltsev et al. showed that cell surface marker expression is dependent on immediate neighbor cells . For example, levels of CD79b and B220 are niche dependent in spleens of mice. These data suggested that geospatial location of cells within a tissue could be an indicator of potential functions. Keren et al. found that the expression of immunoregulatory proteins in distinct cell types correlates with the tissue architecture (mixed and compartmentalized) and their distance to tumor-immune borders in MIBI of human breast cancer tissue . Recently, MISTy, a machine learning framework to quantify and predict the relationships between marker expression and the local cellular neighborhood (juxtaview) and broader tissue structure (paraview) was introduced . Interestingly, using this algorithm to analyze imaging mass cytometry data of human breast cancer tissue, Tanevski et al. showed that broader tissue structure has more effect on the protein marker expression than do immediate neighbors.
Challenges and future directions
The past half-decade has witnessed rapid technological development and increasing biomedical applications of highly multiplexed imaging technologies including CODEX. These technologies quantify cell types and states and reveal the spatial organization and coordinated actions of cell types and multicellular modules in the native microenvironments of healthy and diseased tissue. In this short review, we discussed how application of CODEX has improved our understanding of the immune tumor microenvironment and has identified features that are predictive of prognosis and response to immune checkpoint inhibitors. For diseases that encompass autoimmunity, CODEX has been used to spatially map the immune, stromal, and epithelial cell types involved in ulcerative colitis and has identified a cellular neighborhood that did not resolve after treatment with TNFa inhibitors. Though the number of studies on autoimmunity and host–pathogen response are limited relative to cancer studies, we expect that in the upcoming years, multiplexed technologies will delineate the complex interactions between multiple cell types in various autoimmune diseases such as type 1 diabetes and in host–pathogen responses to viruses such as SARS-CoV-2. An inherent difficulty with fluorescence based multiparameter imaging is autofluorescence. Despite techniques to limit autofluorescence such as photobleaching or post-processing tools, certain tissues, for example bone marrow or cartilage, remain difficult and mass spectrometry-based platforms may be more suitable.
The newest CODEX multiplexed imaging system enables imaging of 100 markers, compared to 50 with the earlier system, and the imaging time has also been reduced. With these technological advancements, high-plex, large-scale multi-omic datasets for various diseases will be generated. However, computational methods that can effectively convert these datasets into single-cell maps of tissue architecture and function are still lacking. Although CODEX image processing and cell segmentation methods are available, computational methods are needed to address several major issues. First, automatic cell type identification methods that are accurate, fast, and robust to imaging noise and staining intensity to result in high-quality and have multi-level granularity for cell phenotypes must be developed. Second, spatial analysis methods must be created that can identify the multicellular modules coordinated by both the physically proximal and distant cell types across a spectrum of distances in the same sample or patient.
Although not reviewed here, new technologies for directly visualizing RNA at the single-cell resolution are being developed by several academic and commercial groups. Recently a method called PANNINI  has been developed and integrated with MIBI to visualize viral DNA, RNA, as well as protein makers. This opens up new opportunities for simultaneous multiplexed nucleic acid and protein imaging in situ. In addition to technological advancement, new computational methods are being developed to integrate and match complementary multimodal information (e.g. proteomics, transcriptomics, epigenetics, genomics, and metabolomics) cross tissue (e.g. spleen to tonsil) and cross species (e.g. non-human primates to humans), thereby providing a systems-level understanding of biological processes. One such method named MARIO  is capable of integrating single-cell RNA sequencing data (CITE-seq) with multiplexed single-cell protein imaging (e.g., CODEX, MIBI), which could link protein states to gene regulatory states.
Multiplexed imaging studies have uncovered cell–cell interactions associated with disease conditions. We envision that future effort will focus on:
Measuring these multicellular interactions and functions with high temporal resolution in three-dimensional space. Experimental and computational approaches need to be developed to dissect the multicellular communications at higher spatial, temporal, and molecular resolution.
Designing basic mechanistic studies to identify causal relationships beyond the correlative studies. We predict that in the next few years, researchers will perturb the cellular microarchitecture to determine the functions of particular cell subsets and cellular neighborhoods or motifs. Efforts from these studies will enable the development of more accurate in silico and in vitro models such as organoids or systems-on-a-chip.
Translating predictive and prognostic biomarkers to improve patient outcomes in the clinic. As the number of studies from CODEX and other multiparameter imaging platforms increase in throughput, we predict that we will better understand human disease heterogeneity. Prospective clinical studies will be conducted to validate the clinical utility of these biomarkers in large-scale patient populations.
In the future, multiparameter imaging could be incorporated to stratify patients with diseases such as rheumatoid arthritis, ulcerative colitis, and cancers. Although biologics have greatly improved patient health in the treatment of various autoimmune diseases, identifying which biologic class will be effective in which patient has relied on a “trial and error” approach. We anticipate that as high-throughput, multiparameter imaging modalities are incorporated into hospital laboratories, disease features derived from multiplexed imaging that are predictive of treatment response could be incorporated into clinical guidelines.
Baertsch MA, Nolan GP, Hickey JW (2022) Multicellular modules as clinical diagnostic and therapeutic targets. Trends Cancer 8(3):164–173
Giesen C, Wang HA, Schapiro D, Zivanovic N, Jacobs A, Hattendorf B et al (2014) Highly multiplexed imaging of tumor tissues with subcellular resolution by mass cytometry. Nat Methods 11(4):417–422
Keren L, Bosse M, Marquez D, Angoshtari R, Jain S, Varma S et al (2018) A structured tumor-immune microenvironment in triple negative breast cancer revealed by multiplexed ion beam imaging. Cell 174(6):1373–87.e19
Lin JR, Fallahi-Sichani M, Chen JY, Sorger PK (2016) Cyclic Immunofluorescence (CycIF), A highly multiplexed method for single-cell imaging. Curr Protoc Chem Biol 8(4):251–264
Goltsev Y, Samusik N, Kennedy-Darling J, Bhate S, Hale M, Vazquez G et al (2018) Deep profiling of mouse splenic architecture with CODEX multiplexed imaging. Cell 174(4):968–81.e15
Black S, Phillips D, Hickey JW, Kennedy-Darling J, Venkataraaman VG, Samusik N et al (2021) CODEX multiplexed tissue imaging with DNA-conjugated antibodies. Nat Protoc 16(8):3802–3835
Schürch CM, Bhate SS, Barlow GL, Phillips DJ, Noti L, Zlobec I et al (2020) Coordinated cellular neighborhoods orchestrate antitumoral immunity at the colorectal cancer invasive front. Cell 182(5):1341–59.e19
Panduro M, Benoist C, Mathis D (2016) Tissue Tregs. Annu Rev Immunol 34:609–633
Regev A, Teichmann SA, Lander ES, Amit I, Benoist C, Birney E, Bodenmiller B, Campbell P, Carninci P, Clatworthy M, Clevers H, Deplancke B, Dunham I, Eberwine J, Eils R, Enard W, Farmer A, Fugger L, Göttgens B, Hacohen N, Haniffa M, Hemberg M, Kim S, Klenerman P, Kriegstein A, Lein E, Linnarsson S, Lundberg E, Lundeberg J, Majumder P, Marioni JC, Merad M, Mhlanga M, Nawijn M, Netea M, Nolan G, Pe’er D, Phillipakis A, Ponting CP, Quake S, Reik W, Rozenblatt-Rosen O, Sanes J, Satija R, Schumacher TN, Shalek A, Shapiro E, Sharma P, Shin JW, Stegle O, Stratton M, Stubbington MJT, Theis FJ, Uhlen M, van Oudenaarden A, Wagner A, Watt F, Weissman J, Wold B, Xavier R, Yosef N (2017) Human cell atlas meeting participants. The human cell atlas. Elife 6:e27041. https://doi.org/10.7554/eLife.27041
Snyder MP, Lin S, Posgai A, Atkinson M, Regev A, Rood J et al (2019) The human body at cellular resolution: the NIH Human Biomolecular Atlas Program. Nature 574(7777):187–192
Rozenblatt-Rosen O, Regev A, Oberdoerffer P, Nawy T, Hupalowska A, Rood JE et al (2020) The human tumor atlas network: charting tumor transitions across space and time at single-cell resolution. Cell 181(2):236–249
Melo Ferreira R, Sabo AR, Winfree S, Collins KS, Janosevic D, Gulbronson CJ, Cheng YH, Casbon L, Barwinska D, Ferkowicz MJ, Xuei X, Zhang C, Dunn KW, Kelly KJ, Sutton TA, Hato T, Dagher PC, El-Achkar TM, Eadon MT (2021) Integration of spatial and single-cell transcriptomics localizes epithelial cell-immune cross-talk in kidney injury. JCI Insight 6(12):e147703. https://doi.org/10.1172/jci.insight.147703
McCaffrey EF, Donato M, Keren L, Chen Z, Delmastro A, Fitzpatrick MB et al (2022) The immunoregulatory landscape of human tuberculosis granulomas. Nat Immunol 23(2):318–329
Ferrian S, Liu CC, McCaffrey EF, Kumar R, Nowicki TS, Dawson DW et al (2021) Multiplexed imaging reveals an IFN-γ-driven inflammatory state in nivolumab-associated gastritis. Cell Rep Med 2(10):100419
Mayer A, Holman D, Tandon U, Bhate S, Bodapati S, Barlow G, Chang J, Black S, Crenshaw E, Boland B, Streett S (2021) A tissue atlas of ulcerative colitis to guide TNF inhibitor therapy. 17 November 2022, PREPRINT available at Research Square. https://doi.org/10.21203/rs.3.rs-167888/v1
Binnewies M, Roberts EW, Kersten K, Chan V, Fearon DF, Merad M et al (2018) Understanding the tumor immune microenvironment (TIME) for effective therapy. Nat Med 24(5):541–550
Gibney GT, Weiner LM, Atkins MB (2016) Predictive biomarkers for checkpoint inhibitor-based immunotherapy. Lancet Oncol 17(12):e542–e551
Kuswanto WF, MacFarlane LA, Gedmintas L, Mulloy A, Choueiri TK, Bermas BL (2018) Rheumatologic symptoms in oncologic patients on PD-1 inhibitors. Semin Arthritis Rheum 47(6):907–910
Phillips D, Matusiak M, Gutierrez BR, Bhate SS, Barlow GL, Jiang S et al (2021) Immune cell topography predicts response to PD-1 blockade in cutaneous T cell lymphoma. Nat Commun 12(1):6726
Phillips D, Schürch CM, Khodadoust MS, Kim YH, Nolan GP, Jiang S (2021) Highly multiplexed phenotyping of immunoregulatory proteins in the tumor microenvironment by CODEX tissue imaging. Front Immunol 12:687673
Gouin KH 3rd, Ing N, Plummer JT, Rosser CJ, Ben Cheikh B, Oh C et al (2021) An N-cadherin 2 expressing epithelial cell subpopulation predicts response to surgery, chemotherapy and immunotherapy in bladder cancer. Nat Commun 12(1):4906
Mondello P, Fama A, Larson MC, Feldman AL, Villasboas JC, Yang Z-Z et al (2021) Lack of intrafollicular memory CD4 + T cells is predictive of early clinical failure in newly diagnosed follicular lymphoma. Blood Cancer J 11(7):130
Jiang S, Mukherjee N, Bennett RS, Chen H, Logue J, Dighero-Kemp B et al (2021) Rhesus Macaque CODEX multiplexed immunohistochemistry panel for studying immune responses during Ebola infection. Front Immunol 12:729845
Smillie CS, Biton M, Ordovas-Montanes J, Sullivan KM, Burgin G, Graham DB et al (2019) Intra- and inter-cellular rewiring of the human colon during ulcerative colitis. Cell 178(3):714–30.e22
Lu G, Baertsch MA, Hickey JW, Goltsev Y, Rech AJ, Mani L et al (2022) A real-time GPU-accelerated parallelized image processor for large-scale multiplexed fluorescence microscopy data. Front Immunol 13:981825
Lee MY, Bedia JS, Bhate SS, Barlow GL, Phillips D, Fantl WJ et al (2022) Cell Seg: a robust, pre-trained nucleus segmentation and pixel quantification software for highly multiplexed fluorescence images. BMC Bioinformatics 23(1):46
Greenwald NF, Miller G, Moen E, Kong A, Kagel A, Dougherty T et al (2022) Whole-cell segmentation of tissue images with human-level performance using large-scale data annotation and deep learning. Nat Biotechnol 40(4):555–565
Stringer C, Wang T, Michaelos M, Pachitariu M (2021) Cellpose: a generalist algorithm for cellular segmentation. Nat Methods 18(1):100–106
Zhang W, Li I, Reticker-Flynn NE, Good Z, Chang S, Samusik N et al (2022) Identification of cell types in multiplexed in situ images by combining protein expression and spatial information using CELESTA. Nat Methods 19(6):759–769
Geuenich MJ, Hou J, Lee S, Ayub S, Jackson HW, Campbell KR (2021) Automated assignment of cell identity from single-cell multiplexed imaging and proteomic data. Cell Syst 12(12):1173–86.e5
Stoltzfus CR, Filipek J, Gern BH, Olin BE, Leal JM, Wu Y et al (2020) CytoMAP: a spatial analysis toolbox reveals features of myeloid cell organization in lymphoid tissues. Cell Rep 31(3):107523
Schapiro D, Jackson HW, Raghuraman S, Fischer JR, Zanotelli VRT, Schulz D et al (2017) histoCAT: analysis of cell phenotypes and interactions in multiplex image cytometry data. Nat Methods 14(9):873–876
Bhate SS, Barlow GL, Schürch CM, Nolan GP (2022) Tissue schematics map the specialization of immune tissue motifs and their appropriation by tumors. Cell Syst 13(2):109–30.e6
Tanevski J, Flores ROR, Gabor A, Schapiro D, Saez-Rodriguez J (2022) Explainable multiview framework for dissecting spatial relationships from highly multiplexed data. Genome Biol 23(1):97
Czech E, Aksoy BA, Aksoy P, Hammerbacher J (2019) Cytokit: a single-cell analysis toolkit for high dimensional fluorescent microscopy imaging. BMC Bioinformatics 20(1):448
Schapiro D, Sokolov A, Yapp C, Chen YA, Muhlich JL, Hess J et al (2022) MCMICRO: a scalable, modular image-processing pipeline for multiplexed tissue imaging. Nat Methods 19(3):311–315
Bortolomeazzi M, Montorsi L, Temelkovski D, Keddar MR, Acha-Sagredo A, Pitcher MJ et al (2022) A SIMPLI (Single-cell Identification from MultiPLexed Images) approach for spatially-resolved tissue phenotyping at single-cell resolution. Nat Commun 13(1):781
Carpenter AE, Jones TR, Lamprecht MR, Clarke C, Kang IH, Friman O et al (2006) Cell Profiler: image analysis software for identifying and quantifying cell phenotypes. Genome Biol 7(10):R100
Berg S, Kutra D, Kroeger T, Straehle CN, Kausler BX, Haubold C et al (2019) ilastik: interactive machine learning for (bio)image analysis. Nat Methods 16(12):1226–1232
Bai Y, Zhu B, Rovira-Clave X, Chen H, Markovic M, Chan CN et al (2021) Adjacent cell marker lateral spillover compensation and reinforcement for multiplexed images. Front Immunol 12:652631
Chen H, Lau MC, Wong MT, Newell EW, Poidinger M, Chen J (2016) Cytofkit: a bioconductor package for an integrated mass cytometry data analysis pipeline. PLoS Comput Biol 12(9):e1005112
Eling N, Damond N, Hoch T, Bodenmiller B (2020) cytomapper: an R/Bioconductor package for visualization of highly multiplexed imaging data. Bioinformatics 36(24):5706–5708
Hickey JW, Tan Y, Nolan GP, Goltsev Y (2021) Strategies for accurate cell type identification in CODEX multiplexed imaging data. Front Immunol 12:727626
Brbić M, Cao K, Hickey JW, Tan Y, Snyder MP, Nolan GP, Leskovec J (2022) Annotation of spatially resolved single-cell data with STELLAR. Nat Methods 19(11):1411–1418. https://doi.org/10.1038/s41592-022-01651-8
Armingol E, Officer A, Harismendy O, Lewis NE (2021) Deciphering cell–cell interactions and communication from gene expression. Nat Rev Genet 22(2):71–88
Jackson HW, Fischer JR, Zanotelli VRT, Ali HR, Mechera R, Soysal SD et al (2020) The single-cell pathology landscape of breast cancer. Nature 578(7796):615–620
Parra ER (2021) Methods to determine and analyze the cellular spatial distribution extracted from multiplex immunofluorescence data to understand the tumor microenvironment. Front Mol Biosci 8:668340
Chen Z, Soifer I, Hilton H, Keren L, Jojic V (2020) Modeling multiplexed images with spatial-LDA reveals novel tissue microenvironments. J Comput Biol 27(8):1204–1218
Jiang S, Chan CN, Rovira-Clavé X, Chen H, Bai Y, Zhu B et al (2022) Combined protein and nucleic acid imaging reveals virus-dependent B cell and macrophage immunosuppression of tissue microenvironments. Immunity 55(6):1118–34.e8
Zhu B, Chen S, Bai Y, Chen H, Mukherjee N, Vazquez G et al (2021) Robust single-cell matching and multi-modal analysis using shared and distinct features reveals orchestrated immune responses. bioRxiv: 2021.12.03.471185
G. L. was supported by the Stanford Cancer Institute (SCI) Innovation Award, and the Stanford Translational Research and Applied Medicine grant, and by the National Cancer Institute of the National Institutes of Health under Award Number K99CA267171. W. K. was supported by the Rheumatology Research Foundation, the National Institute of Arthritis and Musculoskeletal and Skin Diseases (Award L30AR079827), and the Stanford Translational Research and Applied Medicine grant. Figures were created using BioRender (www.BioRender.com).
Conflict of interest
GN is an inventor on US patent 9909167, granted to Stanford University that covers some aspects of the technology described in this paper. GN have equity in and/or are scientific advisory board members of Akoya Biosciences, Inc. The other authors have no conflicts of interest to declare.
This article is a contribution to the special issue on: Single-cell and spatial multi-omics in clinical outcomes studies - Guest Editor: Brice Gaudillière
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
Cite this article
Kuswanto, W., Nolan, G. & Lu, G. Highly multiplexed spatial profiling with CODEX: bioinformatic analysis and application in human disease. Semin Immunopathol 45, 145–157 (2023). https://doi.org/10.1007/s00281-022-00974-0
- Spatial profiling
- Tissue immunology
- Cell segmentation
- Spatial analysis
- Cellular neighborhoods