Arguments
val1
matrix: data for values in first set. One column per
sample, one row per time point
val2
matrix: data for values in second set. One column per
sample, one row per time point
times1
vector: times of first set.
times2
vector: times of second set.
period
numeric: period of the oscillations. Same unit as the
time points in times1 and times2
norm
boolean: whether to normalize the time series (division by mean),
prior to the analysis.
verbose
boolean: verbosity.