Open access peer-reviewed chapter

Quantification of Irregular Rhythms in Chronobiology: A Time- Series Perspective

By Ruben Fossion, Ana Leonor Rivera, Juan C. Toledo-Roy and Maia Angelova

Submitted: November 14th 2017Reviewed: February 1st 2018Published: July 4th 2018

DOI: 10.5772/intechopen.74742

Downloaded: 329

Abstract

In optimal conditions of youth and health, most—if not all—physiological systems obey regular circadian rhythms in response to the periodic day-night cycle and can be well described by standard techniques such as cosinor analysis. Adverse conditions can disturb the regularity and amplitude of circadian cycles, and, recently, there is interest in the field of chronobiology to quantify irregularities in the circadian rhythm as a means to track underlying pathologies. Alterations in physiological rhythms over a wide range of frequency scales may give additional information on health conditions but are often not considered in traditional analyses. Wavelets have been introduced to decompose physiological time series in components of different frequencies and can quantify irregular patterns, but the results may depend on the choice of the mother wavelet basis which is arbitrary. An alternative approach are recent data-adaptive time-series decomposition techniques, such as singular spectrum analysis (SSA), where the basis functions are generated by the data itself and are user-independent. In the present contribution, we compare wavelets and SSA analysis for the quantification of irregular rhythms at different frequency scales and discuss their respective advantages and disadvantages for application in chronobiology.

Keywords

  • singular spectrum analysis
  • SSA
  • wavelets
  • spectral analysis
  • Fourier analysis
  • data-adaptive
  • model-free

1. Introduction

Circadian rhythms are physical, mental and behavioral variations that follow an approximately 24-hour cycle in response to the periodic alternation between day and night. In the last few decades, it has become well established that most—if not all—physiological systems exhibit these regular circadian rhythms, and it has been discovered that they are largely controlled by a central clock and several peripheral oscillators [1]. More recently, it has been observed that adverse conditions, such as “healthy” and pathological aging, illness, stress and medication use, can disturb the regularity and amplitude of the circadian rhythm. Consequently, the focus in the field of chronobiology is shifting from a description of periodic cycles to the quantification of irregularities and the study of the mechanisms underpinning their disruption and normalization [2, 3, 4, 5].

The traditional method to analyze circadian rhythms is cosinor analysis, which quantifies the circadian 24 h cycle, and/or other specific infra- or ultradian periodic cycles, by means of examining the degree of “fit” between the experimental data and a user-defined model consisting of a superposition of cosine functions [6, 7] and allows to calculate the circadian parameters of mesor, amplitude, period and acrophase [8]. However, data where the patterns are irregular, or where the statistical properties vary over time (nonstationary time series), such as having a dominant trend [9, 10, 11], or time-varying amplitudes, frequencies or phases [12, 13, 14, 15], are much harder or impossible to describe using models based on these periodic functions. Recently, more specialized techniques have been developed to study circadian rhythms; in particular, wavelets have been applied to study the irregular aspects of circadian rhythms [13, 14, 15]. Wavelets however are, as with cosinor analysis, model-based in the sense that the results obtained may depend on the particular wavelet basis functions (mother wavelet) selected by the user. Between the most recent developments in the field of time-series analysis are data-adaptive decomposition techniques such as singular spectrum analysis (SSA) [16, 17, 18, 19, 20], empirical mode decomposition (EMD) [21, 22] and nonlinear mode decomposition (NMD) [23, 24]. The basic idea of these data-adaptive techniques is to decompose a time series as a sum of modes that describe separately non-oscillating trend, (quasi-)periodic components and high-frequency noise. These techniques are nonparametric because, in contrast to the classical Fourier decomposition, the modes are not model dependent and do not need to be periodic sine or cosine functions. Instead, the modes are derived from the data itself, and they are not limited to a single time scale or a limited range of scales, but describe the data at all scales present. Recently, we applied SSA to quantify irregular rhythms in actigraphy data in the case of persons that suffer from acute insomnia [25], and SSA was applied as well to study irregular patterns in neural and locomotor activity in hamsters [26], but apart from these studies, data-adaptive time-series methods have not been applied in chronobiology. The lack of accessible specialized software to carry out data-adaptive time-series analysis may be one of the reasons that these techniques, to date, have not been applied to circadian rhythm research; fortunately, several open-source implementations have recently become available in multiple platforms such as Mathematica, MATLAB, R, Python, and so on, for SSA [27, 28, 29, 30], EMD [31, 32, 33, 34] and NMD [35].

