synSetAnnotations: synSetAnnotations

synSetAnnotationsR Documentation

synSetAnnotations

Description

Update annotations for an Entity in the Synapse Repository. This function will replace all the existing annotations with the given annotations.

Usage

synSetAnnotations(entity, annotations=list(), ...)

Arguments

entity

The Entity or Synapse Entity ID whose annotations are to be updated

annotations

A named list of annotation names and values

...

optional annotation name / value pairs

Value

the updated annotations for the entity

Examples

## Not run: 
synSetAnnotations("syn1234567", annotations=list(foo="bar", baz=1))

## End(Not run)

Sage-Bionetworks/synapser documentation built on Feb. 7, 2024, 12:26 p.m.