Adding S4 methods to run spatialDE on matrix and SpatialExperiment objects as input.
The spatialDE() function basically runs stabilize(), regress_out() and run() in order on the input count matrix. When a SpatialExperiment object is used as input, coordinates are taken from spatialCoords().
Adding S4 methods to run
spatialDE
onmatrix
andSpatialExperiment
objects as input.The
spatialDE()
function basically runsstabilize()
,regress_out()
andrun()
in order on the input count matrix. When aSpatialExperiment
object is used as input, coordinates are taken fromspatialCoords()
.