R/neuronlist_interactive_3d.R
find.soma.RdFind neurons with soma inside 3D selection box (usually drawn in rgl window)
find.soma(sel3dfun = select3d(), indices = names(db), db = getOption("nat.default.neuronlist"), invert = FALSE, rval = c("names", "neuronlist", "data.frame"))
| sel3dfun | A |
|---|---|
| indices | Names of neurons to search (defaults to all neurons in list) |
| db |
|
| invert | Whether to return neurons outside the selection box (default
|
| rval | What to return (character vector, default='names') |
Character vector of names of selected neurons
Can work on neuronlists containing neuron objects
or neuronlists whose attached data.frame contains soma
positions specified in columns called X,Y,Z .
select3d, subset.neuronlist, find.neuron