View source: R/catmaid_metadata.R
catmaid_rename_neuron | R Documentation |
Rename (presently) a single neuron or other entity (e.g. annotation)
catmaid_rename_neuron( skids = NULL, entityids = NULL, names, pid = 1, conn = NULL, ... )
skids |
One or more numeric skeleton ids or a character vector defining
a query (see |
entityids |
Generic entity ids |
names |
New names |
pid |
Project id (default 1) |
conn |
A |
... |
Additional arguments passed to the |
Each neuron consists of both a generic entity and an associated
skeleton (skid
). If you supply the skid
the function will
internally look up the corresponding neuron entity id. Note that you
actually wished to change the name of the skeleton you could pass the skid
into the entityids
argument.
logical
value indicating success or failure with attributes
indicating the previous name.
## Not run: # Warning this will change data! n=get_neuron_name(27296) catmaid_rename_neuron(skids=27296, names=n) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.