Co-Detection by indEXing (CODEX) is a spatial biology technique that maps the precise locations and organization of cells within tissues. This method visualizes dozens of different proteins simultaneously on a single tissue sample. This highly multiplexed approach overcomes the limitations of traditional imaging, which typically detects only a small handful of markers due to spectral overlap of fluorescent dyes. By integrating advanced chemistry with microscopy, CODEX generates high-resolution, single-cell maps that preserve the native context of cells. The technique provides a powerful way to understand how cells interact and organize within complex structures, such as a tumor or a healthy organ.
How High-Plex Imaging Works
The foundational principle of CODEX technology relies on labeling and detecting cellular targets using DNA sequences as unique identifiers. Before the imaging process begins, researchers prepare a panel of antibodies designed to bind specifically to target proteins on or within the cells of a tissue sample. Each distinct antibody in the panel is chemically tagged with a unique short strand of DNA, known as an oligonucleotide barcode.
Once the tissue section is stained, these barcoded antibodies bind to their target proteins, establishing a stable molecular map of all the proteins being studied within the tissue. Detection is achieved through an iterative process of fluid exchange, known as cycling, performed on a specialized microfluidics system integrated with an optical microscope. In each cycle, a small set of fluorescent reporter molecules is introduced.
These reporters are short DNA strands complementary to the barcodes on a subset of the antibodies and carry a bright fluorescent dye. The reporters hybridize, or bind, only to their complementary DNA barcodes, illuminating the locations of the corresponding proteins in the tissue. After the image is captured by the microscope, a chemical solution is used to gently strip away the fluorescent reporters, leaving the original barcoded antibodies still bound to the tissue targets.
The system then repeats the cycle, introducing a new set of fluorescent reporters designed to bind to a different set of antibody barcodes. This process of staining, imaging, and stripping is repeated many times, allowing a single tissue section to be multiplexed far beyond the spectral limit of the microscope. All the captured images are computationally layered and stitched together, reconstructing a single, ultra-detailed image where the identity and precise location of every protein marker on every cell is known.
The Value of Spatial Mapping
The ability to map numerous proteins in place fundamentally changes how biologists analyze complex tissues, offering a significant advantage over non-spatial methods. Techniques like flow cytometry or bulk sequencing analyze cells after they have been removed from the tissue and homogenized. While these provide detailed molecular profiles, they destroy the tissue architecture. This loss of spatial context makes it impossible to determine which cells were neighboring each other or how they were organized in the original tissue structure.
CODEX overcomes this limitation by generating data that retains the precise spatial coordinates for every cell and protein marker. This spatial information is particularly valuable for identifying “cellular neighborhoods,” which are defined as distinct groups of various cell types that cluster together and interact locally. For instance, a T-cell located immediately adjacent to a tumor cell may be behaving differently than a T-cell located far away, and only spatial mapping can reveal this difference in context.
Understanding these cell-cell interactions within the microenvironment is crucial, especially in disease states where local cues drive cellular behavior. The proximity of different cell populations, such as immune cells, stromal cells, and epithelial cells, dictates processes like inflammation, tissue repair, and the progression of diseases like cancer. By providing quantitative data on the distance, contact, and organization of these cells, CODEX allows researchers to move from simply cataloging cells to modeling the functional relationships that drive biological outcomes.
Current Research Applications
The high-plex spatial data generated by CODEX is accelerating discovery across numerous fields where cellular organization is a driving factor of pathology. A major focus is the tumor microenvironment (TME), the complex ecosystem surrounding a tumor that includes cancer cells, immune cells, and blood vessels. Researchers are using the technology to map the precise location of different immune cell subsets, such as T-cells and macrophages, relative to the cancerous cells.
This mapping provides insights into why some immunotherapies fail, as the spatial distribution of immune cells can predict treatment response. For example, in studies of bladder cancer, the technique helped distinguish cellular niches based on epithelial cells expressing the protein CDH12. These specific niches had higher immune infiltration and elevated expression of the immunotherapy target PD-L1. Such findings suggest that the local neighborhood, not just the presence of a cell type, influences a cell’s functional state.
Beyond cancer, CODEX is being used to characterize complex organs and infectious diseases. Large-scale consortia, such as the Human Cell Atlas and HuBMAP, are employing the technique to map the cellular and molecular architecture of healthy human organs, including the kidney and intestine, establishing a baseline for understanding disease. In neurological research, the technology is helping to dissect the complex immune and protein aggregates found in diseases like Alzheimer’s, where mapping the precise composition of plaques and the identity of surrounding glia and neurons is essential for understanding disease progression.

