Remove points from a neuron, keeping the root node intact

prune_distal(neuron, bad_vertex_labels, invert = FALSE, ...)

Arguments

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.

Value

A pruned neuron object