Annotated map vs. raw composite image
Showing:

Left: cells coloured by your selection (add gene transcripts as dots). Right: the raw microscopy image for the same FOV, to sanity-check the annotations.

Composite channels:

  • Green: PanCK (epithelium)
  • Red: CD45 (immune)
  • White: CD3 (T cells, V1 slides only)
  • Blue: DAPI (nuclei)
Download image


Top genes in this FOV

The most-expressed genes in this FOV, split by whatever you coloured the map by (cell type or niche).



Sample information

Niche marker genes

Each point is a gene. Higher = more significant; right = up in the selected niche, left = down. Hover to see the gene name. Choose the niche and cell type on the left.


Results table (click a column to sort)

Niche / metadata map for this FOV
Showing:

The selected FOV coloured by niche (or any other column chosen on the left).



Reference: niche makeup across FOVs

Reference: slide layout

App guide

Interactive companion to the spatial atlas of colorectal cancer. It links the raw CosMx images, the spatial niches, and the pseudobulk statistics. Start by choosing a slide and FOV on the left.

Spatial map
  • Annotated map: cell-segmentation boundaries coloured by cell type, niche, or any numeric metadata; overlay gene transcripts as dots, and use Show only these groups to focus on selected cell types.
  • Composite image: the raw immunofluorescence (PanCK / CD45 / CD3 / DAPI) for the same FOV, shown alongside to validate annotations.
  • Top genes: the most-expressed genes in the current FOV, split by whatever you coloured the map by.
Differential Expression

Volcano of the niche pseudobulk results: genes up/down in a selected niche versus the rest of the tissue, per cell type. Hover a point for the gene name. Run 1 and Run 2 are the two CosMx runs, which use slightly different gene panels (Run 2 = slides ending in '_').

Niche maps

Plots the selected FOV coloured by its niches (or any cell-type / metadata / signature column), with reference PDFs of the niche makeup across FOVs and the slide layout below.

Methodology
A. QC

Cells with < 50 detected probes removed; probes seen in < 50 cells dropped. Cells > 3 MADs from the per-sample median (counts or features) filtered, and likely doublets removed with scDblFinder. NEAT1, MALAT1 and negative-probe transcripts excluded as uninformative.

B. Cell type annotation (SingleR)

Cells labelled with SingleR using the Pelka et al. MMR colorectal atlas (mid-level annotations) as reference, then verified against canonical markers and protein immunofluorescence. Harmony was used to integrate slides/samples; the two probe panels (V1 / V2) were processed separately.

C. Spatial niches (Seurat)

Niches defined with Seurat's spatial-neighbourhood workflow (BuildNicheAssay / FindNeighbors): the 50 nearest spatial neighbours of each cell give a neighbourhood-composition matrix, which is k-means clustered into 9 niches, then annotated by cell-type composition.

D. Pseudobulk DE (limma-voom)

Counts aggregated to the sample x niche x cell-type level; each [cell type in niche Y] compared to [same cell type in all other niches], treating the donor as the unit of replication. The two CosMx runs (slightly different gene panels; Run 2 = slides ending in '_') are analysed separately as Run 1 and Run 2.