as.neuronlist: Make a list of neurons that can be used for coordinate...

Description Usage Arguments Details Value See Also

View source: R/neuronlist.R

Description

Make a list of neurons that can be used for coordinate plotting/analysis

Usage

1
2
3
4
as.neuronlist(l, ...)

## Default S3 method:
as.neuronlist(l, df = NULL, AddClassToNeurons = TRUE, ...)

Arguments

l

An existing list or a single neuron to start a list

...

Additional arguments passed to methods

df

the data.frame to attach with additional metadata.

AddClassToNeurons

Whether to ensure neurons have class neuron (see details).

Details

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.

Value

neuronlist with attr('df')

See Also

is.neuronlist,is.neuron,is.dotprops


jefferis/nat documentation built on Aug. 26, 2018, 12:13 p.m.