R/neuronlist.R
as.neuronlist.RdMake a list of neurons that can be used for coordinate plotting/analysis
as.neuronlist(l, ...)
# S3 method for default
as.neuronlist(l, df = NULL, AddClassToNeurons = TRUE, ...)An existing list or a single neuron to start a list
Additional arguments passed to methods
the data.frame to attach with additional metadata.
Whether to ensure neurons have class neuron
(see details).
neuronlist with attr('df')
Note that as.neuronlist can cope with both neurons and
dotprops objects but AddClassToNeurons will only apply to
things that look like neurons but don't have a class of neuron.
See neuronlist details for more information.