Can also choose to select specific neurons along the way and navigate
forwards and backwards. NB this is simply a wrapper for
nat::nlscan
, with the additional function of converting all
neuron identifiers to standard flycircuit identifiers.
dpscan(neurons, db = NULL, col = "red", Verbose = T, Wait = T, sleep = 0.1, extrafun = NULL, selected_file = NULL, selected_col = "green", yaml = TRUE, ...)
neurons | vector of flycircuit identifiers to plot *(anything that
|
---|---|
db | the neuronlist containing the neurons. Defaults to the list named
by |
col | the colour with which to plot the neurons (default |
Verbose | logical indicating that info about each selected neuron should
be printed (default |
Wait | logical indicating that there should be a pause between each displayed neuron. |
sleep | time to pause between each displayed neuron when
|
extrafun | an optional function called when each neuron is plotted, with
args |
selected_file | an optional path to a |
selected_col | the color in which selected neurons (such as those
specified in |
yaml | a logical indicating that selections should be saved to disk in
|
... | extra arguments to pass to |
A character vector of names of any selected neurons, of length 0 if none selected.
# NOT RUN { # numeric idids, specifying db explicitly dpscan(c(1024L, 10616L, 8399L), db=kcs20) # using an option to set db op<-options(nat.default.neuronlist='kcs20') dpscan(c("fru-M-500112", "Gad1-F-900005", "Gad1-F-100010")) options(op) # }