Calculate areas between every two density levels
Usage
getContourRegions(spe, coi)
Arguments
- spe
A SpatialExperiment object.
- coi
A character vector of cell types of interest (COIs).
Value
A list of sf objects, each representing the region between
two contour density levels.