Prune nodes from a catmaid neuron, keeping the synapses
# S3 method for 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