Another disadvantage of the cosinor method is that it is unable to measure rhythm fragmentation [2, 36, 37]. In actigraphy, rhythm fragmentation was originally defined as the deterioration of the regular circadian rhythm by the occurrence of daytime naps and/or nocturnal activity episodes. On the other hand, spontaneous moment-to-moment fluctuations are a characteristic property of actigraphy time series in particular and of physiological variables in general, and a moderate level of rhythm fragmentation may be indicative of a healthy physiological capacity to respond to random and unforeseen events at multiple time scales. Spectral analysis and other time-series decomposition techniques are ideal tools to study such rhythm fragmentation in actigraphy and other physiological data because they quantify the relative contribution of different time-series components at different time scales to the total variance of the experimental data [25]. A 1/ffractal power law may be an indication of such an optimal level of rhythm fragmentation, because it has been observed empirically over a wide range of ultradian time scales in heart rate time series and actigraphy, whereas adverse conditions such as aging [38], cardiovascular disease [39], dementia [40, 41, 42] and insomnia [25, 43] have been found to correlate with deviations of this power law.

The purpose of the present contribution is to illustrate how Fourier-based spectral analysis, wavelets and data-adaptive methods describe irregular circadian rhythms and rhythm fragmentation. Of the data-adaptive methods mentioned, in the present work, we prefer SSA because of its closeness to standard Fourier analysis and the availability of graphical tools such as the scree diagram that can be interpreted as a generalization of the well-known Fourier power spectrum. We will illustrate the advantages and disadvantages of these methods using selected 2-week continuous actigraphy time series for three nonsymptomatic control subjects of the public database of Ref. [43] (see Figure 1). These actigraphy time series show the number of movements per minute for a total duration of 20,160 minutes (7×24h). The time series were chosen upon visual inspection: subject A is a young female adult (23 years old) with a regular circadian rhythm, subject B is a young male adult (22 years old) with an irregular circadian rhythm and subject C is an older male adult (82 years old) with a regular circadian rhythm.

Figure 1.

Two-week continuous actigraphy time series of number of movements per minute for (a) young female adult A (23 years old) with regular circadian cycle, (b) young male adult B (22 years old) with irregular circadian cycle (c) older male adult C (82 years old) with regular circadian cycle. All subjects are asymptomatic controls. Vertical gridlines indicate midnight. Also shown are estimations using cosinor analysis of the circadian 24-h cycle (continuous curve) around a constant mesor (broken line) (see Eq. (2)). All time series have a length of N = 20160 data points (corresponding to 7 × 24 h) (data from the public database of Ref. [43]).

2. Cosinor analysis

The traditional method to study the periodic aspects of circadian rhythms is cosinor analysis [6, 7]. The cosinor approach is based on regression techniques and is applicable to equidistant or non-equidistant time series xnof Ndiscrete data points:

xn=x1x2xN.E1

The procedure consists of fitting a continuous periodic function ytto time series xn:

yt=M+Acos2πt/T+ϕE2

where Mis the average value or mesor around which the function oscillates, Tis the period, Ais the amplitude and ϕis the phase which defines the value at which the function begins at the start of the monitoring at t=0. By taking into account trigonometric rules, the cosinor function of Eq. (2) can be rewritten as yt=M+Bcos2πt/T+Csin2πt/T, where Band Care amplitudes and where the phase is given implicitly by the superposition of the sine and cosine functions. Function ytis fitted to the data by minimizing the summed square residual errors en2=xnyn2for all data points n=1,2,,N, and the value of period Tfor which the amplitude Amaximizes can be considered to be the circadian period (see Figure 2). For organisms exposed to the natural day-and-night cycle, this period can be expected to be T24h = 1440 min. Once chosen period T, the other circadian parameters M,Aand ϕare determined as well [8]. Phase ϕdoes not give any physiological information on the monitored individual, because time series may start at an arbitrary time of the day. Instead, a more interesting variable is the acrophase ϕ0, which can be defined as the time of the day when the circadian cycle obtains its maximum, with respect to a fixed moment in time which is the same for all subjects, e.g. taking midnight as a reference, and which can be expressed as hours and minutes (hh:mm), or alternatively, as an angle (, taking into account the relation 360=24h), relative to this reference time. The fitted function may be generalized to include more than one period, yt=M+kAkcos2πt/Tk+ϕk, where the sum usually runs over a small number kof different periods. In the present case, Figure 2 shows many ultradian (T<1440min) and infradian periods (T>1440min) that have nonzero amplitudes, but in the present case, there are no other periods than the circadian period T24h that are clearly distinguishable from the neighboring values to warrant their inclusion in the model function yt. An important result in cosinor analysis is the coefficient of determination R2, which compares the variance of the residual errors enaround the fitted model yto the variance of the time series xnaround its average value:

