Prune nodes from a catmaid neuron, keeping the synapses

prune_vertices.catmaidneuron(x, verticestoprune, invert = FALSE, ...)

Arguments

x

a CATMAID neuron object

verticestoprune

An integer vector describing which vertices to remove.

invert

Whether to keep vertices rather than dropping them (default FALSE).

...

additional arguments passed to methods prune_vertices).

Value

A pruned neuron object

See also