Estimates the period, amp, and phase of a data.frame of time-series via fast Fourier transform (FFT). A model fit for the time-series is generated using the first 3 harmonics. The period, amp, and phase are computed based on the aggregate fit.

periodFinder(data)

Arguments

data

a data.frame of numeric gene expression over time (row = genes x col = ZT times).

Value

a data.frame of numeric period, amplitude, and phase estimates for each gene.

See also

  • getFFT for FFT calculation.

  • detrend for linear detrending of time-series prior to periodFinder processing.

  • movingAverageDF for smoothing of time-series prior to periodFinder processing.