prune.catmaidneuron | R Documentation |
Prune nodes from a catmaid neuron, keeping the synapses
## S3 method for class 'catmaidneuron'
prune(x, target, maxdist, keep = c("near", "far"), return.indices = FALSE, ...)
x |
a neuron object |
target |
Nodes ids for removal |
maxdist |
The threshold distance for keeping points |
keep |
Whether to keep points in x that are near or far from the target |
return.indices |
Whether to return the indices that pass the test rather than the 3D object/points (default FALSE) |
... |
additional arguments passed to methods (i.e.
|
A pruned neuron object
prune
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.