selectSteps | R Documentation |
Obtain all single steps starting at a given timepoint t from a subset of tracks of interest.
selectSteps(X, trackids, t)
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 |
A tracks object is returned which contains all the extracted steps.
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 dataset
subT <- selectSteps( TCells, c("1","5"), timePoints(TCells)[3] )
plot( subT )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.