splitTraj: Identify Breakpoints in a Trajectory

Description Usage Arguments Details Value Author(s) References Examples

Description

splitTraj determines the breakpoints to split a given trajectory into a user specified number of segments. This analysis is performed for very long series (more than 20,000 time points) in order to avoid any memory allocation problems in R. Alternatively, it can be used for manual splitting of the series (see transformSeries with method="override_splitting")

Usage

1
splitTraj(object, segsplits = rep(5,length(object@filenames)))

Arguments

object

An object of class "Trajectories".

segsplits

Numeric vector. The number of breakpoints. The length of segsplits must equal the number of trajectory series in the Trajectories object. Each value specifies the number of splits we want to impose in our long series in order to make it shorter.

Details

The output of the function is the estimated points that split the series into smaller sub-series. Typically, the plotted series and the estimated splits are further inspected using plots.

Value

A numeric list of length equal to number of trajectory series, containing the breakpoints for each series.

Author(s)

Diana H.P. Low, Efthimios Motakis

References

None

Examples

1
2

Bioconductor-mirror/deltaGseg documentation built on June 1, 2017, 7:33 a.m.