sales-lab / spatialDE

R wrapper for SpatialDE
Other
3 stars 3 forks source link

Add S4 methods #16

Closed milanmlft closed 3 years ago

milanmlft commented 3 years ago

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().