R/prune.R
prune_vertices.catmaidneuron.RdPrune nodes from a catmaid neuron, keeping the synapses
prune_vertices.catmaidneuron(x, verticestoprune, invert = FALSE, ...)
| 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
|
A pruned neuron object