Will use our Google sheet annotation spreadsheets or neuPrint queries as appropriate

class2ids(x, ..., unlist = TRUE, unique = TRUE, refresh = FALSE)

Arguments

x

A class of neuron (e.g. ORN, PN, DAN, MBON LHON, TOON, TOLN, HRN etc.)

...

Additional arguments passed to internal functions

unlist

return all the bodyids

unique

Whether to ensure that no duplicate ids are returned when unlist=TRUE.

refresh

Whether to refresh cached class information from remote sources. When FALSE (the default) this is automatically refreshed every hour.

Value

When unlist=FALSE a list with elements named by the elements of x (classes of neurons). When unlist=TRUE, a vector without names of all bodyids.

Examples

# NB these examples will not be run by default as they currently depend on # access to some private Google sheets if (FALSE) { class2ids("uPN") length(class2ids("ORN", possible = FALSE)) length(class2ids("ORN", possible = TRUE)) class2ids("DAN") class2ids("MBON") }