R/grid2sf.R
grid2sf.Rd
Combine grids in each ROI to a sf region
grid2sf(spe)
A SpatialExperiment object.
List of ROIs saved as sf objects.