Skip to contents

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.