R2=1VareVarxE3
=1n=1Nxnyn2n=1Nxnmeanx2,E4

such that R2is a measure for the fraction of the variance of the time series that can be explained by model yt.

Figure 2.

Regression analysis of Eq. (2) to the time series of subjects A, B and C of Figure 1. Period T is varied from 1 to 2000 min, and amplitude A (shaded curve), mesor M (black line) and phase ϕ (gray curve) are plotted as a function of T . Local maxima near T = 24 h = 1440 min are indicated with a vertical line and are located at T = 1430 min (subject A), T = 1438 min (subject B) and T = 1440 min (subject C).

Results for the circadian parameters of the cosinor model function y(t) of Eq. (2) for subjects A, B and C are presented in Figure 1. In the present of one single period T, function ytis periodic, and mesor Mand amplitude Aare constant and capture the average properties of the time series without the possibility to describe day-to-day variability. If T1440min, such as for subject C, also acrophase ϕ0is constant, and there is no variability for ϕ0. If, on the other hand, T1440min, there is a day-to-day phase advance (T<1440min) or phase delay (T>1440min), respectively, as is the case for subjects A and B, and one can calculate an average value and variability measures for ϕ0.

CosinorFourier filterDWTSSA
ABCABCABCABC
Mean (M)(1/min)222.39182.81104.77222.3181.9104.7222.3181.9104.7227.8181.8106.2
Mean (T)(min)1430143814401409.71444.31428.11409.31446.71433.31421.41396.11431.7
Mean (A)(1/min)154.88113.66109.14174.7145.4112.9151.4142.0108.3165.2137.5112.1
Mean (ϕ0)()230.75240.75198.75229.3217.0198.6218.9210.9200.1226.3220.6199.9
Mean (ϕ0)(hh:mm)15:2316:0313:1515:1714:2813:1414:3614:0413:2015:0514:4213:20
SD (M)(1/min)0.81.30.439.349.015.4
SD (T)(min)116.4261.978.0127.9326.572.5105.8190.060.2
SD (A)(1/min)108.087.735.535.946.914.853.959.817.9
SD (ϕ0)()10.462.09030.972.515.136.668.813.727.873.211.1
SD (ϕ0)(hh:mm)00:4200:0800:0002:0404:5001:002:2604:3500:5501:5104:5300:44
R20.1120.0580.2070.1930.1410.2380.1740.1290.2300.2020.1610.241

Table 1.

Circadian parameters mesor M, circadian period T, amplitude Aand acrophase ϕ0for subjects A, B and C according to cosinor analysis, Fourier filter, discrete wavelet transform (DWT) using the Daubechies [4] mother wavelet and singular spectrum analysis (SSA) with parameter L=1440. Presented are average values (mean), standard deviation (SD) and the coefficient of determination R2.

3. Fourier spectral analysis

Fourier spectral analysis makes the supposition that the fluctuations of time series xnwith n=1,2,,Nmay be interpreted as the superposition of κmax=N/2independent harmonic oscillators, where 2π/Tκmaxis the Nyquist frequency and where each harmonic oscillator corresponds to a periodic function (see Ref. [44]):

yt=κ=1κmaxAκcos2πt/Tκ+ϕκE5
=κ=1κmaxBκcos2πt/Tκ+Cκsin2πt/Tκ,E6

which establishes a link between the time domain tand the frequency domain fκ=2πt/Tκ. Here, the first term κ=1corresponds to f=0or T=and is the direct current (DC) term around which the other terms κ>1oscillate and may be interpreted as the equivalent of the mesor Mof cosinor analysis. One of the most important results of Fourier spectral analysis is the power spectrum, which gives the power Pfκas a function of frequency fκ. The variance of time series xis given by

Varx=1Nn=1Nxnmeanx2,E7

and Parseval’s theorem establishes that the variance in the time domain is identical to the variance of the oscillations of all components around the DC term in the frequency domain, i.e.

Varx=1N1κ=2κmaxPfκ,E8

which allows us to interpret the power Pfκof the component with frequency fκas a partial variance, and we can focus our attention to the components that concentrate most of the variance of the time series x.

