Skip to contents

Copy annotations (all or selectively) from a source entity to one or more target entities. If annotations already exist on target entities, the copy will replace the current values.

Usage

copy_annotations(entity_from, entity_to, select = NULL, update = FALSE)

Arguments

entity_from

Syn id from which to copy.

entity_to

One or more syn ids to copy annotations to.

select

Vector of properties to selectively copy if present on the entity. If not specified, will copy over everything, which may not be desirable.

update

Whether to immediately update or return annotation objects only.