Prune vertices from a neuprint neuron (taking care of synapse etc information)

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

Arguments

x

A neuron to prune. This can be any object that can be converted by as.ngraph --- see details.

verticestoprune

An integer vector describing which vertices to remove.

invert

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

...

Additional arguments passed to as.neuron.ngraph

See also