Results from the Fourier spectral analysis of subjects A, B and C are shown in Figure 3. The variance of the time series is Var(A) = 107,417, Var(B) = 110,405 and Var(C) = 28,725. Power spectra Pfas a function of frequency in linear scale show for all subjects a dominant peak at the circadian frequency of f14oscillations during the 2-week duration of the time series. Apart from the circadian frequency, for subject C, only discrete peaks at higher harmonics are visible, whereas for subject A, many low-frequency components are present, which are even more predominant in the case of subject C. logarithmic scale allows to focus not on the dominant peaks but on the continuum of spectral contributions at a wide range of frequency scales, which for subjects A and B show an approximate 1/fβscaling with spectral exponent β1and which for subject C appears to be truncated at about f=102oscillations, below which the power spectrum flattens out. A drawback of the power spectrum representation Pfas a function of fis that it has a lot of dispersion because of which it may be difficult to make an accurate estimate of the value of the spectral exponent β. The power spectrum Pfcan be re-ordered in the shape of a so-called scree diagram or Zipf-type plot Pk, where the partial variances have been ordered from the most to the least dominant. The advantage of scree diagrams Pkis that much less dispersion is present, such that power laws 1/kγcan be more easily determined, and scaling properties are conserved between both representations, i.e. β=γ. The disadvantage is that the exact frequency ordering is lost: low-frequency oscillations tend to cluster to the high-magnitude side of the scree diagram and high-frequency oscillations to the low-magnitude noisy tail, but not all components follow this tendency. Scree diagrams for subjects A, B and C are compared in Figure 4. In absolute values (panel a), partial variances of time-series components are comparable for subjects A and B at all scales, whereas those for subject C are smaller. In relative values (panel b), on the one hand, subject C has a larger and subject B a smaller contribution of the circadian cycle in comparison with subject A, but on the other hand, subject C has less and subject B more rhythm fragmentation over a wide range of ultradian frequency scales. Overall, ultradian components appear to scale according to a 1/fpower law (γ1) for subject A, whereas this power law appears to be slightly broken below k=102for subjects B and C. Fourier spectral analysis (Eq. (5)) allows to filter the spectral components of time series. Coefficients of unwanted spectral contributions can be put zero, Aκ=0,or Bκ=Cκ=0, for selected κ, to construct a low-pass, high-pass, bandpass or band-stop filter. Figure 5 shows results for a bandpass filter applied to the time series of subjects A, B and C where arbitrary limiting frequencies fmin=1and fmax=20were chosen (to include frequencies above a period of 12 h to obtain a circadian cycle with a single maximum per day). The resulting circadian fit describes variability in time and in amplitude, and corresponding circadian parameters are listed in Table 1.

Figure 3.

Fourier spectral analysis for subjects A, B and C. Power spectrum P f as a function of frequency f in linear scale where the DC term has been omitted for reasons of visibility (left-hand column), logarithmic scale (middle column) and as a scree diagram P k ordered according to magnitude in logarithmic scale (right-hand column). Frequency units are the number of oscillations during the whole duration of the time series.

Figure 4.

Comparison of the Fourier scree diagrams P k for subjects A (green), B (blue) and C (orange), using (a) absolute values and (b) relative values where the total variance of all time series has been normalized Var( x ) = 1.

Figure 5.

Filtered time series of subjects A, B and C of Figure 1 using a Fourier filter between frequencies f min = 1 and f max = 20 in units of the number of oscillations for the whole duration of the time series of 2 weeks.

4. Wavelet analysis

4.1. Continuous wavelet transform (CWT)

The basic idea of wavelets is to decompose a time series in terms of a time-frequency set of orthonormal functions [45]. The continuous wavelet transform (CWT), also called analytic wavelet transform (AWT), is a measure of similarity (in the sense of similar frequency content) between a basis wavelet function Ψt, called “mother wavelet”, and the signal xnitself. The resulting CWT depends on Ψ(see Figure 6 for a representation of some popular mother wavelets), but an appropriate choice of basis functions allows to analyze nonstationary time series. The Morlet mother wavelet has been suggested to be one of the most adequate bases for spectral studies [23, 24]. To evaluate CWT, the mother wavelet is translated to be centred at tand scaled by a factor s:

Wts=Ψutsxudu,E9

where the asterisk denotes the complex conjugate, and the result is the scalogram Wts, which represents at each time tthe instantaneous period T(represented by scale s) and the instantaneous intensity or power Wof the signal [14]. At high frequencies, CWT has a good scale resolution but a poor frequency resolution, while at low frequencies, the frequency resolution is improved but time resolution is lost. One of the most important properties of a scalogram is the so-called ridge, which corresponds with the dominant behavior of the time series and in the present case can be expected to be the circadian rhythm. The extraction of the time-series component corresponding to the ridge can be not obvious, in particular when there are multiple ridges, and is the topic of the data-adaptive method of nonlinear mode decomposition (NMD) [23, 24]. The present discussion of CWT will be limited to the scalograms.

