getPersistence: Computes Persistence Scores For a Single Time-Series Across a...

Description Usage Arguments Value References See Also

View source: R/getPersistence.R

Description

Takes a vector of numeric gene expression over time and computes the persistence score. The specified lag is used to transform the expression into a 3-D embedded space via time-delay embedding. A non-linear dimension reduction technique (laplacian eigenmaps) is used to transfrom the 3-D embedding to a 2-D embedding. Finally, the persistence score of the 2-D embedding is calculated via persistence homology. Returns the Max persistence score, returns 0 if no persistence score exists. For more details see TimeCycle's vignette: vignette("TimeCycle").

Usage

1
getPersistence(timeSeries, lag, laplacian = T)

Arguments

timeSeries

a vector of numeric time-series expression values.

lag

a numeric specifying the Lag to use for in the 3-D time delayed embedding.

laplacian

a logical scalar. Should the Laplacian Eigenmaps be used for dimensionality reduction? Default TRUE.

Value

the max persistence score at the specified lag, returns 0 if no persistence score exists.

References

See Also


nesscoder/TimeCycle documentation built on June 29, 2021, 5:16 a.m.