resample: Resample an object with a new spacing

View source: R/neuron.R

resampleR Documentation

Resample an object with a new spacing

Description

Resample an object with a new spacing

resample a neuron with a new spacing

Usage

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.neuron(), potential_synapses(), prune(), rootpoints(), spine(), subset.neuron()


nat documentation built on May 29, 2024, 10:36 a.m.