Figure 6.

Mother wavelet basis functions, for use with CWT, are (a) Morlet, (b) DGaussian, (c) Gabor, (d) Mexican hat and (e) Paul and with DWT are (f) Haar, (g) Daubechies [4] and (h) BiorthogonalSpline [3, 5]. Basis functions can be real (continuous curve), or complex, in which case the real part (continuous curve) and the imaginary part (dashed curve) are plotted separately.

The left-hand panels of Figure 7 show the scalograms of the time series of subjects A, B and C using the Morlet mother wavelet. In the three cases, there is a high-intensity ridge near T1440min, but the intensity and the instantaneous value of Tvary in time, reflecting the time and amplitude variability of the circadian rhythm. At ultradian frequencies, T<1440min, there are fringes of higher and lower intensities that alternate, reflecting day and night with high and low activities, respectively. The scalogram of subject C contains only a circadian ridge and fringes, whereas the scalogram of subject B shows a wide variety of competing and simultaneous features, and the scalogram of subject A is in between both the extremes. The right-hand panels show the average behavior of the scalograms over time, corresponding to a projection of the intensity values Wtson the period axis, which are similar to the Fourier spectral analysis of Figure 4. For the three subjects, one can appreciate the dominant power of the circadian period of T1440min and the 1/fscaling behavior at ultradian time scales. In absolute values, all scales have less power for subject C than for subjects A and B, but in relative values, the circadian cycle contributes much more for subject C than for the other subjects. Finally, to illustrate how CWT analysis depends on the wavelet basis, Figure 8 shows scalograms for the time series of subject A for other choices of the mother wavelet.

Figure 7.

CWT analysis of time series of subjects A, B and C of Figure 1 using a Morlet mother wavelet. Scalograms are presented in (a)-(c), where vertical gridlines indicate midnight. Power spectra (time-averaged projections on the period axis) are presented in (d) in absolute values and in (e) in relative values (unit variance).

Figure 8.

CWT analysis of time series of subject A of Figure 1 using different mother wavelets: (a) Gaussian, (b) Gabor, (c) Mexican hat and (d) Paul. Vertical gridlines at midnight.

4.2. Discrete wavelet transform (DWT)

The discrete wavelet transform (DWT) starts with the partitioning of the signal into an approximation (smooth) and a detailed part, which both together yield the original signal itself. This subdivision is such that the approximation signal contains the low frequencies, whereas the detailed signal collects the remaining high frequencies. By repeatedly applying this subdivision rule to the approximation part, the details of increasingly finer resolution are then progressively separated out, while the approximation itself grows coarser and coarser. This procedure in effect offers a good time resolution at high frequencies and good frequency resolution at low frequencies, since it progressively halves the time resolution of the signal [14, 46]. The result of the DWT decomposition may depend on the wavelet basis chosen (see Figure 6 for an example of some popular mother wavelets), and the results may depend also on the number of scales into which the time series is decomposed. Ref. [15] suggests to use the Daubechies (4) mother wavelet for application of DWT to actigraphy data because of the discontinuous character of these time series.

Figure 9 shows the decomposition of the time series of subject A with DWT using a Daubechies (4) mother wavelet and a maximum number of scales, log2N=log2N14. The decomposition of the time series of the other subjects B and C is similar to the example shown for subject A. Visual inspection of the decomposition allows to identify the 10th scale, which oscillations about once every 24 h, as the circadian cycle. Figure 10 shows the circadian fit for subjects A, B and C. It can be appreciated that the fit reflects the variability in time and in amplitude of the time series. Corresponding circadian parameters are listed in Table 1. Figure 11 compares the partial variance carried by all 14 scales for the three subjects. It can be seen that both subject A and C present dominant circadian rhythms, whereas subject B is characterized by a large rhythm fragmentation at ultradian scales. Finally, Table 2 shows coefficients of determination R2for circadian fits for different choices of the DWT mother wavelet. Of all choices tried, Daubechies (4) appears to maximize the coefficient of determination R2.

Figure 9.

DWT time-series components for subject A using Daubechies [4] mother wavelets. Log 2 (dim) ≈ 14 scales have been used in the decomposition, and components are ordered from smallest (scale 1) to largest (scale 14). Components are shown with a common time axis (left-hand column). The 10th scale oscillates approximately once every 24 h and can be identified as the circadian cycle, whereas the smaller scales (1–9) correspond to ultradian rhythms and the larger scales (11–14) to infradian rhythms. The last component, without order number, is the residual after all wavelet components (scales 1–14) have been subtracted and can be interpreted as the mesor.

Figure 10.

