Description Usage Arguments Details Value Examples
Given a vector of skeleton IDs, this will find the glomerului associated with PNs, based on annotations in CATMAID.
1 2 | find_glomeruli(skids, exclude = NULL, method = c("annotation", "name"),
...)
|
skids |
Required; an |
exclude |
Optional; a vector of glomeruli to exclude (in the format X for glomerulus X, or the full annotation for unknown glomerulus N) |
method |
Optional; indicating whether to use the neuron 'name' or glomerulus 'annotation's. |
... |
Additional arguments passed to catmaid_* functions. Use this to specify |
Requires the PN to be annotated with glomerulus X or unknown glomerulus N in CATMAID. Annotations of the form glomerulus X
will be prioritised over unknown glomerulus N, and if there are multiples they will be joined together with a forward slash. If there are
no results with either of these annotations, the string "unknown"
will be returned in place of a glomerulus.
Note that annotations of the form glomerulus X right|left are not considered.
A character
vector of glomeruli names
1 2 3 | find_glomeruli('WTPN2017_uPN_right')
find_glomeruli('WTPN2017_uPN_right', exclude=c('VCx','VCy', 'VP1l'))
find_glomeruli('WTPN2017_uPN_right', method = 'name')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.