Remove an ROI from a layer
Usage
at_layer_remove(layer, id, call = rlang::caller_env())Arguments
- layer
An annot_layer.
- id
Single string ROI identifier.
- call
The calling environment, for error reporting.
Value
A new annot_layer without the identified ROI. Warns if the ROI is not present and returns the layer unchanged.
See also
Other layers:
at_layer(),
at_layer_add(),
at_layer_n(),
at_layer_rois(),
at_style()