Estimation of the circadian cycle for subjects A, B and C according to the DWT analysis with Daubechies [4] mother wavelets, using the 10th of 14 scales. Vertical gridlines at midnight.

Figure 11.

Partial variance (%) carried by the scales 1–14 of the DWT analysis for subjects A, B and C, using Daubechies [4] mother wavelets. The last (largest) partial variance corresponds to the residual after all wavelet components have been subtracted of the time series.

DWTABC
Haar0.1540.1010.205
Daubechies (1)0.1540.1010.205
Daubechies (2)0.1790.1320.220
Daubechies (4)0.1740.1290.230
Daubechies (6)0.1430.1040.223
BiorthogonalSpline (1,3)0.1580.1030.212
BiorthogonalSpline (2,2)0.0950.0460.185
BiorthogonalSpline (2,6)0.1060.0570.194
BiorthogonalSpline (3,5)0.1500.0960.201
BattleLemarie (2)0.1190.0450.195
BattleLemarie (3)0.1270.0750.212
BattleLemarie (4)0.1520.1030.222
BattleLemarie (15)0.1280.0790.210

Table 2.

Coefficient of determination R2according to DWT analysis using different types of mother wavelet. As suggested in Ref. [15], the Daubechies (4) basis is the most adequate to describe circadian cycles in actigraphy data, and the values given here are the same as listed in Table 1.

5. Singular spectrum analysis (SSA)

SSA has been discussed in detail in a number of textbooks [16, 17, 18]; a short and very accessible introduction can be found in Ref. [19], whereas a larger and very complete review article is in Ref. [20]. We have discussed the SSA method previously in Ref. [25]. In brief, SSA can be explained as a three-step process: (i) the time series is transformed into a matrix which represents the underlying phase space of the time series, (ii) singular value decomposition (SVD) is applied to decompose this matrix as a sum of elementary matrices or—equivalently—to decompose the original phase space in a superposition of “subphase spaces” and (iii) each of the elementary matrices or “subphase spaces” is transformed back into a time-series component. Unlike Fourier analysis which expresses a time series as a sum of predefined sine and cosine functions, SSA can be considered to be data-adaptive or model-independent because the basis functions are generated from the data itself. It can be shown that the sum of all time-series components is identical to the original time series. Below, a summary is given of the most important outcomes of SSA analysis. When applying SSA to a discrete time series xnwith length n=1,,N(see Eq. (1)), a particular window length Lmust be chosen as an initial parameter, with 2LN/2, which allows to fix the number of components rinto which the time series will be decomposed:

xn=k=1rσkgkn,E10

where gknis the time-series component, σkis the singular value that serves as weights for the components and rminKLwith K=NL+1. Only (quasi-)periodicities with average length TLwill be resolved into separate time-series components, whereas those with lengths T>Lwill be absorbed in the trend component. One can chose Las a multiple of the (average) periodicity of the data, i.e. L=mT, where mis an integer number. In the case of circadian data, the obvious choice would be L=T=24h = 1140 min. It can be shown that in the limit for LN/2, SSA converges to Fourier spectral analysis [20], where a time series is always decomposed as the superposition of N/2-independent oscillators (Nyquist theorem). Whereas the Fourier power spectrum of a quasiperiodic time series with average period Twould correspond to a broad Gaussian peak around the central frequency f=1/T, intuitively, it can be understood that for an adequate choice of the parameter Lthe neighboring Fourier components of this broad Gaussian peak can be “compressed” within a single SSA component. One of the main results of SSA analysis is the so-called scree diagram that visually represents the partial variances λk=σk2, ordered according to magnitude from the most to the least dominant, where λkcan be interpreted as the variance of the “subphase space” of time-series component gknand where λtot=k=1rλkis the total variance of the phase space of the original time series xn. The dominant partial variance λ1, associated with component g1n, usually corresponds to the trend. Dominant periodicities can be recognized as “steps” in the scree diagram, i.e. two successive partial variances λkand λk+1that are nearly degenerated and clearly distinguishable from the neighboring partial variances, where the corresponding components gknand gk+1nare the Fourier equivalents of a sine and cosine function with the same frequency. Higher-order partial variances λktend to have values that decrease gradually and continuously with k, indicating that at these scales it is impossible to distinguish any individual time-series components gknthat separately can be assigned physical significance.

