View source: R/catmaid_labels.R
catmaid_get_labels | R Documentation |
catmaid_get_labels
gets labels (tags) for specified
nodes.
catmaid_set_labels
sets labels (tags) for a specified
node.
catmaid_remove_labels
removes labels (tags) for a
specified node.
catmaid_get_labels( treenodes = NULL, connectors = NULL, pid = 1, conn = NULL, ... ) catmaid_set_labels( node, labels, type = c("treenode", "connector"), delete_existing = FALSE, pid = 1, conn = NULL, ... ) catmaid_remove_labels( node, labels, type = c("treenode", "connector"), pid = 1, conn = NULL, ... )
treenodes, connectors |
Integer ids of nodes to be queried |
pid |
Project id (default 1) |
conn |
A |
... |
Additional arguments passed to the |
node |
A single tree or connector node to modify |
labels |
A character vector specifying the labels to add or remove |
type |
A character vector specifying the type of node to modify |
delete_existing |
For |
catmaid_get_label_stats
returns a data.frame with columns
id (integer)
type (treenode or connector)
label (the tag)
A zero row data.frame will be returned if there are no results.
catmaid_remove_labels
and catmaid_set_labels
throw an
error on failure or invisibly return a list containing status information.
Other labels:
catmaid_get_label_stats()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.