Filters a SpatialExperiment to spots that fall within the provided x/y ranges
of the spatial coordinates. If a range is NULL, the full range is used.
Usage
subsetSPE(spe, colRange = NULL, rowRange = NULL)
Arguments
- spe
A SpatialExperiment object.
- colRange
Numeric vector of length 2 giving min/max x-coordinates
(pxl_col_in_fullres).
- rowRange
Numeric vector of length 2 giving min/max y-coordinates
(pxl_row_in_fullres).
Value
A SpatialExperiment subsetted to the specified coordinate window.