Entity Annotations

Usage

annotations(object) annotationValues(object) annotValue(object, which) deleteAnnotation(object, which)

Arguments

object
The object whose annotations are being modified.
which
An annotation name

Description

Functions for manipulating object annotations

Value

for deleteAnnotation and annotValue: The modified object.

for annotations: an object of class SynapseAnnotations.

for annotValue: the value stored for the annotation specified by "which"

Details

annotValue is used to get or set a single annotation value. annotationValues is used to get all annotations as a list or to assign the elements of the list as annotations.

the annotations() function should generally not be called by the end-user and may be deprecated in the future.

Note

when using annotationValues<-, if the object already has an annotation with the same name as an element in the list, it's value will be overwritten.

See also

properties

Author

Matt Furia