selectSteps: Get Single Steps Starting at a Specific Time from a Subset of Tracks
Description
Obtain all single steps starting at a given timepoint t from a subset of tracks of interest.
Usage
selectSteps(X, trackids, t)
Value
A tracks object is returned which contains all the extracted steps.
Arguments
X
Tracks object to obtain subtracks from
trackids
Character vector with the ids of tracks of interest
t
Timepoint at which the subtracks should start
See Also
subtracks to extract all subtracks of a given length,
prefixes to extract all subtracks of a given length starting
from the first coordinate in each track, subtracksByTime to
extract all subtracks of a given length starting at some fixed timepoint, and
timePoints to return all timepoints occurring in the dataset.
## Get and plot all steps starting at the third timepoint in tracks 1 and 3 of## the T cell datasetsubT <- selectSteps( TCells, c("1","5"), timePoints(TCells)[3] )
plot( subT )