R/neuron.R
Resample an object with a new spacing
resample a neuron with a new spacing
resample(x, ...) # S3 method for neuron resample(x, stepsize, ...)
x | An object to resample |
---|---|
... | Additional arguments passed to methods |
stepsize | The new spacing along the tracing |
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.
approx
, seglengths
Other neuron: neuron
, ngraph
,
plot.dotprops
,
potential_synapses
, prune
,
rootpoints
, spine
,
subset.neuron