selectTracks: Select Tracks by Measure Values

Description Usage Arguments Examples

Description

Given a tracks object, extract a subset based on upper and lower bounds of a certain measure. For instance, extract all tracks with a certain minimum length.

Usage

1
selectTracks(x, measure, lower, upper)

Arguments

x

the input tracks.

measure

measure on which the selection is based (see TrackMeasures).

lower

specifies the lower bound (inclusive) of the allowable measure.

upper

specifies the upper bound (inclusive) of the allowable measure.

Examples

1
2
## Slower half of T cells
slow.tcells <- selectTracks( TCells, speed, -Inf, median( sapply(TCells,speed) ) )

MotilityLab documentation built on May 2, 2019, 4:59 p.m.