## Get all the single steps (i=1) starting at the third timepoint in the T cell tracks.
subT <- subtracksByTime( TCells, timePoints(TCells)[3], 1 )
## These all have the same number of steps:
sapply( subT, nrow )
## Or set i to NULL and return all subtracks within the five first timepoints:
subT2 <- subtracksByTime( TCells, NULL, i = NULL,
tlo = timePoints( TCells )[1], thi = timePoints( TCells )[5] )
## These are not all the same length:
sapply( subT2, nrow )
Run the code above in your browser using DataLab