Figure 12 shows some details of the decomposition of the time series of subject A. In the scree diagram, a trend mode g1t, a mode g2t+g3twhich we will identify as the circadian (24 h) cycle and a mode g4t+g5twhich we will identify as an ultradian (12 h) cycle, can be distinguished with distinctive partial variances, and there is a long tail with components with similar partial variances that appear to obey a power law 1/kγwith γ1. The weighted correlation matrix shows that the trend mode and the circadian mode are uncorrelated from the higher-order modes, but the 12-h mode does seem to have non-neglectable correlations with other components. The waveforms of before-mentioned modes confirm that they correspond to the trend, the circadian rhythm and a 12-h ultradian mode. Figure 13 shows the average correlation of the circadian mode with other SSA components, and broad minima can be observed for Lbeing equal or a multiple of the circadian periodicity, L=m×1440min. The more regular the circadian rhythm, the less correlated it is with the other time-series components and the better it can be isolated. Figure 14 shows the circadian fit with SSA for subjects A, B and C using L=1140min, and it can be appreciated that it describes the variability in time and amplitude of the time series. Corresponding circadian parameters are listed in Table 1. Figure 15 compares the scree diagrams for subjects A, B and C and is similar to Figures 4 and 7(d-e). In absolute values, it shows that time series of subjects A and B have comparable variances, which are much larger than the variance of the time series of subject C. In relative values, it shows that subject C has the strongest circadian rhythm and subject B the weakest. At the highest ultradian frequencies (101.5k103.0), all subjects show a very similar behavior with a 1/fscaling. At the lowest ultradian frequencies (100.5k101.5), 1/fscaling continues for subject A, whereas rhythm fragmentation is increased for subject B and decreased for subject C.

Figure 12.

SSA analysis of time series of subject A of Figure 1. Shown are (a) the scree diagram of partial variances λ k , (b) the matrix of weighted correlations between the first 20 time-series components g k t and g l t with k , l = 1 , … , 20 and (c) the first five time-series components g k t with k = 1 , … , 5 , of which g 1 t is the trend component, g 2 t + g 3 t is the circadian rhythm and g 4 t + g 5 t is the 12 h ultradian rhythm.

Figure 13.

Average correlation the circadian mode g 2 t + g 3 t with the neighboring components g 1 t , g 4 t , … g 20 t as a function of parameter L for subjects. Average correlation is lower for subject C (orange curve) than for subject A (green curve), which is lower than for subject B (blue curve). Gridlines indicate multiples of the 24-h period, 1440 and 2880 min.

Figure 14.

Estimation of the circadian cycle of subjects A-C according to SSA analysis using L = 1440 .

Figure 15.

Scree diagram of SSA analysis of subjects A-C, showing (a) partial variances and (b) fractional partial variances.

6. Discussion

The interest of the field of chronobiology is shifting from a description of the periodicity of the circadian cycle to a quantification of deviations from regularity. The objective of the present contribution is to compare several methods in their description of irregular rhythms: the cosinor analysis, the Fourier filter, the continuous (CWT) and discrete wavelet transform (DWT) and the singular spectrum analysis (SSA). We are interested in irregular rhythms at the circadian time scale and rhythm fragmentation over a wide range of ultradian scales. Our aim is to illustrate the differences, similarities, advantages and disadvantages of the different methods using selected actigraphy time series.

We will first discuss the circadian time scale. According to the coefficient of determination R2 of Table 1, the Fourier filter, DWT and SSA describe the circadian cycle better than the cosinor analysis with one single period, and SSA gives the best description of all methods discussed here. One of the reasons may be that cosinor cannot take into account the variability in time and amplitude of the experimental time series, whereas the other methods can. It is less clear why SSA analysis results in the best fit, the average amplitude and the variability of the circadian parameters tend to be larger for the Fourier filter than for SSA, but they tend to be smaller for DWT. The goodness of fit to the data for DWT depends on the specific mother wavelet used, but we chose the Daubechies (4) mother wavelet because of the maximized R2for all the different mother wavelets that we experimented with. On the other hand, the number of DWT scales might be increased or decreased, in order to adjust the variability of the circadian mode for a better fit to the experimental data, but there is no rule of thumb that says how many scales to choose. It is possible that the Fourier filter description may be improved by carefully adjusting fminand fmax, but it is not a priori clear which limiting frequencies will result in the best R2. Figure 13 suggests that it might be possible to slightly improve the SSA description by fine tuning the parameter value Lto a value for which a global minimum is obtained in the correlation of the circadian mode g2t+g3t, but on the other hand, the broad minima basins suggest that the calculations are rather stable. Thus, as long as L1440, the precise value of Land the number of components into which the time series is decomposed have little influence on the description of the circadian cycle by SSA. Table 3 compares the similarity of the description of the circadian cycle between the different methodologies. Results for the Pearson product-moment correlation rand Spearman’s rank correlation ρare very similar. When the circadian cycle is very regular, as for subject C, descriptions by different methods resemble very much. On the other hand, when the circadian cycle is very irregular, as for subject B, the different methods of cosinor, Fourier filter, DWT and SSA give different results.

