selectTracks | R Documentation |
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.
selectTracks(x, measure, lower, upper)
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. |
A tracks
object with the selected subset of tracks.
## Slower half of T cells
slow.tcells <- selectTracks( TCells, speed, -Inf, median( sapply(TCells,speed) ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.