R reference

Analysis

spiDE Run spiDE end to end
buildNiches Build niche covariate matrices
mergeNiches Merge niche cell-type columns into groups
fitSpiDE Fit spiDE’s per-patient niche models
testSpiDE Test niche-dependent differential expression
results Extract spiDE’s test results
spiGSEA Gene-set tests on spiDE’s niche results
testNicheAbundance Test whether patients with more of a niche cell type express genes differently

Per-patient estimates

patientSlopes Each patient’s niche slopes
patientIntercepts Each patient’s intercept

Plots

plotNicheMap The niche covariate in tissue
plotPatientSlopes Each patient’s niche slope for a triplet
plotNicheResponse Expression against niche density: the cells behind a slope
plotCallMap Where the calls are
plotTopTriplets The strongest triplets, or those of chosen genes
plotSpillover Are the calls the niche type’s own markers?
plotTripletHeatmap Niche-response profiles of genes or gene sets
plotPValues p-values by test and expression band
plotPatientEffects What the patient intercepts, or slopes, capture
theme_spiDE The spiDE plot theme
spiDEColours The spiDE colours

Classes and data

SpiDEFit-class The fitted per-patient niche models of spiDE
SpiDEResults-class The results of spiDE’s niche tests
toySpiDE A small synthetic SpatialExperiment for spiDE examples
spiDE-package spiDE: context-specific, neighbourhood-dependent differential expression