ArBrCr
cosinorfilterDWTSSAcosinorfilterDWTSSAcosinorfilterDWTSSA
ρcosinor0.7580.8450.840ρcosinor0.6460.7570.791ρcosinor0.9330.9680.976
filter0.7930.8810.949filter0.6380.8300.906filter0.9300.9640.977
DWT0.8430.9120.950DWT0.7580.8200.949DWT0.9600.9630.992
SSA0.8420.9530.950SSA0.7900.8940.947SSA0.9680.9760.991

Table 3.

Correlation between the calculation of the circadian cycle according to the cosinor method, the Fourier filter, DWT and SSA, for subjects A, B and C. Results are given for the Pearson product-moment correlation r(upper-right triangle) and Spearman’s rank correlation ρ(bottom-left triangle).

We will now discuss the ultradian rhythm fragmentation. The Fourier scree diagram, the CWT power spectrum and the SSA scree diagram suggest a trade-off effect. If subject A is taken as a reference, then subject C would seem to exhibit a very strong circadian rhythm associated with an important reduction of rhythm fragmentation at a wide range of ultradian scales, and, as a consequence, there is a flattening of the 1/fpower law over the same frequency range, resulting in an overall rigid rhythm; subject B, on the other hand, is characterized by a reduced circadian contribution and an increased rhythm fragmentation over a wide range of ultradian scales, which leads to an increased power law slope over the same frequency range, resulting in an overall more random rhythm.

Of course, the three time series studied in the present contribution are not sufficient to draw any definite conclusions on the average values of the circadian parameters and their variability or on rhythm fragmentation at ultradian scales; therefore, a much larger statistical study is needed, but we have shown that circadian and ultradian scales can be studied within the same approach, and we hypothesize that partial variances are related over wide circadian and ultradian scales.

7. Conclusions

In recent years, there is a shift in interests in chronobiology where a larger emphasis is now put on an accurate quantification of irregularities of circadian rhythms and ultradian rhythm fragmentation to follow underlying pathologies. Wavelet analysis has probably been the method of choice to describe irregular rhythms at different time scales, but wavelet analysis has the drawback to depend on the choice of a mother wavelet which is arbitrary and user dependent. Data-adaptive time-series decomposition, where the basis functions are generated by the data itself, such as singular spectrum analysis (SSA) may offer an alternative. In the present contribution, we have shown that SSA is at least as versatile and accurate as wavelet analysis in the description and quantification of irregular rhythms at the circadian and ultradian time scales and may be a useful method to be adopted in the field of chronobiology.

Acknowledgments

Financial funding for this work was supplied by the Dirección General de Asuntos del Personal Académico (DGAPA) from the Universidad Nacional Autónoma de México (UNAM), grants PAPIIT IN106215 and IV100116 and in particular grant IA105017 in the context of which the Fourier filter was discussed into detail with Wady A. Rios-Herrera, Francisco F. de Miguel, Martha Yoko Takane Imay, David Serrano, Octavio B. Lecona and Silvia Diaz Gómez. We also gratefully acknowledge grants 2015-02-1093, 2016-01-2277 and CB-2011-01-167441 from the Consejo Nacional de Ciencia y Tecnologia (CONACyT). We are thankful for the Newton Advanced Fellowship awarded to RF by the Academy of Medical Sciences through the UK Governments Newton Fund programme. The funders had no role in study design, data collection and analysis, decision to publish or preparation of the manuscript. Authors do not have any conflict of interest.

© 2018 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

How to cite and reference

Link to this chapter Copy to clipboard

Cite this chapter Copy to clipboard

Ruben Fossion, Ana Leonor Rivera, Juan C. Toledo-Roy and Maia Angelova (July 4th 2018). Quantification of Irregular Rhythms in Chronobiology: A Time- Series Perspective, Circadian Rhythm - Cellular and Molecular Mechanisms, Mohamed Ahmed El-Esawi, IntechOpen, DOI: 10.5772/intechopen.74742. Available from:

chapter statistics

329total chapter downloads

1Crossref citations

More statistics for editors and authors

Login to your personal dashboard for more detailed statistics on your publications.

Access personal reporting

Related Content

This Book

Next chapter

Jet Lag

By Olivier Le Bon

Related Book

First chapter

Introductory Chapter: Assessment and Conservation of Genetic Diversity in Plant Species

By Mohamed A. El-Esawi

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

More About Us