resample: Resample an object with a new spacing

Description Usage Arguments Details See Also

View source: R/neuron.R

Description

Resample an object with a new spacing

resample a neuron with a new spacing

Usage

1
2
3
4
resample(x, ...)

## S3 method for class 'neuron'
resample(x, stepsize, ...)

Arguments

x

An object to resample

...

Additional arguments passed to methods

stepsize

The new spacing along the tracing

Details

resample.neuron Floating point columns including X,Y,Z,W will be interpolated using linear interpolation, while integer or factor columns will be interpolated using constant interpolation. See approx for details.

See Also

approx, seglengths

Other neuron: neuron, ngraph, plot.dotprops, potential_synapses, prune, rootpoints, spine, subset.neuron


jefferis/nat documentation built on Oct. 25, 2018, 6:29 p.m.