Get names of neurons from CATMAID

catmaid_get_neuronnames(skids, pid = 1, conn = NULL, ...)

Arguments

skids

One or more numeric skeleton ids or a character vector defining a query (see catmaid_skids or examples for the syntax).

pid

Project id (default 1)

conn

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

Value

a character vector of neuron names, with a names attribute specifying the skeleton ids (skids). Missing values will be represented by a NA_character value.

Details

Note that catmaid_get_neuronnames only queries the server for the unique set of input skids to save time.

Examples

if (FALSE) {
catmaid_get_neuronnames(skids=c(10418394,4453485))
catmaid_get_neuronnames("name:ORN (left|right)")
catmaid_get_neuronnames("annotation:ORN PNs$")
}