Learn R Programming

synapseClient (version 1.14-0)

synSetAnnotations: synSetAnnotations

Description

Set all the annotations on an entity.

Usage

synSetAnnotations(entity)<-values

Arguments

entity
The entity on which to set the annotations.
values
A named list in which the names are the annotation names and the values are the annotation values.

See Also

synGetAnnotations synGetProperties synSetProperties synGetAnnotation synSetAnnotation synGetProperty synSetProperty

Examples

Run this code
## Not run: 
#   f <- File(path="/path/to/my/file.csv", parentId="syn1234")
#   synSetAnnotations(f) <- list(tissueType="colon",  platform="rnaseq")
# ## End(Not run)

Run the code above in your browser using DataLab