annotations(object) annotationValues(object) annotValue(object, which) deleteAnnotation(object, which)
Functions for manipulating object annotations
for annotations: an object of class SynapseAnnotations.
for annotValue: the value stored for the annotation specified by "which"
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.
annotationValues<-, if the object already has an annotation with the same name
as an element in the list, it's value will be overwritten.