bioRxiv Science⌕ Search

bioRxiv · 10.1101/2020.10.06.328856

CardioPy: An open-source heart rate variabilitytoolkit for single-lead EKG

Abstract

Background and ObjectiveHeart rate variability (HRV) is a promising clinical marker of health and disease. Although HRV methodology is relatively straightforward, accurate detection of R-peaks remains a significant methodological challenge; this is especially true for single-lead EKG signals, which are routinely collected alongside EEG monitoring and for which few software options exist. Most developed algorithms with favorable R-peak detection profiles require significant mathematical and computational proficiency for implementation, providing a significant barrier for clinical research. Our objective was to address these challenges by developing a simple, free, and open-source software package for HRV analysis of single-lead EKG signals. MethodsCardioPy was developed in python and optimized for short-term (5-minute) single-lead EKG recordings. CardioPys R-peak detection trades full automation and algorithmic complexity for an adaptive thresholding mechanism, manual artifact removal and parameter adjustment. Standard time and frequency domain analyses are included, such that CardioPy may be used as a stand-alone HRV analysis package. An example use-case of HRV across wakefulness and sleep is presented and results validated against the widely used Kubios HRV software. ResultsHRV analyses were conducted in 66 EKG segments collected from five healthy individuals. Parameter optimization was conducted or each segment, requiring ~1-3 minutes of manual inspection time. With optimization, CardioPys R-peak detection algorithm achieved a mean sensitivity of 100.0% (SD 0.05%) and positive predictive value of 99.8% (SD 0.20%). HRV results closely matched those produced by Kubios HRV, both by eye and by quantitative comparison; CardioPy power spectra explained an average of 99.7% (SD 0.50%) of the variance present in Kubios spectra. HRV analyses showed significant group differences between brain states; SDNN, low frequency power, and low frequency-to-high frequency ratio were reduced in slow wave sleep compared to wakefulness. ConclusionsCardioPy provides an accessible and transparent tool for HRV analyses. Manual parameter optimization and artifact removal allow granular control over data quality and a highly reproducible analytic pipeline, despite additional time requirements. Future versions are slated to include automatic parameter optimization and a graphical user interface, further reducing analysis time and improving accessibility.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Gottshall, J. L., Recoder, N., Schiff, N. D.. 2020-10-08. CardioPy: An open-source heart rate variabilitytoolkit for single-lead EKG. https://doi.org/10.1101/2020.10.06.328856

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

28S-rsRNA facilitates PASMC proliferation through PKM2 β-hydroxybutyrylation

Ribosomal RNA-derived small RNAs (rsRNAs) are nucleic acid fragments originating from rRNA, the functions and roles of which in diseases remain incompletely understood. We identified 28S rsRNA-CTC_L20, an rsRNA whose expression is upregulated in hypoxic pulmonary artery smooth muscle cells (PASMCs) and in lung tissues of pulmonary hypertension (PH) models. In hypoxic cells, 28S rsRNA-CTC_L20 promotes PASMC proliferation, and its knockdown mitigates SuHx-induced pulmonary hypertension and vascular remodeling. Mechanistically, 28S rsRNA-CTC_L20 modulates {beta}-hydroxybutyrate (BHB) production by maintaining the stability of ketogenic enzyme mRNAs through its "CTGNNGG" motif. Elevated levels of BHB enhance the {beta}-hydroxybutyrylation modification at K166 of pyruvate kinase M2 (PKM2), increasing its activity and driving glycolysis to sustain proliferation. These results link ketone body metabolism to glycolysis in hypoxic cells and define an rsRNA-BHB-PKM2 {beta}-hydroxybutyrylation axis in PH. They also point to 28S rsRNA-CTC_L20 as a potential target for treating vascular remodeling.

physiology↗

Selective activation of estrogen receptors modulates electrical activity and insulin secretion in human EndoC-βH1 cells

Estrogen receptors (ERs), ER and ER{beta} have important roles in the physiology of the endocrine pancreas in animal models, but the effects of ER activation on insulin-secreting human cells are still poorly understood. Here, we investigated the role of ER and ER{beta} as modulators of electrical activity and insulin secretion in the insulin-secreting human cell line EndoC-{beta}H1. Immunocytochemical analysis revealed a widespread cellular distribution of ER, while ER{beta} was predominantly localized outside the nucleus. We observed that both estradiol (E2) and the ER{beta} agonist diarylpropionitrile (DPN) led to a decrease in insulin secretion in the absence of stimulatory glucose concentrations, without affecting insulin content. Patch-clamp experiments revealed that a 48-hour treatment with either the ER agonist PPT or DPN resulted in depolarization of the resting membrane potential, increased action potential firing frequency, and altered the action potential waveform in EndoC-{beta}H1 cells. PPT increased voltage-dependent Ca2+ channel currents, while DPN reduced K+ and Na+ currents. These results suggest that activation of ER and ER{beta} modulates beta-cell electrical activity through distinct pathways involving ion channels. The effects of E2, PPT, and DPN were not caused by altered expression levels of ion channel genes after 48 hours of treatment. This suggests that these receptors act extranuclearly without affecting gene expression. Together, our findings demonstrate that selective activation of ER and ER{beta} modulates beta-cell excitability through distinct electrophysiological mechanisms and that E2 and DPN reduce basal insulin secretion in human EndoC-{beta}H1 cells. These results support ER and ER{beta} as potential targets for modulating human pancreatic beta-cell function.

physiology↗

Body weight modifies the efficacy of lifespan-extending interventions in ad libitum-fed mice

Geroprotective interventions are often assessed by extension of lifespan in ad libitum-fed mice. Increased lifespan could therefore reflect rescue of adverse phenotypes of unhealthy controls. We analysed body weight and survival for 33,780 mice in the Interventions Testing Program (ITP) to test whether treatment effects varied with body weight. In males, each added standard deviation of attained adult weight made treatment 6% more favourable (HR 0.94), more apparent for interventions that lowered body weight (HR 0.90). Median lifespan increase rose from 6.2% in mice in the lightest quartile to 20.2% in the heaviest pre-dosing weight quartile among those experiments, mainly because control survival declined more steeply with weight than that of the intervention group. The effect of body weight was consistent across 13 of 14 compounds and reflected weight attained during adulthood rather than in early life. Weight-dependence of intervention effects was weak in ITP females, possibly because median survival of controls exceeded that of every sampled non-ITP female control group. Amelioration of weight-associated risk is therefore implicated as a major contributor to lifespan increases relative to heavy, short-lived controls. The geroprotective effects of these interventions may thus be less apparent in metabolically healthier mice or humans.

physiology↗