prune_in_volume | R Documentation |
Prune neuron(s) within a volume defined by a 3D mesh
prune_in_volume(x, surf, neuropil = NULL, invert = TRUE, ...)
## S3 method for class 'neuron'
prune_in_volume(x, surf, neuropil = NULL, invert = TRUE, ...)
## S3 method for class 'neuronlist'
prune_in_volume(x, surf, neuropil = NULL, invert = TRUE, ...)
x |
a |
surf |
An |
neuropil |
Character vector specifying a subset of the |
invert |
Logical when |
... |
Additional arguments for methods (eventually passed to
|
Prune a neuron to be within, or to exclude arbour within, a 3D object that can be coerced into the mesh3d data structure
A pruned neuron/neuronlist object
as.neuron.ngraph
, subset.neuron
,
prune.neuron
, prune
## Not run:
### Example requires the package nat.flybrains
LH_arbour = prune_in_volume(x = Cell07PNs, surf = nat.flybrains::IS2NP.surf,
neuropil = "LH_L", OmitFailures = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.