powered by
Find cell indices and timepoints where these cells both have a step.
stepPairs(X, filter.steps = NULL)
A dataframe with three columns: two for the indices of cellpairs that share a step, and one for the timepoint at which they do so.
a tracks object
optional: a function used to filter steps on. See examples.
## Find all pairs of steps in the T cell data that displace at least 2 microns. pairs <- stepPairs( TCells, filter.steps = function(t) displacement(t) > 2 )
Run the code above in your browser using DataLab