R/neuronlist_interactive_3d.R
find.soma.Rd
Find neurons with soma inside 3D selection box (usually drawn in rgl window)
A select3d
style function to indicate if points
are within region
Names of neurons to search (defaults to all neurons in list)
neuronlist
to search. Can also be a character vector naming
the neuronlist. Defaults to options('nat.default.neuronlist')
.
Whether to return neurons outside the selection box (default
FALSE
)
What to return (character vector, default='names')
Character vector of names of selected neurons
Can work on neuronlist
s containing neuron
objects
or neuronlist
s whose attached data.frame contains soma
positions specified in columns called X,Y,Z .