View source: R/hemibrain_annotations.R
class2ids | R Documentation |
Will use our Google sheet annotation spreadsheets or neuPrint queries as appropriate
class2ids(x, ..., unlist = TRUE, unique = TRUE, refresh = FALSE)
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
|
refresh |
Whether to refresh cached class information from remote
sources. When |
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.
# NB these examples will not be run by default as they currently depend on
# access to some private Google sheets
## Not run:
class2ids("uPN")
length(class2ids("ORN", possible = FALSE))
length(class2ids("ORN", possible = TRUE))
class2ids("DAN")
class2ids("MBON")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.