catmaid_get_neuronnames: Get names of neurons from CATMAID

View source: R/catmaid_metadata.R

catmaid_get_neuronnamesR Documentation

Get names of neurons from CATMAID

Description

Get names of neurons from CATMAID

Usage

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

Details

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

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.

See Also

catmaid_fetch, catmaid_skids

Examples

## Not run: 
catmaid_get_neuronnames(skids=c(10418394,4453485))
catmaid_get_neuronnames("name:ORN (left|right)")
catmaid_get_neuronnames("annotation:ORN PNs$")

## End(Not run)

jefferis/rcatmaid documentation built on Aug. 16, 2022, 8:52 p.m.