View source: R/angle-functions.R
| stepPairs | R Documentation | 
Find cell indices and timepoints where these cells both have a step.
stepPairs(X, filter.steps = NULL)
| X | a tracks object | 
| filter.steps | optional: a function used to filter steps on. See examples. | 
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.
## 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 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.