Remove points from a neuron, keeping the root node intact
prune_distal(neuron, bad_vertex_labels, invert = FALSE, ...)
neuron | a neuron object |
---|---|
bad_vertex_labels | Nodes ids for removal |
invert | whether to keep vertices rather than dropping them (default FALSE) |
... | additional arguments passed to methods. |
A pruned neuron object