R/catmaid_annotations.R
catmaid_meta_annotations.Rdcatmaid_get_meta_annotations Query by annotations to find
the meta-annotations that label them.
catmaid_query_meta_annotations Query by meta-annotations
to find the annotations that they label.
catmaid_set_meta_annotations Meta-annotate a group of
CATMAID annotations
catmaid_remove_meta_annotations Remove meta-annotations
from annotations.
catmaid_get_meta_annotations(annotations, pid = 1, conn = NULL, ...)
catmaid_query_meta_annotations(
meta_annotations,
with_annotations = FALSE,
pid = 1,
conn = NULL,
...
)
catmaid_set_meta_annotations(
meta_annotations,
annotations,
pid = 1,
conn = NULL,
...
)
catmaid_remove_meta_annotations(
annotations,
meta_annotations,
force = FALSE,
pid = 1,
conn = NULL,
...
)annotation ids designating which annotations to
meta-annotate. IDs can be found by calling
catmaid_get_annotationlist. If a character string is given, then IDs
will be found by calling catmaid_get_annotationlist.
Project id (default 1)
A catmaid_connection objection returned by
catmaid_login. If NULL (the default) a new connection
object will be generated using the values of the catmaid.* package
options as described in the help for catmaid_login.
Additional arguments passed to the catmaid_fetch
function
meta-annotation to add to query. Either a vector of IDs or a character sting of meta-annotations can be given.
whether or not to return the other meta-annotations
of an annotation, when using catmaid_query_meta_annotations.
Whether to force the catmaid server to remove multiple
annotations (default FALSE, to provide some protection against
accidents).
catmaid_query_by_annotation which has some overlap in
functionality, catmaid_get_annotations_for_skeletons,
catmaid_skids, catmaid_get_annotationlist
if (FALSE) {
## Against FAFB CATMAID server
catmaid_query_meta_annotations("ItoLee_Lineage")
# note that this is similar to:
catmaid_query_by_annotation("^ItoLee_Lineage$", type = 'annotation')
}