synSetAnnotations: synSetAnnotations

Description Usage Arguments See Also Examples

Description

Set all the annotations on an entity.

Usage

1
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

1
2
3
4
5
## Not run: 
  f <- File(path="/path/to/my/file.csv", parentId="syn1234")
  synSetAnnotations(f) <- list(tissueType="colon",  platform="rnaseq")

## End(Not run)

Sage-Bionetworks/rSynapseClient documentation built on May 9, 2019, 7:04 p.m.