toySpiDE

A small synthetic SpatialExperiment for spiDE examples

Description

A seeded toy dataset of 20 genes across 2,400 cells from 16 patients (eight Responders, eight Non-responders; one sample of 150 cells each) with three cell types (A, B, C) laid out on a 500 x 500 field. Cell type B is concentrated in the right of the field, and a neighbourhood-dependent signal is planted: gene G1 is up-regulated in the index cell type A, in Responders, in proportion to the local density of the niche cell type B. Used throughout the examples and vignette.

Usage

data(toySpiDE)

Format

A SpatialExperiment with a counts assay and colData columns sample_id, condition, cell_type, Age, Area, and nCount.

Source

Generated by data-raw/make_toySpiDE.R.

Examples

library("spiDE")

data(toySpiDE)
toySpiDE
class: SpatialExperiment 
dim: 20 2400 
metadata(0):
assays(1): counts
rownames(20): G1 G2 ... G19 G20
rowData names(0):
colnames(2400): cell1 cell2 ... cell2399 cell2400
colData names(9): sample_id condition ... Area nCount
reducedDimNames(0):
mainExpName: NULL
altExpNames(0):
spatialCoords names(2) : x y
imgData names(0):