# Linear and Non-linear Quantification of the Respiratory Sinus Arrhythmia Using Support Vector Machines

^{1}STADIUS Center for Dynamical Systems, Signal Processing and Data Analytics, Department of Electrical Engineering (ESAT), KU Leuven, Leuven, Belgium^{2}Leuven.AI - KU Leuven Institute for AI, KU Leuven, Leuven, Belgium^{3}Department of Pneumology, UZ Leuven, Leuven, Belgium^{4}e-Media Research Lab, Department of Electrical Engineering, KU Leuven, Leuven, Belgium

Respiratory sinus arrhythmia (RSA) is a form of cardiorespiratory coupling. It is observed as changes in the heart rate in synchrony with the respiration. RSA has been hypothesized to be due to a combination of linear and nonlinear effects. The quantification of the latter, in turn, has been suggested as a biomarker to improve the assessment of several conditions and diseases. In this study, a framework to quantify RSA using support vector machines is presented. The methods are based on multivariate autoregressive models, in which the present samples of the heart rate variability are predicted as combinations of past samples of the respiration. The selection and tuning of a kernel in these models allows to solve the regression problem taking into account only the linear components, or both the linear and the nonlinear ones. The methods are tested in simulated data as well as in a dataset of polysomnographic studies taken from 110 obstructive sleep apnea patients. In the simulation, the methods were able to capture the nonlinear components when a weak cardiorespiratory coupling occurs. When the coupling increases, the nonlinear part of the coupling is not detected and the interaction is found to be of linear nature. The trends observed in the application in real data show that, in the studied dataset, the proposed methods captured a more prominent linear interaction than the nonlinear one.

## 1. Introduction

In the context of network physiology, three independent forms of cardiorespiratory coupling have been described, namely, cardiorespiratory phase synchronization, time delay stability, and respiratory sinus arrhythmia (RSA). These have been demonstrated to be independent and to have effects in different time scales. Furthermore, biomarkers to quantify these interactions have been shown to be better to evaluate certain conditions and diseases compared to the analysis of the cardiac and respiratory systems individually (Bartsch and Ivanov, 2014). RSA is the most studied one and it is the main focus of this paper. It is observed as changes in heart rate (HR) in synchrony with the respiratory cycle. During inhalation the HR accelerates and during exhalation it decelerates. Despite the fact that RSA was already described in 1733 (Billman, 2011), the mechanisms producing it and its function are not yet fully understood. However, RSA has been suggested as a biomarker for illnesses and conditions such as diabetes (Mackay, 1983), aging (Hrushesky et al., 1984), sleep apnea (Bonsignore et al., 1995), heart failure (Peltola et al., 2008), anxiety disorders (Gorka et al., 2013), and stress (Varon et al., 2018).

