sort.tracks {celltrackR} | R Documentation |
Sort Track Positions by Time
Description
Sorts the positions in each track in a tracks object by time.
Usage
## S3 method for class 'tracks'
sort(x, decreasing = FALSE, ...)
Arguments
x |
the tracks object whose tracks are to be sorted by time. |
decreasing |
logical. Should the sort be increasing or decreasing? Provided only for consistency with the generic sort method. The positions in each track should be sorted in increasing time order. |
... |
further arguments to be passed on to |
Details
Sorts the positions of each track (represented as a data frame) in the tracks object by time (given in the column t).
Value
A tracks object that contains the tracks from the input object sorted by time is returned.
[Package celltrackR version 1.2.0 Index]