Central S4 class for storing and analysing single-cell spatial biology data. Inspired by the Seurat object design, it holds raw and normalised marker intensities, spatial coordinates, cell-level metadata, and results from spatial analyses in a single container.
Slots
countsNumeric matrix of raw marker intensities (cells x markers).
dataNumeric matrix of normalised marker intensities (cells x markers). Identical to
countsuntilNormaliseDatais called.coordsData frame with columns
xandyholding spatial coordinates for each cell.meta_dataData frame of per-cell metadata. Always contains
cell_idandsample_id. Additional columns such ascell_area,phenotype, orclusterare added by analysis functions.projectCharacter string. Project or experiment name.
spatialList for storing spatial analysis results (nearest-neighbour distances, density values, interaction matrices).