The non-invasive evaluation of the RSA can be done using the tachogram (i.e., time intervals between consecutive R-peaks) as a heart rate variability (HRV) representation (Sörnmo and Laguna, 2005). The power spectral density (PSD) estimation of the tachogram is used to derive indices of HRV in the frequency domain (Berry et al., 2012). Here, the level of activity of the sympathetic and parasympathetic branches of the autonomic nervous (ANS) system can be assessed by analyzing different frequency power bands. The low frequency (LF: 0.04–0.15) band has been hypothesized to contain information of both, sympathetic and parasympathetic modulators. The high frequency (HF: 0.15–0.4 Hz) band is widely accepted to reflect the parasympathetic modulation and the action of the respiration (Akselrod et al., 1981; Camm et al., 1996). However, this interpretation of the HF might result in misleading interpretations, in particular when the respiratory rate appears outside the HF (Brown et al., 1993; Schipke et al., 1999; O'Callaghan et al., 2015; Shader et al., 2018). If the respiratory rate is higher than the upper limit of the HF, such as during exercise, the parasympathetic activation is underestimated. Furthermore, during activities in which a slower breathing rate is observed, such as during relaxation, the physiological interpretation of the power bands in the PSD of the HRV according to the standard can be misleading because the respiratory rate goes below the HF band. As a result, the sympathetic activation is overestimated and the vagal component is underestimated (Camm et al., 1996).

To overcome this limitation, the unconstrained methodology to assess the ANS, described in Varon et al. (2018), can be used. With this method, the HRV is decomposed into a component linearly correlated with respiration, and a residual one that captures possibly nonlinear respiratory influences as well as the action of HRV modulators different from respiration. Even though this method has been shown to better quantify the RSA as well as the sympathetic and parasympathetic activity during different conditions, it is not able to separate the possible nonlinear respiratory influences of the respiration in the HRV.

The analysis of these nonlinear components has been shown to be important for some applications. For instance, the work in Loula et al. (1994), presents an interpretation of the non linear part of the RSA during anesthesia, finding differences between measurements taken during baseline and propofol administration. This work was then extended in Chen et al. (2009), where the non linearities of the cardiorespiratory coupling were analyzed for different propofol doses. The latter paper found that the nonlinear part of the RSA remains constant at different drug levels. Another example is the work presented by Caicedo et al. (2014) which shows that a quantification of the nonlinear respiratory influence in HRV using Kernel principal component regression improved the performance of the classification of apnea events compared to a pure linear model. A last example is the work shown in Yeh et al. (2019) where an important contribution of RSA in the fractal properties of HRV is evidenced. This was then applied to improve the assessment of patients with congestive heart failure. These applications suggest that a framework to evaluate the linear and nonlinear components of the RSA would be useful.

To answer to this need, the unconstrained estimator described in Varon et al. (2015b) was extended in Varon et al. (2019), where a method based on least-squares support vector machines was proposed to extract the linear and nonlinear components of the cardiorespiratory interactions from a dataset recorded during autonomic blockade. Results suggested that the nonlinear interactions are mediated by different control mechanisms. In addition, the quantification of the linear part of the interaction is shown to underestimate the RSA due to the suppression of the nonlinear component.

In Varon et al. (2019), the coupling was described for a specific dataset of autonomic blockade with a limited number of subjects. The current paper complements this work presenting a method to quantify RSA based on support vector machines (SVM). It allows to analyze the linear and non linear contributions of the respiratory influences in the HRV representations. These methods are applied in simulated data in which the strength of the linear and nonlinear components of the coupling are controlled. Furthermore, the methods are used to analyze the change of coupling during sleep stages in a dataset of sleep apnea patients. The paper is organized as follows: section 2 describes the datasets and methods. Section 3 shows the results and discusses them. Finally, section 4 presents the conclusions and future directions.

## 2. Materials and Methods

### 2.1. Simulation

A simulation model is used in this paper to evaluate the proposed methodology for the estimation of signal interactions. The goal is to understand the way in which the proposed parameters quantify the interaction between two systems when linear and nonlinear components are present. It uses the model given by the following equations (Papana et al., 2013):

with ${N}$ a Gaussian noise with zero mean and unitary standard deviation. Here, an interaction between *x*_{1} and *x*_{2} is simulated. It consist of a linear and a nonlinear component. The strength of the linear part is defined by the coefficient *C*_{1} and the strength of the nonlinear part by the coefficient *C*_{2}. Two scenarios are tested. In the first one, the coefficient *C*_{2} is set to zero to consider only linear interactions. In the second, the nonlinear effect is included using *C*_{2} = 2−*C*_{1}. This bounding to the value of *C*_{2} was imposed to always have linear and nonlinear interactions, and being able to control the weight of one component compared to the other. For both scenarios, 20 realizations of signals are generated while varying *C*_{1} in the interval [0 1.8], in steps of 0.2.

### 2.2. Real Data

The procedure to preprocess the data and extract the segments used to calculate and evaluate the RSA estimates is illustrated in Figure 1.

**Figure 1**. Steps followed to built the datasets. The parameter ${{P}}_{x}$ is a state-of the-art quantification of the RSA used in this paper as reference. It quantifies the proportion of power in the HRV linearly correlated with the respiration.

#### 2.2.1. Reference RSA Estimation

A state-of-the-art RSA estimate is used as gold standard to built a dataset of HRV and respiratory segments with known linear coupling level. It is based on orthogonal subspace projections (Varon et al., 2018) and, to compute it, two vectors ** x** and

**containing the samples of the respiration and HRV respectively, are defined. These are used to decompose**

*y***into one component linearly correlated to**

*y***and a second one with residual information. To this end, a time-delay embedding of**

*x***is constructed to generate a subspace**

*x***. Afterwards,**

*Q***is used to calculate a projection matrix**

*Q***, given by,**

*P*With this, the component in the HRV linearly correlated with the respiration is derived as,

*y*_{r} allows to calculate the percentage of variance relative of the linear respiratory influences on the HRV with respect to the total HRV variance as,

#### 2.2.2. Data and Preprocessing

The datasets analyzed in this paper were derived from 110 Polysomnography recordings of OSA patients with different severities of OSA and associated comorbidities. The recording of this dataset and its inclusion in this study was approved by the ethical committee of the university hospital UZ Leuven (S53746, S60319). More details about the recordings are given in Deviaene et al. (2020). Sleep specialists provided annotations of apneas and sleep stages. The OSA severity was assessed with the Apnea Hypopnea Index (AHI), i.e., average number of apneic events per hour of sleep. The apneas were annotated according to the AASM 2012 scoring rules (Berry et al., 2012). The demographics are shown in Table 1. The ECG and thoracic respiratory inductive plethysmograph signals were acquired with a sampling frequency of 500 Hz. The R-peaks in the ECG were detected using the approach described in Varon et al. (2015b). Afterwards, these were used to calculate the RR interval time series, which were then interpolated to a sampling frequency of 2 Hz, and used as the HRV representation. The respiratory signals were downsampled to 2 Hz after applying an antialiazing filter. Both, HRV and respiration, were then filtered to preserve only frequency components between 0.03 and 1 Hz with a 4th order butterworth filter. This filter was applied in forward and backward directions to avoid phase distortion. Next, the respiratory and HRV signals were segmented into 5-min epochs. In addition, the power spectral density (PSD) estimation of the respirations on each segment was derived using the Welch algorithm with a hamming window of 40 and 20 s overlap.

#### 2.2.3. Derivation of the Datasets

With the aforementioned segments, three datasets are constructed. For the first one, the cardiorespiratory coupling is estimated using ${{P}}_{x}$. The epochs are then grouped by their ${{P}}_{x}$ level in 9 bins of 0.1, ranging from 0 to 0.9. Next, 50 randomly selected epochs per bin are visually chosen ensuring that they do not contain artifacts, irregular beats nor apneas. In addition, respiratory signals with an irregular pattern are discarded by visual inspection of the PSD. The second dataset is made following the same steps, but only segments containing apneas are included. Figure 2 illustrates examples of typical respiratory segments included in the datasets with their PSD estimation. In the third dataset, 50 randomly selected clean segments per sleep stage are chosen using the annotations given by the sleep specialists. For some groups, there are <50 segments meeting the conditions to be included. The distribution of the epochs is summarized in Table 2.

**Figure 2**. Examples of some of the respiratory segments used in this study. **(Left)** A case of an epoch free of apnea. **(Right)** An epoch during an apneic event.

### 2.3. Quantification of the Cardiorespiratory Coupling

In this paper, the hypothesis that the linear and nonlinear components of the RSA are the result of different mechanisms is tested. To this end, a method based on multivariate autoregressive models built with support vector machines (SVM) is used. The goal is to predict the present samples of the HRV using the past information in the respiration. The change of the proportion of variance captured by the prediction resulting from modifying the kernel of the model might reflect the type of relationship between the cardiac and respiratory systems^{1}.

#### 2.3.1. SVM for Function Estimation

To build the SVM regression model, the samples in the HRV are estimated using the past respiratory information. Given are ${x}_{n}^{-}$ ∈ *IR*^{L}, a vector of *L* past samples of the respiration, and *y*_{n} the corresponding present sample of the HRV signal, with *L* the model order. The definition of L will be described in section 2.3.2.

Given a training set ${\{{x}_{n}^{-},{y}_{n}\}}_{n=1}^{N}$, the following regression problem in the primal space can be formulated using the SVM framework as,

where ** w** is a vector of weights, $\phi (.):I{R}^{L}\to I{R}^{{L}_{h}}$ is a function that maps ${x}_{n}^{-}$ into a higher dimensional feature space of dimension

*L*

_{h}, ξ

_{k}as well as ${\xi}_{k}^{*}$ are slack variables,

*b*is a bias term,

*c*is a regularization term determining the tolerance to regression errors, and ϵ is the required accuracy for the solution of the problem. In order to solve these equations, the Lagrangian and the conditions for optimality are applied to formulate the following dual problem,

where $K({x}_{n}^{-},{x}_{m}^{-})=\phi {({x}_{n})}^{T}\phi ({x}_{m})$, is the kernel function and the α's correspond to the Lagrange multipliers, with α > 0 for the support vectors, and α = 0 otherwise. These can be interpreted as weights applied to the samples used to train the model. Finally, the solution to (6) becomes,

It is hypothesized that the estimation of *y*_{n} using ${x}_{n}^{-}$ is better if the coupling between the two signals is stronger.

The selection of the kernel function, determines if the regression problem is solved considering only the linearities or both, the linearities and nonlinearities. For this, two kernels are used. The first one is the linear kernel, defined as,

The second one is the radial basis function (RBF) kernel, defined as,

As a result of the application of the RBF kernel, the regression problem is solved taking into account the linear as well as the nonlinear relationship between the signals.

It is important to mention that, to build the regression models, it is necessary to tune some parameters. The kernel bandwidth, σ^{2}, was tunned using the value that maximized the Shannon entropy of the kernel matrix (Varon et al., 2015a). The regularization term, *c* of Equation (6), was given by the interquartile range of the HRV divided by 1.349. This calculation is a robust measure of scale, that quantifies the standard deviation of the response variables. The accuracy parameter, ϵ of Equation (6), was set to *c*/10. This selection of the parameters is a rule of thumb used in previous works (Ruta et al., 2019), and resulted in more consistent results over different executions than other tuning approaches.

After training the regression model, this is used to make two predictions, namely *y*_{l} and *y*_{k}, using a different Kernel each time. With these, two parameters are calculated:

The hypothesis here is that ${{P}}_{x}^{l}$ quantifies the percentage of variance in the HRV linearly explained by the respiration and ${{P}}_{x}^{k}$ captures the portion of the variance in the HRV explained by both the linear and possibly nonlinear interaction with the respiration.

#### 2.3.2. Model Order Selection

The selection of the parameter *L* is important because it defines the number of past samples in the respiration considered to be relevant to predict the HRV. For this reason, *L* determines the dynamics that can be captured by the regression model. Methods exist to select this parameter. Two of them are the Akaike's information criterion and the minimum description length. These two approaches have been found to produce inconsistent results in previous studies of the authors. More research on the best alternative to tune this value is needed and is out of the scope of the current work. For these reasons, a more empirical approach initially proposed in Morales et al. (2020), was used. To select *L*, a frequency (*F*_{r}) representative of the respiratory dynamics is found. To this end, the frequency band in the PSD of the respiration containing the 90% of the total power is identified. Afterwards, the local maxima inside this band are found. If the number of local maxima is lower than 3, *F*_{r} is defined as the frequency with maximum power. In case of more than 3 maxima candidates, *F*_{r} is defined as the one with the lowest frequency. However, if *F*_{r} < 0.1 Hz, it is fixed to 0.1 Hz. The order *L* is calculated as the number of samples required to capture two periods of *F*_{r} (Morales et al., 2020).

### 2.4. Statistical Tests

#### 2.4.1. Analysis of Surrogates

To evaluate if the nonlinear quantifications with ${{P}}_{x}^{k}$ are significant, analysis of surrogates for multivariate data are used (Theiler et al., 1992; Schreiber and Schmitz, 2000). With this approach, pairs of surrogate segments of the HRV representations and respiratory signals are generated. The phases in the signals are randomized to eliminated the possible nonlinear interactions between them. This is done in such a way that the individual distributions are matched. In addition, the autocorrelation function of each signal, as well as the cross-correlation between the pairs are maintained.

In this paper, 24 surrogates are generated for each pair of segments. ${{P}}_{x}^{k}$ is computed in the original signals as well as in their surrogates. Then, the upper limit of the confidence interval for the mean value of the quantification in the surrogates is defined as the 95th quantile. If the parameter with the original signals is outside this upper limit, the quantification with ${{P}}_{x}^{k}$ in the segments is considered significantly different to the quantifications in the surrogates. Then, it is assumed that the time series interact in a linear and nonlinear way.

#### 2.4.2. Differences Between the Linear and Nonlinear Quantifications

First, differences between ${{P}}_{x}$ and ${{P}}_{x}^{l}$ are evaluated using the Friedman test for repeated measures. The same test is used to evaluate ${{P}}_{x}^{k}$ with respect to its linear counterparts. Second, to evaluate the existence of linear and possible nonlinear interactions in different sleep stages (in dataset 3), the Kruskall-wallis test is applied. In both cases, multiple comparisons with Bonferroni correction are done. A *p* < 0.05 was considered significant. The *p*-values are marked in the figures as follows: a *p* < 0.05 is shown with a asterisk (*), a *p* < 0.01 is marked with two asterisks (**) and a *p* < 0.001 is illustrated with three asterisks (***).

## 3. Results and Discussion

### 3.1. Simulation

The top plot in Figure 3 illustrates the results in the first scenario, in which only a linear part of the interaction is considered. It was expected to see values of ${{P}}_{x}^{k}$ always higher or equal than ${{P}}_{x}^{l}$. The figure shows that this is true only when the coupling is weak. However, when the coupling gets stronger, the quantification with ${{P}}_{x}^{k}$ becomes significantly lower. The analysis of surrogates confirmed that the nonlinear interactions quantified by ${{P}}_{x}^{k}$ are not significant in most of the cases.

**Figure 3**. Results obtained in simulation 1. *C*_{1} models the strength of the linear part of the coupling. *C*_{2} models the nonlinear part. The figure on top shows the results in scenario 1, when *C*_{2} = 0. The bottom plot is the scenario when *C*_{2} = 2 − *C*_{1}. In both cases, *C*_{1} is varied in the interval [0 1.8], in steps of 0.2.

In the second scenario, the interaction between the systems is composed of a linear and a nonlinear part. The bottom plot of Figure 3 shows the results. It is seen that ${{P}}_{x}^{k}$ is significantly higher than ${{P}}_{x}^{l}$ up to *C*_{1} = 0.8. Afterwards, when the linear component gets stronger, the linear kernel produces a significantly higher quantification. Despite that the quantification with ${{P}}_{x}^{k}$ was higher in a wider interval in this case, it is also seen that this parameter varies less with an increased linear interaction. It is well-known that the RBF kernel can act as an universal approximator. In other words, it can approximate a linear as well as a non linear type of interaction. However, the results suggest that indeed it is able to capture the more general behavior while avoiding to over fit the data. This can be seen when *C*_{1} > 1.4, when the model captures more the linear behavior.

### 3.2. Real Data

Dataset 1 includes only the clean segments without apneas and irregular heart beats. It was used to study the occurrence of nonlinear interactions when regular respiratory patterns occur. Figure 4 shows the results. As expected, an increasing trend is observed in all the parameters when the quantification of the linear coupling calculated with ${{P}}_{x}$ increases. Despite the significantly larger quantification obtained with ${{P}}_{x}^{k}$ when compared to the one with ${{P}}_{x}^{l}$, the surrogates suggested that the interactions were purely linear. Another observation is that significant differences between ${{P}}_{x}$ and ${{P}}_{x}^{l}$ were not found. This means that both parameters quantify the linear part of the cardiorespiratory interactions in a similar way. The results suggest that the linear component of the RSA is more prominent in this dataset.

**Figure 4**. Results using the dataset of clean segments, free of apneas, and with regular respirations.

Dataset 2 was used in order to assess if respiratory signals with broader bandwidths result in a higher nonlinear component in the RSA. Figure 5 shows the results. As shown in Varon et al. (2019), in this case ${{P}}_{x}$, ${{P}}_{x}^{k}$, and ${{P}}_{x}^{l}$ are preferred to quantify the RSA than the standard HF band to avoid the effect of the broadband respiratory frequency components. As shown in the figure, significant differences between ${{P}}_{x}$ and ${{P}}_{x}^{l}$ were not found. However, it is also seen here that both parameters might quantify the cardiorespiratory coupling differently in this case, since the quantification with ${{P}}_{x}$ has less variance than the one with ${{P}}_{x}^{l}$. On the other hand, ${{P}}_{x}^{k}$ was significantly higher than ${{P}}_{x}^{l}$ in most of the coupling levels. Despite this, the nonlinear quantification was, in general, not significant according to the analysis of surrogates. This result suggests that ${{P}}_{x}^{k}$ might be over fitting the data.

The last evaluation aimed to analyze the change of the linear and nonlinear components of the cardiorespiratory quantifications during sleep stages. The results are in agreement with the findings presented in Bartsch et al. (2012). Figure 6 displays the results. The work presented in Penzel et al. (2016) shows that the regulation of the autonomic nervous system is different during each sleep stage. It is shown that the HR decreases during sleep, reaching a minimum during deep sleep, suggesting an increased parasympathetic activity. During REM sleep, mental activities are more active and thus a higher level of sympathetic activation is expected, resulting in a higher mean HR. In addition, the RSA is found significantly less active in REM sleep than in Non-REM sleep.

**Figure 6**. Results in the dataset of segments during different sleep stages. Significant differences between the parameters are marked with *. Significant differences between sleep stages are marked with ⋆.

This works confirms some aspects of these observations (see Figure 6). First, it is seen that RSA is significantly stronger during NREM compared to REM sleep. An interesting trend observed in the figure is a significantly stronger coupling during wake than in REM. This might have been due to the spectrum of the respiratory signals. In order to see the distribution of the respiratory patterns among the sleep stages, the frequency characteristic of the respiratory segments on each case were analyzed. Figure 7 shows the results. No significant differences were found. While the respiratory frequency has been shown to be an important confounder in cardiorespiratory analysis, this figure suggests that the characteristics of the respiratory patterns in the selected segments are similar and should not have a confounding effect. A second relevant observation is that the difference between the quantifications using ${{P}}_{x}^{l}$ and ${{P}}_{x}^{k}$ is smaller during deeper sleep stages. This result might suggest that the nonlinear influence of the respiration is more noticeable during lighter sleep stages in this dataset. However, it is important to highlight that the nonlinear quantification of the RSA with ${{P}}_{x}^{k}$ was not significantly different to its surrogates in most of the cases. Despite of this, as observed in the figure, the quantification with ${{P}}_{x}^{k}$ is significantly different to the part quantified by ${{P}}_{x}^{l}$ in all cases except NREM1. Finally, the significant differences between sleep stages are the same with all the parameters, with a significantly lower coupling only during REM.

**Figure 7**. *F*_{r} for the selection of the model order in the third dataset as described in section 2.3.2.

The paper in Loula et al. (1994) suggested differences in the nonlinear part of the cardiorespiratory coupling during the application of anesthesia to healthy subjects. On the other hand, the paper in Chen et al. (2009) indicates that the nonlinear part of the cardiorespiratory coupling did not change significantly with different doses of propofol. Taking these works into account, the current paper tested the hypothesis that in the used dataset, the nonlinear part of the RSA might change according to the sleep stage. The results suggest that a nonlinear coupling component is not present in the interactions or that it might be too small to be captured using the proposed approach.

It is important to mention that this work has some limitations. First, the segments are extracted from OSA patients. The same study in healthy subjects might show different results. Second, the selection of the σ_{k} was found to be consistent. However, the tuning of the regularization term in the SVM problem is challenging. This is an open problem, not only for this application, and more research is required to investigate a more standard methodology to select this parameter.

## 4. Conclusions

In this work, a method to quantify the respiratory sinus arrhythmia based on regression models built with support vector machines, is presented. It allows to quantify the dominant form of coupling. The methods are a framework that will allow to analyze the nature of the regulatory mechanisms of the cardiorespiratory interactions in different conditions and diseases. The proposed approach was tested in simulated data. Taking into account the results obtained from the simulation, real data extracted from obstructive sleep apnea patients was analyzed. The results suggest that the nonlinear components of the RSA are not prominent during sleep stages and that the linear components are dominant in the analyzed datasets. The work in this paper is an application in which the evaluation of a physiological network provides insights of the functioning of the interactions between systems and demonstrates the added value of this framework. As a future work, the indexes described in this paper will be compared to other approaches such as linear and nonlinear calculations of transfer entropy.

## Data Availability Statement

The datasets presented in this article are not readily available because the raw data comes from patients. For this reason, it is subject to the European data-privacy policy regulations. Requests to access the datasets should be directed to carolina.varon@esat.kuleuven.be. The authors will try to provide an anonymized version of dataset in compliance with the privacy policy of the University Hospitals of Leuven, which is the owner of the data.

## Ethics Statement

The studies involving human participants were reviewed and approved by ethical committee of the university hospital UZ Leuven (S53746, S60319). The patients/participants provided their written informed consent to participate in this study.

## Author Contributions

JM and CV wrote the article and conducted the data analysis. SV and CV supervised the data analysis. PB, DT, and BB conducted the clinical trial and data collection. CV, SV, PB, DT, and BB reviewed and corrected the manuscript. All authors contributed to the article and approved the submitted version.

## Funding

BOF, C24/18/097. VLAIO, 150466: OSA+. EU H2020 MSCA-ITN-2018: (INSPiRE-MED) #813120. EU H2020 MSCA-ITN-2018: (INFANS) #813483. EIT Health—SeizeIT2 19263. This research received funding from the Flemish Government (AI Research Program). KU Leuven Stadius acknowledges the financial support of imec.

## Conflict of Interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

## Footnotes

1. ^The implementation of the algorithms in Matlab^{®} can be downloaded from: https://gitlab.esat.kuleuven.be/Biomed/RSA_NonLinear

## References

Akselrod, S., Gordon, D., Ubel, F. A., Shannon, D. C., Berger, A., and Cohen, R. J. (1981). Power spectrum analysis of heart rate fluctuation: a quantitative probe of beat-to-beat cardiovascular control. *Science* 213, 220–222. doi: 10.1126/science.6166045

Bartsch, R. P., and Ivanov, P. C. (2014). “Coexisting forms of coupling and phase-transitions in physiological networks,” in *International Conference on Nonlinear Dynamics of Electronic Systems* (Albena: Springer), 270–287. doi: 10.1007/978-3-319-08672-9_33

Bartsch, R. P., Schumann, A. Y., Kantelhardt, J. W., Penzel, T., and Ivanov, P. C. (2012). Phase transitions in physiologic coupling. *Proc. Natl. Acad. Sci. U.S.A*. 109, 10181–10186. doi: 10.1073/pnas.1204568109

Berry, R. B., Budhiraja, R., Gottlieb, D. J., Gozal, D., Iber, C., Kapur, V. K., et al. (2012). Rules for scoring respiratory events in sleep: update of the 2007 AASM manual for the scoring of sleep and associated events: deliberations of the sleep apnea definitions task force of the American academy of sleep medicine. *J. Clin. Sleep Med*. 8, 597–619. doi: 10.5664/jcsm.2172

Billman, G. E. (2011). Heart rate variability-a historical perspective. *Front. Physiol*. 2:86. doi: 10.3389/fphys.2011.00086

Bonsignore, M. R., Romano, S., Marrone, O., and Insalaco, G. (1995). Respiratory sinus arrhythmia during obstructive sleep apnoeas in humans. *J. Sleep Res*. 4, 68–70. doi: 10.1111/j.1365-2869.1995.tb00190.x

Brown, T. E., Beightol, L. A., Koh, J., and Eckberg, D. L. (1993). Important influence of respiration on human RR interval power spectra is largely ignored. *J. Appl. Physiol*. 75, 2310–2317. doi: 10.1152/jappl.1993.75.5.2310

Caicedo, A., Varon, C., and Van Huffel, S. (2014). “Analysis of non-linear respiratory influences on sleep apnea classification,” in *Computing in Cardiology 2014* (Cambridge, MA: IEEE), 593–596.

Camm, A. J., Malik, M., Bigger, J. T., Breithardt, G., Cerutti, S., Cohen, R. J., et al. (1996). Heart rate variability: standards of measurement, physiological interpretation and clinical use. Task force of the European society of cardiology and the North American society of pacing and electrophysiology.

Chen, Z., Purdon, P. L., Pierce, E. T., Harrell, G., Walsh, J., Salazar, A. F., et al. (2009). “Linear and nonlinear quantification of respiratory sinus arrhythmia during propofol general anesthesia,” in *2009 Annual International Conference of the IEEE Engineering in Medicine and Biology Society* (Minneapolis, MN), 5336–5339.

Deviaene, M., Borzée, P., Van Gilst, M., Van Dijk, J., Overeem, S., Buyse, B., et al. (2020). Multilevel interval coded scoring to assess the cardiovascular status of sleep apnea patients using oxygen saturation markers. *IEEE Trans. Biomed. Eng*. 67, 2839–2848. doi: 10.1109/TBME.2020.2972126

Gorka, S. M., McGowan, S. K., Campbell, M. L., Nelson, B. D., Sarapas, C., Bishop, J. R., et al. (2013). Association between respiratory sinus arrhythmia and reductions in startle responding in three independent samples. *Biol. Psychol*. 93, 334–341. doi: 10.1016/j.biopsycho.2013.03.003

Hrushesky, W., Fader, D., Schmitt, O., and Gilbertsen, V. (1984). The respiratory sinus arrhythmia: a measure of cardiac age. *Science* 224, 1001–1004. doi: 10.1126/science.6372092

Loula, P., Lipping, T., Jäntti, V., and Yli-Hankala, A. (1994). Nonlinear interpretation of respiratory sinus arrhythmia in anesthesia. *Methods Inform. Med*. 33, 52–57. doi: 10.1055/s-0038-1634982

Mackay, J. (1983). Respiratory sinus arrhythmia in diabetic neuropathy. *Diabetologia* 24, 253–256. doi: 10.1007/BF00282709

Morales, J., Moeyersons, J., Armanac, P., Orini, M., Faes, L., Overeem, S., et al. (2020). Model-based evaluation of methods for respiratory sinus arrhythmia estimation. *IEEE Trans. Biomed. Eng*. doi: 10.1109/TBME.2020.3028204. [Epub ahead of print].

O'Callaghan, E., Lataro, R., Zhao, L., Ben-Tal, A., Nogaret, A., and Paton, J. (2015). Cardiac output is improved in rats with myocardial infarction by enhancement of respiratory sinus arrhythmia. *FASEB J*. 29(1 Suppl.):1043. doi: 10.1096/fasebj.29.1_supplement.1043.3

Papana, A., Kyrtsou, C., Kugiumtzis, D., and Diks, C. (2013). Simulation study of direct causality measures in multivariate time series. *Entropy* 15, 2635–2661. doi: 10.3390/e15072635

Peltola, M., Tulppo, M. P., Kiviniemi, A., Hautala, A. J., Seppänen, T., Barthel, P., et al. (2008). Respiratory sinus arrhythmia as a predictor of sudden cardiac death after myocardial infarction. *Ann. Med*. 40, 376–382. doi: 10.1080/07853890701884659

Penzel, T., Kantelhardt, J. W., Bartsch, R. P., Riedl, M., Kraemer, J. F., Wessel, N., et al. (2016). Modulations of heart rate, ECG, and cardio-respiratory coupling observed in polysomnography. *Front. Physiol*. 7:460. doi: 10.3389/fphys.2016.00460

Ruta, D., Cen, L., and Vu, Q. H. (2019). “Greedy incremental support vector regression,” in *2019 Federated Conference on Computer Science and Information Systems (FedCSIS)* (Leipzig), 7–9. doi: 10.15439/2019F364

Schipke, J., Arnold, G., and Pelzer, M. (1999). Effect of respiration rate on short-term heart rate variability. *J. Clin. Basic Cardiol*. 2, 92–95.

Schreiber, T., and Schmitz, A. (2000). Surrogate time series. *Phys. D* 142, 346–382. doi: 10.1016/S0167-2789(00)00043-9

Shader, T. M., Gatzke-Kopp, L. M., Crowell, S. E., Reid, M. J., Thayer, J. F., Vasey, M. W., et al. (2018). Quantifying respiratory sinus arrhythmia: effects of misspecifying breathing frequencies across development. *Dev. Psychopathol*. 30, 351–366. doi: 10.1017/S0954579417000669

Sörnmo, L., and Laguna, P. (2005). *Bioelectrical Signal Processing in Cardiac and Neurological Applications, Vol. 8*. Lund: Academic Press. doi: 10.1016/B978-012437552-9/50007-6

Theiler, J., Eubank, S., Longtin, A., Galdrikian, B., and Farmer, J. D. (1992). Testing for nonlinearity in time series: the method of surrogate data. *Phys. D* 58, 77–94. doi: 10.1016/0167-2789(92)90102-S

Varon, C., Alzate, C., and Suykens, J. A. (2015a). Noise level estimation for model selection in kernel PCA denoising. *IEEE Trans. Neural Netw. Learn. Syst*. 26, 2650–2663. doi: 10.1109/TNNLS.2015.2388696

Varon, C., Caicedo, A., Testelmans, D., Buyse, B., and Van Huffel, S. (2015b). A novel algorithm for the automatic detection of sleep apnea from single-lead ECG. *IEEE Trans. Biomed. Eng*. 62, 2269–2278. doi: 10.1109/TBME.2015.2422378

Varon, C., Hendrikx, D., Bolea, J., Laguna, P., and Bailón, R. (2019). “Quantification of linear and nonlinear cardiorespiratory interactions under autonomic nervous system blockade,” in *2019 Computing in Cardiology (CinC)* (Singapore). doi: 10.22489/CinC.2019.329

Varon, C., Lázaro, J., Bolea, J., Hernando, A., Aguiló, J., Gil, E., et al. (2018). Unconstrained estimation of HRV indices after removing respiratory influences from heart rate. *IEEE J. Biomed. Health*. 23, 2386–2397. doi: 10.1109/JBHI.2018.2884644

Keywords: respiratory sinus arrhythmia, heart rate variability, support vector machines, nonlinear methods, biomedical data processing, electrocardiogram, cardiorespiratory interactions

Citation: Morales J, Borzée P, Testelmans D, Buyse B, Van Huffel S and Varon C (2021) Linear and Non-linear Quantification of the Respiratory Sinus Arrhythmia Using Support Vector Machines. *Front. Physiol.* 12:623781. doi: 10.3389/fphys.2021.623781

Received: 30 October 2020; Accepted: 12 January 2021;

Published: 05 February 2021.

Edited by:

Plamen Ch. Ivanov, Boston University, United StatesReviewed by:

Ronny P. Bartsch, Bar-Ilan University, IsraelJan Jacek Zebrowski, Warsaw University of Technology, Poland

Copyright © 2021 Morales, Borzée, Testelmans, Buyse, Van Huffel and Varon. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: John Morales, jmorales@esat.kuleuven.be