Blog

Cell Segmentation in Xenium: Why It Makes or Breaks Single-Cell Spatial Data

By Scientific Affairs Team, Signios

A Xenium run returns high-resolution images, decoded transcript locations, and segmentation outputs. Cells are not directly observed, but inferred during analysis by a segmentation step that decides which transcript falls inside which boundary, and every downstream result inherits that decision. Clustering, cell type annotation, neighborhood analysis, and differential expression all rest on a cell-by-gene matrix built from transcript assignment to segmented cells.

That makes segmentation the quietest source of error in imaging-based spatial work. It rarely fails loudly. Instead it produces plausible cells with mixed identities, immune populations carrying tumor transcripts, and cell states that look novel but reflect boundary error rather than biology. Choosing a segmentation strategy is a study design decision, and much of it has to be made before tissue goes on the instrument.

Why Segmentation Sits Upstream of Every Result

In dissociated single-cell sequencing, the boundary is physical. A droplet or a well defines the cell before any software is involved. In situ, no such partition exists. The instrument detects transcripts in tissue space and an algorithm draws the outline that claims them.

That inference is manageable in loosely packed tissue with regular morphology. It becomes difficult exactly where the interesting biology tends to sit: dense tumor nests, lymphoid aggregates, tissue with elongated or anucleate cells, and interfaces where two very different cell types are only microns apart. Segmentation error concentrates in the regions most studies were designed to interrogate.

The Limits of Nuclear Expansion

The traditional approach identifies nuclei from DAPI and grows each one outward by a fixed distance. 10x Genomics has reduced the default expansion in Xenium Onboard Analysis from 15 µm in early versions to 5 µm in v2.0 and later, which is a meaningful improvement, but the assumption underneath is unchanged. Cells are treated as roughly circular and roughly uniform in size. Neurons, fibroblasts, and smooth muscle cells are none of those things.

Two problems follow. Cytoplasmic transcripts beyond the expansion radius are discarded or handed to a neighbor, and transcripts from RNA-rich cells get claimed by low-content cells sitting close by. A published quality assessment of Xenium datasets found that, in their evaluated datasets, roughly 77 percent of reads were assigned to cells under default segmentation, and reported that transcripts more than about 10.7 µm from the cell centroid correlated better with domain-specific background signatures than with nuclear cell type identity. More recent work has shown the same spillover surviving at the 5 µm default, showing apparent tumor transcripts appearing inside adjacent T cells and masking genuine exhaustion signal until the contamination is corrected.

Multimodal Staining and Transcript-Based Alternatives

Multimodal cell segmentation addresses the problem at its source by imaging the boundary instead of estimating it. Boundary markers such as ATP1A1, E-Cadherin, and CD45, plus an 18S rRNA interior stain give the algorithm real morphology to work from, and can better represent anucleate and multinucleate cells than nuclear expansion alone.

The constraint that matters is timing. Those stains are applied during the assay, not afterward. Transcript-based methods such as Baysor, ProSeg, and Segger can reassign transcripts computationally and are genuinely useful for archived data, but they work from local density patterns rather than observed boundaries, and current benchmarks describe their gains as improvements rather than fixes. No analysis tool fully recovers a boundary that was never imaged.

What a Segmentation Problem Looks Like in the Data

Segmentation quality is measurable, and the warning signs are easy to check. The Xenium analysis summary reports the proportion of cells segmented by each method, and a high share resolved by nuclear expansion means the boundary and interior stains underperformed on that tissue. A long left tail in transcripts per cell can often reflect fragmented boundaries rather than quiet cells, though it can also arise from true low-RNA cell types or sampling variation. Furthermore, a cell area distribution clustered tightly around a single value is a common indication consistent with fixed-radius expansion rather than real morphology. The most direct check is coexpression that should be mutually exclusive. Epithelial and immune markers in the same cell, at any meaningful rate, should be treated as spillover until shown otherwise.

Deciding Before the Tissue Is Consumed

Because the highest-leverage choices happen at the bench, segmentation belongs in the experimental plan alongside panel selection and tissue QC. Whether a study warrants segmentation staining depends on tissue architecture, which cell types carry the biological question, and how much of the signal lives in the cytoplasm rather than the nucleus. Those questions are cheap to answer during design and expensive to revisit after samples are gone.

Signios Bio scopes spatial transcriptomics projects with that decision settled upfront, pairing Xenium and Visium work with single-cell sequencing, RNA sequencing, immune profiling, epigenomics, and proteomics under one quality framework, and delivering bioinformatics that reports segmentation metrics rather than burying them. To scope the right segmentation strategy for your tissue and study goals, talk with our team.

#CellSegmentation, #Xenium, #XeniumCellSegmentation, #SingleCellSpatialTranscriptomics, #MultimodalCellSegmentation, #NuclearExpansionSegmentation, #TranscriptSpillover, #XeniumOnboardAnalysis, #XeniumQC, #ImagingBasedSpatialTranscriptomics, #SpatialTranscriptomicsServices, #Baysor, #ProSeg