stepPairs: Find Pairs of Steps Occurring at the Same Time

View source: R/angle-functions.R

stepPairsR Documentation

Find Pairs of Steps Occurring at the Same Time

Description

Find cell indices and timepoints where these cells both have a step.

Usage

stepPairs(X, filter.steps = NULL)

Arguments

X

a tracks object

filter.steps

optional: a function used to filter steps on. See examples.

Value

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.

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 )


celltrackR documentation built on March 21, 2022, 5:06 p.m.