Skip to content

By platform: what each family can show ​

Every platform goes through the same three commands (init, build, serve) and the same yaml. What differs is which layers a sample can carry, where the files for them come from, and what each one costs. Pick the page for your data:

  • Sequencing-based spatial — Visium, Visium HD, Slide-seq, Stereo-seq: spots or bins on an H&E image.
  • Imaging-based spatial — Xenium, MERSCOPE (MERFISH), CosMx: segmented cells with boundaries, a fluorescence image and the individual transcripts.
  • Single-cell and multiome — snRNA-seq, snATAC, 10x Multiome: an embedding beside the tissue, with shared cell type colours and genome tracks.

The layers ​

LayerSequencing-basedImaging-basedSingle-cellFromCost
Expression and annotationsalwaysalwaysalwaysthe object's matrix and obs columns1 byte per cell per gene
Brightfield image (H&E)usual––SpaceRanger spatial/, a PNG or TIFF, an OME-Zarr10–300 MB per section
Fluorescence image (DAPI, markers)–usual–the platform's morphology / mosaic imageabout 200 MB per section at 0.85 µm/px
Cell or spot shapesoptional (HD bins, spots)usual–a boundary table or an obsm arrayabout 44 B per cell
Molecules (transcripts)–optional–the platform's transcript table3.5 B per molecule; 170–400 MB per Xenium section
A second segmentation (nuclei)–optional–a second boundary tablelike shapes
Annotation boundariesautomaticautomatic–traced from a categorical annotation at build timesmall
Embedding (UMAP)––alwaysan obsm key or a reducedDimlike a section
Genome tracks––optional (ATAC)fragment files or bigWigs0.1–2 GB per dataset

"Usual" means init proposes the layer when it finds the file and build makes it; "optional" means one line in the yaml. Nothing is required beyond expression and coordinates: a bundle built from a bare h5ad draws dots, and every layer can be added to it later with a one-sample rebuild.

What the viewer does with them ​

Dots are what every sample starts as. Shapes replace the dots once a cell is about 6 px across; molecules draw once a view holds about one per screen pixel; images sit under everything with an opacity slider and, for fluorescence, a channel list. All of it is in Using the viewer.

Platforms the CLI names ​

platform: on a sample is one of visium, visium_hd, xenium, merfish, snrnaseq or other. It sets the default point size (a 55 µm Visium spot, half the bin pitch for HD, 5 µm cells otherwise), the coordinate assumption (pixels for Visium and HD, microns for the rest unless microns: says otherwise) and the label in the viewer's platform bar. A platform the list does not name is other with microns: and point_radius set by hand; the examples on the family pages show the values.

MIT licensed.