View source: R/catmaid_annotations.R
catmaid_entities_from_models | R Documentation |
catmaid_entities_from_models
converts from neuron ids to skeleton ids
catmaid_models_from_entities
converts skeleton ids to
from neuron ids
catmaid_entities_from_models(skids, pid = 1, conn = NULL, ...) catmaid_models_from_entities(nids, pid = 1, conn = NULL, ...)
skids |
One or more numeric skeleton ids or a character vector defining
a query (see |
pid |
Project id (default 1) |
conn |
A |
... |
Additional arguments passed to the |
nids |
Neuron (entity) ids |
This will normally be used to turn skeleton ids into neuron ids
which are used e.g. for annotation purposes. This is probably not something
that many end users will need but is required e.g. by
catmaid_remove_annotations_for_skeletons
.
For catmaid_entities_from_models
an integer vector of entity ids each named by the
corresponding model id (usually a skeleton id).
For catmaid_models_from_entities
a list of model ids (usually skeleton ids) named by the
corresponding entity ids. Formally there may be multiple skeletons per neuron.
Used by catmaid_remove_annotations_for_skeletons
ents=catmaid_entities_from_models('ORN PNs left', conn=vfbcatmaid('l1em')) ents mods=catmaid_models_from_entities(unname(ents), conn=vfbcatmaid('l1em')) str(mods)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.