Learn R Programming

MotilityLab (version 0.2-5)

staggered: Staggered Version of a Function

Description

Returns the "staggered" version of a track measure. That is, instead of computing the measure on the whole track, the measure is averaged over all subtracks (of any length) of the track.

Usage

staggered(measure, ...)

Arguments

measure
a track measure (see TrackMeasures).
...
further parameters passed on to applyStaggered.

Value

Returns a function that computes the given measure in a staggered fashion on that track.

Details

This is a wrapper mainly designed to provide a convenient interface for track-based staggered computations with lapply, see example.

References

Zeinab Mokhtari, Franziska Mech, Carolin Zitzmann, Mike Hasenberg, Matthias Gunzer and Marc Thilo Figge (2013), Automated Characterization and Parameter--Free Classification of Cell Tracks Based on Local Migration Behavior. PLoS ONE 8(12), e80808. doi:10.1371/journal.pone.0080808

Examples

Run this code
hist( sapply( TCells, staggered( displacement ) ) )

Run the code above in your browser using DataLab