prune_distal: Prune nodes from a neuron, keeping the root node

View source: R/prune.R

prune_distalR Documentation

Prune nodes from a neuron, keeping the root node

Description

Remove points from a neuron, keeping the root node intact

Usage

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

Arguments

neuron

a neuron object

bad_vertex_labels

node ids for removal

invert

whether to keep vertices rather than dropping them (default FALSE)

...

additional arguments passed to methods.

Value

A pruned neuron object


alexanderbates/catnat documentation built on Sept. 5, 2023, 4:51 a.m.