synGetAnnotations | R Documentation |
Retrieve annotations for an Entity from the Synapse Repository as a named list.
Note that collapsing annotations from the native Synapse format to a named list may involve some loss of information. See _getRawAnnotations to get annotations in the native format.
synGetAnnotations(entity, version=NULL)
entity |
An Entity or Synapse ID to lookup |
version |
The version of the Entity to retrieve. |
a named list whose names are annotation names and whose values are annotation values
## Not run:
file<-synGet("syn11705401")
synSetAnnotations(file, list(a="A", b="B", c=101))
synGetAnnotations(file)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.