
The Region Class
Region-class.RdThe Region is the basic unit of the SpatialMap. It stores processed image information - segmented cells, X-Y coordinates, and feature expression values - and their metadata. The hierarchical structure is flexible and SpatialMaps will perform analyses on independent regions, groups of regions, or subsets of regions.
Beyond these basic slots, regions may contain a suite of downstream analyses, including cell neighborhood analyses or dimensionality reductions. Regions also support fetching or storing raw image data for viewing in R.
Slots
DataTypically contains expression data, markers X cells
NormalizedDataNormalized Data
ScaledDataScaled (centered and scaled) data
bgDataAny cell level information pertaining to background. Used for QC etc.
coordinatesCoordinates of cells in the currently-active segmentation
cellMetadataStores cell information - clustering, etc.
channelInfoStores information about the microscope channel for each marker
featureInfoStores feature information - antibodies, barcodes, gene information, etc.
neighborhoodsA list of cell-cell interaction 'neighborhoods'
imagesStores links or actual image data. Note that this feature could explode the size of the SpatialMap
tilesStores information pertaining to any images that were stitched to form this Region. A mapping of cells to tiles