Skip to contents

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.