prune.catmaidneuron: Prune nodes from a catmaid neuron, keeping the synapses

prune.catmaidneuronR Documentation

Prune nodes from a catmaid neuron, keeping the synapses

Description

Prune nodes from a catmaid neuron, keeping the synapses

Usage

## S3 method for class 'catmaidneuron'
prune(x, target, maxdist, keep = c("near", "far"), return.indices = FALSE, ...)

Arguments

x

a neuron object

target

Nodes ids for removal

maxdist

The threshold distance for keeping points

keep

Whether to keep points in x that are near or far from the target

return.indices

Whether to return the indices that pass the test rather than the 3D object/points (default FALSE)

...

additional arguments passed to methods (i.e. prune).

Value

A pruned neuron object

See Also

prune


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