Add an ROI to a project layer
Usage
at_add_roi(project, layer, roi, call = rlang::caller_env())Arguments
- project
An annot_project.
- layer
Single string name of the target layer.
- roi
An annot_roi.
- call
The calling environment, for error reporting.
Value
A new annot_project with the ROI added to the layer. A colliding ROI identifier is re-minted to keep identifiers unique across the project. The input is unchanged.
See also
Other projects:
at_add_layer(),
at_example_project(),
at_layers(),
at_project(),
at_remove_layer(),
at_remove_roi(),
at_rois(),
at_summary(),
at_validate()