staggered {celltrackR} | R Documentation |
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 |
Details
This is a wrapper mainly designed to provide a convenient interface
for track-based staggered computations with lapply
, see example.
Value
Returns a function that computes the given measure in a staggered fashion on that track.
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
hist( sapply( TCells, staggered( displacement ) ) )