
Subset SpatialMap
smSubset.RdSubset using metadata features or cell IDs. The on and keep (or remove) arguments work together -
the function will use the cellMetadata column defined in on and the categories defined
in keep or remove to filter the object. The cells argument accepts a character vector of cell IDs.
Usage
smSubset(object, on = NULL, keep = NULL, remove = NULL, cells = NULL)
.smsubset(object, on = NULL, keep = NULL, cells = NULL)