Abstract
Background
Cardiac optical mapping enables direct and high spatio-temporal resolution recording of action potential (AP) morphology. Temporal alterations in AP morphology are both predictive and consequent of arrhythmia. Here we sought to test if methods that quantify regularity of recorded waveforms could be applied to detect and quantify periods of temporal instability in optical mapping datasets in a semi-automated, user-unbiased manner.
Methods and results
We developed, tested and applied algorithms to quantify optical wave similarity (OWS) to study morphological temporal similarity of optically recorded APs. Unlike other measures (e.g. alternans ratio, beat-to-beat variability, arrhythmia scoring), the quantification of OWS is achieved without a restrictive definition of specific signal points/features and is instead derived by analysing the complete morphology from the entire AP waveform.
Using model datasets, we validated the ability of OWS to measure changes in AP morphology, and tested OWS mapping in guinea pig hearts and mouse atria. OWS successfully detected and measured alterations in temporal regularity in response to several proarrhythmic stimuli, including alterations in pacing frequency, premature contractions, alternans and ventricular fibrillation.
Conclusion
OWS mapping provides an effective measure of temporal regularity that can be applied to optical datasets to detect and quantify temporal alterations in action potential morphology. This methodology provides a new metric for arrhythmia inducibility and scoring in optical mapping datasets.
Keywords: Optical mapping, Wave similarity, Regularity index, Temporal stability, Optical action potential
Abbreviations: Atrial Fibrillation, AF; Ventricular Fibrillation, VF; Action Potential, AP; Action Potential Duration, APD; Regularity Index, RI; Optical Wave Similarity, OWS; Optical Action Potential, OAP; Sympathetic Nervous Stimulation, SNS; Pacing Cycle Length, PCL; Premature Atrial Activity, PAA
1. Introduction
Cardiac arrhythmias, such as ventricular and atrial fibrillation (VF/AF), are characterised by complex spatiotemporal activation and repolarisation dynamics (Moe and Abildskov, 1959; Ten Tusscher et al., 2007; Pandit and Jalife, 2013). Advances in knowledge of the mechanistic drivers or origins of these events (Atienza et al., 2012; Schotten et al., 2011) could be used to develop more effective therapies, for example, leading to improvements in radiofrequency ablation procedures (Ravelli and Mase, 2014; Li et al., 2017). However, recordings of cardiac electrical activity in the time preceding and during an arrhythmia are often temporally disorganised and/or irregular. In the case of electrogram recordings, such signals are termed ‘fractionated’ and the more complex morphology reflects local differences in activation, repolarisation and/or fibrotic areas within the tissue, leading to alterations in the amplitude and temporal regularity of the recorded signal (Caldwell and Redfearn, 2012; Baher et al., 2019). In optical mapping, where action potentials (APs) are recorded using voltage sensitive fluorescent indicators, arrhythmias are associated with similar alterations in signal amplitude and temporal heterogeneity (Laughner et al., 2012). For these reasons, signal parameters such as cycle length and AP duration (APD) become inconsistent and hard to define/measure. Thus, novel temporal heterogeneity measures not reliant on defined waveform points/features consisting of repetitive periods of depolarisation and repolarisation are required.
For both electrogram and optical mapping datasets, strategies have been proposed for quantification of electrophysiological properties in the time prior to and during an arrhythmia. Beat to beat analyses have been successfully utilised in several optical mapping studies to highlight temporal instability (Wang et al., 2014; Winter et al., 2018; O’Shea et al., 2019a). These approaches however can be labour intensive, while high throughput methodologies rely on the automated identification of specific signal points, features (e.g. activation and repolarisation times) and phenomena (e.g. alternans) (O’Shea et al., 2019a; Fabritz et al., 2003). These features can become challenging to algorithmically and accurately measure when signal amplitude decreases, as is observed at fast pacing frequencies and during polymorphic arrhythmia (Laughner et al., 2012; O’Shea et al., 2019a). Furthermore, dominant frequency (Laughner et al., 2012) and phase analysis (Umapathy et al., 2010; Kirchhof et al., 1998) have been employed to map regions of the heart that may act as drivers of arrhythmia (e.g. mother rotors) and to predict termination of arrhythmia episodes. However, these methodologies either forgo ‘direct’ analysis of the signal waveforms or rely on manual inspection. Instead, they use mathematical techniques to transform the signal into another form, for example, into the frequency domain via the fast Fourier transformation.
In electrogram-based electrophysiological mapping, the ‘regularity index (RI)’ has been shown to be an effective method to quantify temporal organisation directly (Faes et al., 2002; Ravelli et al., 2005). This method, as first set out in 2002 for atrial electrograms (Faes et al., 2002), computes the similarity between local activation waves with the hypothesis that waves with a lower index are representative of tissue areas with dyssynchronous activation and repolarisation. RI and similar methods have the advantage of quantifying temporal regularity using simple signal processing methods across the entire waveform morphology (Baher et al., 2019; Faes et al., 2002). The RI approach relies on the setting of a threshold value for ‘similarity’. The use of such an approach for analysis of optical signals has not been evaluated, in particular the effects of setting a similarity threshold.
In this study, we have developed and utilised RI mapping in optical mapping datasets, and further develop an analogous but updated approach for use in optical mapping datasets which we term optical wave similarity (OWS). RI and OWS metrics are compared. OWS is measured from optical mapping datasets to demonstrate its utility in detecting and quantifying temporal homogeneity/regularity of model and optical action potentials (OAPs). Temporal heterogeneity is induced by changes in pacing cycle length and sympathetic nervous stimulation (SNS) in guinea pig ventricles and isolated mouse left atria. Robust measures of temporal heterogeneity across the myocardium, recorded using optical mapping methodologies and integrated into freely available software, will potentially help researchers identify novel drivers of arrhythmogenesis (Baher et al., 2019; Winter et al., 2018; Johnson et al., 2010).
2. Methods
2.1. Animal welfare
All animal procedures were undertaken in accordance with ethical guidelines set out by the UK Animals (Scientific Procedures) Act 1986 and Directive 2010/63/EU of the European Parliament on the protection of animals used for scientific purposes. Experiments were approved by the home office (mouse: PPL 30/2967 and PFDAAF77F, guinea pig: PPL PF75E5F7F) and the institutional review boards at University of Birmingham (mouse) and King’s College London (guinea pig).
2.2. Optical mapping
All data utilised in this study were acquired previously, full details of experimental procedures can be found in the relevant publications (Winter et al., 2018; Holmes et al., 2016; Yu et al., 2014).
Briefly, ex vivo isolated intact guinea pig whole hearts were imaged utilising an innervated preparation (Ng et al., 2001). Hearts were loaded with voltage dye Di-8-ANEPPS (1 mg/ml in DMSO, 200–300 μl), paced via silver bipolar electrodes and imaged at 0.5 kHz at 64 × 64 pixel resolution (320 μm pixel width). Sympathetic nervous stimulation (SNS) was achieved by bi-lateral stimulation of efferent sympathetic nerves by a decapolar 5-French catheter in the spinal column. Hearts were paced at 170 ms pacing cycle length (PCL), and PCL reduced by 10 ms every 10 beats until induction of ventricular fibrillation (Winter et al., 2018).
Isolated ex vivo mouse hearts were loaded with Di-4-ANEPPS (0.125 mg/ml in DMSO, 1 ml), left atria isolated, pinned down in the superfusion chamber and paced using platinum bipolar electrodes and imaged at 0.987 kHz with maximal resolution of 200 × 2048 pixels (Holmes et al., 2016) (71 μm pixel width). Atria were paced at 150 ms PCL, and PCL was reduced by 10 ms every 20 stimuli down to 50 ms. Some atria were also paced at 150 ms PCL for 1 min to observe instances of spontaneous activity, such as premature atrial activity (PAA).
In both sets of experiments the electromechanical un-coupler blebbistatin (15 μM for guinea pig, 42.75 μM for mouse atria) was used to prevent movement of the tissue and motion artefacts on the recordings.
2.3. Optical data pre-processing
Spatial filtering of the optical mapping images was performed via a 3 × 3 pixel Gaussian filter. Baseline correction was performed using a top-hat kernel (200 ms length for guinea pig data, 100 ms for mouse) (Yu et al., 2017). No temporal filtering was applied.
Image stacks were then segmented based on PCL. PCL segmentation of the image stack was performed based on the tissue average signal,
1 |
where is the fluorescent value of pixel at time . Only the pixels which were selected following thresholding (i.e. pixels inside the red outline in Fig. 1A) were included for summation in equation (1) and all subsequent analysis. Peaks in were then identified by setting a threshold amplitude (half of maximum ) and minimum peak distance (40 ms for both guinea pig and mouse). The PCL was then defined as the time period between one peak and the previous. The signal was then segmented when changes in PCL of 10 ms were identified. During ventricular fibrillation (VF), automatic PCL based segmentation was not used due to variable time intervals and lower signal amplitude. Instead, a custom selection of time period where the tissue averaged signal clearly demonstrated VF was performed (O’Shea et al., 2019a).
2.4. Computationally modelled action potentials
Alongside application of OWS to optically mapped datasets, mathematical models of guinea pig (Luo and Rudy, 1994) and mouse (Bondarenko, 2004) ventricular action potentials were used to validate use of OWS for AP waveforms. Temporal alterations in the action potential morphology were induced by altering the conductance of the respective repolarising potassium channels in each model for odd beats only. This induced alternans like behaviour in the models. For the guinea pig action potentials, potassium channel (IK and IK1) conductance was increased by 70%, while for the mouse potassium channel (Ito, IKss, IKs, IK1, IKur) conductance was decreased by 45% (Clerx et al., 2016). 1000 beats were simulated in total to allow the models to reach steady-state, and the last 20 beats used for analysis (see below).
The model traces were down sampled to match the recording rates of the optical mapping systems used in this study (0.5 kHz for guinea pig, 1 kHz for mouse). To study the effects of signal quality, noise was added to the datasets by altering the AP by a value selected from a set of normally distributed pseudorandom numbers, the standard deviation of which was set as a percentage value of the action potential amplitude. Due to its pseudorandom nature, this operation was repeated 15 times for each noise level tested. Note: For direct comparison to noise levels of experimental recording, optical noise values were retrieved in the inverse manner, i.e. the amplitude of the optical action potential (OAP) was compared to the standard deviation of the signal at diastolic baseline. These studies were performed using the myokit software (http://myokit.org) (Clerx et al., 2016) and MATLAB (The MathWorks).
2.5. Optical wave similarity
2.5.1. Windowing
Optical wave similarity (OWS) and regularity index (RI) were calculated via adaptation of the method set out by Faes et al. for use in bipolar electrograms (Faes et al., 2002). Following the PCL detection, signals were time windowed, Fig. 1B. Unless stated otherwise, for guinea pig action potentials, window timeframe was set at 50 ms before and 150 ms after the peak in the tissue averaged signal (equation (1)). Due to the shortening of the diastolic interval at faster PCLs (Shattock et al., 2017), the signals were further windowed by the minimum before and after each peak before OWS calculation. The time window used for measuring the OWS between two OAPs was from the closest minima (of either OAP) before and after the peak in the signals. Due to the shorter OAP morphology and smaller tissue area of murine atria (Riley et al., 2012), a constant windowing timeframe of 20 ms before and 40 ms after the peak was utilised for these recordings and no further windowing based on signal minima was required.
2.5.2. Normalisation and signal alignment
Following PCL detection, segmentation and windowing of individual OAPs, the image stack was split into sections (up to 10 sections of 10 beats for guinea pig hearts, 7 sections of 20 beats for mouse atria) matching the PCL protocols described above. For single beat OWS analysis, the individual OAP was compared with the subsequent OAP. Signals were aligned according to the peak times in tissue average signal, equation (1).
For the computationally modelled datasets, OWS analysis was applied to the final 20 beats of 1000 stimulations, to ensure the models had reached steady state. The model APs were aligned by the peak.
2.5.3. Calculation of wave similarity
To calculate wave similarity, we utilised the cosine similarity metric. First, the individual, windowed OAPs () were zero corrected (translated so the mean value was zero) and normalised as shown in equation (2),
2 |
where is the normalised signal and K is the number of samples in the OAP after windowing, Fig. 1C. The wave similarity, s, between two successive normalised and aligned OAPs, and , was then calculated as,
3 |
where denotes the scalar dot product (Fig. 1D). The result of equation (3) is a value approaching 1 when and exhibit a similar morphology, 0 when the two OAPs are morphologically distinct (e.g. two signals of just noise), and −1 if the signals are identical but of opposite phase. For a sequence of OAPs from each pixel, the overall OWS was then calculated from all paired wave similarity values as,
4 |
where is the number of OAPs in the sequence. As previously stated, when undertaking single beat OWS analysis, an individual OAP was compared with the subsequent OAP.
To calculate regularity index (RI), the method of Faes et al. originally applied to atrial electrograms was employed (Faes et al., 2002). The wave distance, d, between two normalised and aligned OAPs, and was calculated as,
(5) |
where is the inverse cosine function.
A threshold distance, ε, was then set, and RI of a train of OAPs measured as
(6) |
where H is a Heaviside step function which equals 1 when (i.e. when two OAPs are similar) and 0 when (i.e. when two OAPs are dissimilar). By the definitions in equations 4, (6)), both higher OWS and RI indicate a greater temporal regularity.
2.6. Alternative metrics
To compare the results of OWS analysis with other methodologies, we also conducted APD alternans and dominant frequency analysis.
2.6.1. APD alternans (ΔAPD80)
APD80 was calculated as the interval between the maximum upstroke velocity during depolarisation (dF/dtmax) and the time of 80% repolarisation to baseline. APD80 alternans magnitude (ΔAPD80) was then calculated as the absolute difference between APD80 of one OAP compared to the previous at each location in the image (Winter et al., 2018; O’Shea et al., 2019b). In some cases, especially at short PCLs, 80% repolarisation was not observed before the next depolarisation. These areas were excluded from analysis (see blue areas in Fig. 6Aii). The results were then averaged for each PCL.
2.6.2. Dominant frequency analysis
For dominant frequency mapping, the frequency spectrum of the signal was computed using fast Fourier transform, with a Hann window applied. Zero padding was applied to achieve a frequency resolution of 0.05 Hz, and the frequency range studied was from 0.5 to 50 Hz (Li et al., 2017).
2.7. Statistical analysis and data availability
Unless stated, data are presented as mean ± standard error of the mean. As all interventions are paired in the same samples, group mean differences were tested via two-tailed paired student’s t-test. Significance was defined as P < 0.05.
The pre-processing and signal segmentation described here, as well as all subsequent steps to calculate wave similarity and regularity index have been integrated into an updated version of our electrophysiological mapping software ElectroMap (O’Shea et al., 2019a) (https://github.com/CXO531/ElectroMap).
3. Results
3.1. Principles of wave similarity measurements
The steps for calculating OWS from optically recorded samples are illustrated in Fig. 1. The key steps in OWS analysis from optically recorded signals (Fig. 1A) are windowing (Fig. 1B), normalisation (equation (2)), feature alignment (Fig. 1C) and OWS calculation (Fig. 1D and equations 3, 4)). These steps result in a wave similarity map such as shown in Fig. 1E. The application of OWS during arrhythmia (ventricular fibrillation, VF) is shown in Supplementary Fig. S1. The calculation of the regularity index (RI) follows the same processing steps of windowing, normalisation and alignment. However, for calculation of RI the wave distance is instead calculated (equation (5)) and collapsed to 0 or 1 based on a defined distance threshold (equation (6)). The relationship between these two measures is explored below.
3.2. Wave similarity detects temporal heterogeneity in computationally modelled and optically recorded action potentials
To initially validate whether this approach could be utilised to quantify temporal regularity, we measured OWS in model action potentials. Guinea pig and mouse model action potentials were utilised, with and without temporal alterations. Temporal alterations replicating alternans (Fig. 2A and B) were generated by altering the conductance of the respective repolarising potassium channels in each model for odd beats only, as described in the methods. In the absence of noise, OWS was reduced by the presence of alternans. For guinea pig action potentials, alternans reduced OWS from 1 to 0.68 (Fig. 2Aii), while mouse alternans reduced OWS from 1 to 0.80 (Fig. 2Bii). These differences in measured OWS values are maintained as noise levels are increased to those expected in experimental setups (noise of 8–20% as observed in our experimental work, highlighted in grey in Fig. 2A and B). As noise is increased beyond these levels however, both the temporally regular and irregular signals exhibit similar and low OWS values, reducing to circa 0.050 and 0.11 for the guinea pig and mouse respectively.
APD alternans magnitude (ΔAPD80) is increased in the model data without noise, from 0 ms to 268 ms and 17.1 ms for guinea pig and mouse action potentials respectively, Fig. 2Aiii and Biii. Increased ΔAPD80 in the temporally irregular signals is maintained at experimental noise levels. As noise is increased beyond these experimental values, it is no longer possible to detect the differences in APD alternans magnitude between the temporally regular and irregular signals. This convergence occurs quicker than for OWS, suggesting improved sensitivity for alternans detection compared to standard alternans quantification method. For example, at 25% noise level OWS is still significantly lower in the guinea pig temporally regular signal (0.29 ± 0.01 vs 0.20 ± 0.004, no alternans vs alternans, P < 0.0001). For ΔAPD80 however, there is no significant difference (187.4 ± 8.4 ms vs 187.5 ± 9.7 ms, no alternans vs alternans, P = 0.99). Similarly, for mouse action potentials at 25% noise OWS is still lower (0.38 ± 0.01 vs 0.28 ± 0.01, no alternans vs alternans, P < 0.0001), but there is no difference in ΔAPD80 amplitude (18.8±1 ms vs 17.2 ± 0.9 ms, no alternans vs alternans, P = 0.26).
Dynamic decreases in PCL are known to induce greater temporal action potential variability due to the occurrence of AP alternans (Johnson et al., 2010). As an initial investigation into the use of OWS analysis in optically recorded action potentials, we therefore quantified OWS at progressively shorter PCLs in guinea pig whole hearts and mouse atria, Fig. 3. In both experimental models, OWS decreases with decreasing PCL as expected, Fig. 3A and B. OWS analysis therefore is an effective measure of temporal homogeneity in optically mapped datasets. To test the sensitivity of OWS measure to window setting, we repeated the analysis of OWS as a function of PCL in the guinea pig heart with altering window lengths (50–1000 ms). In all cases, OWS reduced with decreasing PCL, Supplementary Fig. S2A.
3.3. Correlation of wave similarity and regularity index measures
The measurement of OWS and the electrogram derived regularity index (RI) (Faes et al., 2002) is set out by equations 4, (6)) respectively. To test the correlation between these two methods, RI analysis was applied to guinea pig whole hearts at different distance thresholds (ε). Fig. 4A and B demonstrate that, as expected, areas of low OWS in an individual heart concurrently demonstrate low RI when an appropriate threshold value is set (e.g. when ε = π/6, r2 = 0.79). However, when a small distance (high similarity) threshold is set, correlation between the measures is lost (e.g. when ε = π/18, r2 = 0.012). Furthermore, setting a large distance threshold such as ε = π/3 is observed to reduce the dynamic range of the RI measure, as many areas are measured to have RI = 1 when the OWS measure suggests there are differences in temporal homogeneity (OWS values ranging from 0.77 to 0.94). Setting of the threshold value is also observed to affect mean RI measurements across whole hearts at various PCLs, Fig. 4C. Again, setting a large distance threshold of π/3 leads to many samples of RI = 1, reducing dynamic range. A high similarity, low distance, threshold of π/18 reduces correlation with OWS measure, (r2 = 0.51 compared to r2 = 0.86 when ε = π/6).
These results demonstrate that a key aspect of RI analysis is setting of an appropriate threshold value, ε. We therefore measured RI in guinea pig whole hearts as a function of changing threshold as shown in Fig. 4D. As expected, and proportional to the OWS response (Fig. 3C), RI decreased with decreasing PCL. RI therefore, like OWS, appears to be an effective measure of temporal homogeneity in optically mapped datasets. However, considering that the choice of ε dramatically alters ‘baseline’ values and response to decreasing PCL we opted to utilise OWS in subsequent studies.
3.4. Beat-to-beat wave similarity detects short periods of temporal instability
Acute variations in pacing cycle length are known to induce temporal instability in the electrical behaviour of the heart (O’Shea et al., 2019a). To test OWS analysis in this context, we utilised this parameter to analyse beat-to-beat heterogeneity in a guinea pig whole heart which underwent a sudden increase in pacing frequency from 5 Hz to 8Hz and then returned to 5Hz, Fig. 5A–D. OWS analysis identified a transient period of temporal heterogeneity immediately after the onset of 8 Hz pacing (Fig. 5A and B). Similarly, return to 5 Hz pacing induces a reduction in OWS from 0.99 to 0.75, but again the temporal stability of the heart recovers quickly, Fig. 5C and D. Interestingly, immediately after the cycle length change a substantive heterogeneity in OWS is observed between the apex and the base of the heart. Follow up studies will address the pathophysiological significance of this regional heterogeneity.
We also investigated how OWS performs in the setting of spontaneous electrical premature atrial activity (PAA). Mouse left atrium was exposed to 150 ms PCL and areas of the trace exhibiting PAAs were analysed, Fig. 5E. The morphology of the OAPs of the PAAs is seen to be markedly distinct, with OWS = 0.49 ± 0.02 and 0.53 ± 0.02 when compared to the APs immediately before and after the PAA. In contrast, OWS = 0.73 ± 0.03 for APs following the PAA, and 0.77 ± 0.02 for all other ‘control’ beats, Fig. 5E and F. These results are collaborated by traditional action potential duration (APD) analysis. APD70 of the ‘control’ beats in this study was 13.3 ± 0.02, vs 12.9 ± 0.07 for the PAAs for example. OWS mapping therefore suggests that the PAAs are associated with potentially proarrhythmic periods of temporal instability.
3.5. Optical wave similarity detects and quantifies alternans and predicts ventricular fibrillation onset
Dynamic pacing at shorter PCLs induces alternans thereby increasing temporal heterogeneity. Previous work has demonstrated that the PCL required to initiate VF is shorter during SNS of intact guinea pig hearts, showing that SNS is protective against the onset of ventricular fibrillation by the suppression of alternans (Winter et al., 2018). To test how the OWS analysis compares to established measures of beat to beat heterogeneity, namely APD alternans, OWS and alternans magnitude were quantified in guinea pig hearts loaded with a voltage-sensitive dye during SNS and control (no SNS) conditions (preceding onset of VF), Fig. 6A–C. As previously shown, APD alternans magnitude at increased PCL was shortened (Fig. 6Aii and C). Control hearts showed a significantly increased alternans amplitude compared to SNS at PCL of 100 ms (ΔAPD80 = 9.95 ± 1.6 ms vs 4.07 ± 0.9 ms, control vs SNS, P = 0.0078). OWS analysis showed comparable changes in temporal heterogeneity. As PCL is decreased, OWS decreases (Fig. 6Ai and B) and at PCL of 100 ms OWS = 0.91 ± 0.02 vs 0.98 ± 0.02 (control vs SNS, P = 0.0106). Similar results were seen at all but the longest window settings tested, Supplementary Fig. S2B. There were also regional differences in the onset of temporal heterogeneity, Fig. 6E–F. In control conditions at PCL = 90 ms, the left ventricular (LV) apex is observed to exhibit low OWS when compared to the right ventricle (RV), OWS = 0.82 ± 0.03 vs 0.94 ± 0.01, LV apex vs RV, P = 0.045). In SNS at PCL = 90 ms, the LV apex (OWS = 0.89 ± 0.02) is again observed to exhibit lower OWS versus both the RV (0.96 ± 0.01, P = 0.0317) and LV base (0.96 ± 0.01, P = 0.0362). Therefore, OWS effectively distinguishes between physiological interventions that affect temporal homogeneity in optically recorded action potentials, demonstrating here that hearts without SNS are less temporally stable at the same PCLs. OWS also highlights regional variations in temporal stability, which may have arrhythmogenic consequences.
The hearts without SNS (control) enter VF at slower PCLs (Fig. 6) (Winter et al., 2018), demonstrating the use of OWS in a similar manner as APD alternans as a metric for arrhythmia inducibility. The rapid and disorganised OAPs recorded in arrhythmic data such as during VF makes traditional parameter measurements (APD, alternans, cycle lengths etc) difficult to perform (Kirchhof et al., 1998), Fig. 6D. We therefore tested whether OWS analysis could be used to quantify data during VF. Indeed, OWS is greatly decreased during VF, Fig. 6B, suggestive of large temporal heterogeneity in OAPs recorded during arrhythmia. OWS during VF was 0.37 ± 0.02 and 0.37 ± 0.01 for control and SNS respectively, and there was no difference between conditions (P = 0.90).
We also mapped dominant frequency in the hearts during VF. No correlation was found between the two measures (Supplementary Figs. S3A–B). Dominant frequency during VF was reduced in control hearts compared to those with SNS (14.4 ± 0.3 vs Hz 16.4 ± 0.5 Hz, P = 0.0085, Supplementary Fig. S3C).
4. Discussion
Here, we have developed and tested the application of OWS mapping as an approach for analysis of pro-arrhythmic and arrhythmic activity in cardiac optical mapping datasets, Fig. 1. This approach has been inspired primarily from the development of ‘regularity index’ measures, originally designed for use in atrial electrograms during AF (Faes et al., 2002; Ravelli et al., 2005). Arguably, however, the results shown here demonstrate that the most promising use of OWS analysis in optical datasets may be mapping temporal stability of OAPs before the occurrence of arrhythmias, thus providing a novel index identifying period of electrical instability directly preceding arrhythmias. In Fig. 6 for example, SNS stimulation is shown to supress temporal heterogeneity induced by decreasing PCL, Fig. 6B. These results align with alternans analysis of the datasets with the same sensitivity, with a significant difference between the control and SNS groups evident with both measures at PCL = 100 ms, Fig. 6B and C (Winter et al., 2018). Measuring APD alternans however requires the measurement of baseline signal level, activation time (for which several different methods are proposed (O’Shea et al., 2019a)), peak time and repolarisation time from the OAPs. As shown in Fig. 2, noise can therefore corrupt APD alternans measures, and restrictive definitions on activation and repolarisation times can prevent analysis of APD, Fig. 6Aii. In contrast, OWS analysis foregoes the need for quantification of these specific and inconsistently defined signal features/points (Laughner et al., 2012).
Furthermore, misidentification of these parameters may lead to false positives or false negatives and may explain the loss of significant difference between the two conditions at PCL = 90 ms, which is evident with OWS analysis. OWS analysis therefore provides a simpler and more easily reproducible processing and analysis pipeline that incorporates entire OAP signal morphology alternations. Additionally, OWS measurement, like alternans analysis, can be performed on a beat-to-beat basis to highlight acute periods of instability, Fig. 5. However, in contrast to alternans analysis, OWS is not designed to study a specific form of temporal instability, and hence can be applied to analyse nonperiodic alterations in cardiac electrophysiology, such as apparently random alterations in beat-to-beat variability that are observed in varied proarrhythmic conditions (Johnson et al., 2010).
OWS, as expected, is proportional to RI mapping results as shown in Fig. 4. RI analysis has been utilised in several important studies of temporal regularity including deciphering the difference in electrical behaviour during paroxysmal and chronic AF (Ravelli et al., 2005). Fig. 4D however shows that the selection of the threshold value ε impacts greatly on the measured baseline RI values (at slowest PCL), and the response to decreased PCL. OWS analysis did not involve the setting of such a cut off value, so was deemed more appropriate for these initial studies into the effectiveness of regularity-based measures in optical mapping. Furthermore, the dynamic range of measured OWS values can be reduced by threshold selection. For example, many samples demonstrate mean RI values of 1 when ε = π/3, despite exhibiting a range of OWS values (0.77–0.94), Fig. 4C. RI mapping therefore may result in subtle changes in waveform morphology temporal stability, for example with small changes in PCL, not being identified.
During arrhythmia (in this case VF), OWS detects an increase in temporal heterogeneity, Fig. 6B and D. This demonstrates that it can be used as a simple marker for arrhythmia onset. However, further studies are required to extend its use to classify sub-types of arrhythmia or arrhythmia severity in optical mapping data. The same alignment and windowing strategy as used for the non-arrhythmic (minima before and after the alignment time) was used to analyse the hearts during VF. Furthermore, during VF the use of equation (1) to detect peaks and hence define alignment times is potentially flawed due to low signal amplitude and regional heterogeneity in activation rates. An important future study therefore would be optimisation of identifying active times for arrhythmic data (Hajimolahoseini et al., 2018).
Another important consideration is how much lower OWS values report noise in the signal compared to physiological variations. From the model studies conducted, it is observed that OWS decreases with increased noise, and asymptotically approaches a low but non-zero value as noise is increased to levels far beyond those we saw in our experimental recordings, where it can be assumed that any underlying regularity is completely masked by noise. The values of OWS observed in the extreme noise model signals (circa 0.05 and 0.11 for guinea pig and mouse respectively) are much less than the values of OWS measured during VF (0.37 ± 0.02), signifying that there is still regularity in the signals. This suggests that, although noise clearly impacts OWS analysis (Fig. 2A and B), it could still be utilised as a method of sub-classifying arrhythmias based on temporal stability. Further studies looking into distinct arrhythmia types are required to confirm this hypothesis, as in the present study only VF was studied, with and without SNS. Analysis resulted in the same values of OWS being recorded in both conditions, suggesting no difference in these arrhythmias in terms of temporal stability (Fig. 6B).
OWS provides a single metric designed to report temporal stability. Analysis of electrogram recordings however suggest that value is gained by utilising these measures concurrently with other measures to identify critical sources or substrates. These measures can combine OWS analysis with other time domain (Baher et al., 2019) (e.g. cycle length by barycentre estimation (Ravelli and Mase, 2014)) or frequency domain metrics (Chang et al., 2013). Therefore, rate and regularity are combined, and it has previously been shown how drivers of AF can exhibit rapid (i.e. high dominant frequency) but regular (high OWS) electrical impulses (Warren et al., 2006). The fact that (i) no correlation was observed between dominant frequency and OWS measures (Supplementary Figs. S3A–B) and (ii) dominant frequency analysis distinguished between control and SNS conditions when OWS does not (Fig. 6E and Supplementary Fig. S3C) supports the idea that these two measures contain divergent information about the electrical behaviour of cardiac tissue. It is suggested that a combined approach, in electrogram mapping, allows classification of sites not just simply by temporal regularity, but also into drivers/sources of arrhythmia and arrhythmia substrates (Ravelli and Mase, 2014). The application of such an approach for optical data therefore warrants further investigation.
As highlighted, a potential advantage of OWS over other methods is the more limited number of signal features that need to be identified, increasing ability for automated analysis. However, optical mapping experiments are conducted in several experimental models with distinct AP morphologies. Furthermore, alongside OAPs, cytosolic and sarcoplasmic reticulum calcium concentrations can be optically measured with calcium sensitive dyes (Wang et al., 2014; Jaimes et al., 2016). The recorded optical calcium transients will also exhibit a distinct wave morphology compared to OAPs. Therefore, further validation and optimisation of OWS is required with different models and fluorescent dyes. In these studies, OWS is shown to be slightly dependent on window size, although only very long window size is shown to effect results of decreasing PCL or applying SNS, Supplementary Fig. S2. More automated windowing methods, including using time or frequency domain based measured features, may improve the method.
A key aspect of this work is the incorporation of these techniques into our freely available mapping software ElectroMap (www.github/CXO531/ElectroMap) (O’Shea et al., 2019a). From ElectroMaps updated user interface, OWS and RI mapping can be applied with user defined alignment strategy, distance threshold and windowing options, broadening the application of these analyses to different experimental models and fluorescent sensors not presently tested.
5. Conclusion
OWS mapping provides effective measures of temporal regularity that can be applied in optical datasets. Using these methods, physiological alternations down to single beat timescales can be quantified, and different states can be classified which are known to suppress arrhythmia. By considering the whole signal morphologies of OAPs, the definition of specific signal features is not required, and alterations in any part of the AP will contribute to the local OWS measure.
Footnotes
Supplementary data to this article can be found online at https://doi.org/10.1016/j.pbiomolbio.2019.12.004.
Contributor Information
Kashif Rajpoot, Email: k.m.rajpoot@bham.ac.uk.
Davor Pavlovic, Email: d.pavlovic@bham.ac.uk.
Funding
This work was funded by the EPSRC studentship (Sci-Phy-4-Health Centre for Doctoral Training L016346) to D.P., K.R. and L.F., Wellcome Trust Seed Award Grant (109604/Z/15/Z) to D.P., British Heart Foundation Grants (PG/17/55/33087, RG/17/15/33106, FS/19/12/34204, FS/19/16/34169) to D.P., European Union (grant agreement No 633196 [CATCH ME] to P.K. and L.F.), British Heart Foundation (FS/13/43/30324 to P.K. and L.F.; PG/17/30/32961 to P.K. and A.H., Accelerator Award AA/18/2/34218 to the Institute of Cardiovascular Sciences), and Leducq Foundation to P.K. J.W. is supported by the British Heart Foundation (FS/16/35/31952).
Author contributions
C.O., J.W., A.P.H., J.N.C., P.K., L.F., K.R. and D.P., designed the research. C.O., J.W., A.P.H. and D.M.J. conducted experiments. C.O. produced analysis algorithms, incorporated analysis into ElectroMap software and analysed data. All authors contributed to writing the manuscript.
Appendix A. Supplementary data
The following are the Supplementary data to this article:
References
- Atienza F., Martins R.P., Jalife J. Translational research in atrial fibrillation: a quest for mechanistically based diagnosis and therapy. Circulation: Arrhythmia and Electrophysiology. 2012;5:1207–1215. doi: 10.1161/CIRCEP.111.970335. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Baher A. Recurrence quantification analysis of complex-fractionated electrograms differentiates active and passive sites during atrial fibrillation. J. Cardiovasc. Electrophysiol. 2019 doi: 10.1111/jce.14161. [DOI] [PubMed] [Google Scholar]
- Bondarenko V.E. Computer model of action potential of mouse ventricular myocytes. Aust. J. Pharm.: Heart and Circulatory Physiology. 2004;287:H1378–H1403. doi: 10.1152/ajpheart.00185.2003. [DOI] [PubMed] [Google Scholar]
- Caldwell J., Redfearn D. Ablation of complex fractionated atrial electrograms in catheter ablation for AF; where have we been and where are we going? Curr. Cardiol. Rev. 2012;8:347–353. doi: 10.2174/157340312803760848. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Chang S.-L. Electrophysiological characteristics of complex fractionated electrograms and high frequency activity in atrial fibrillation. Int. J. Cardiol. 2013;168:2289–2299. doi: 10.1016/j.ijcard.2013.01.194. [DOI] [PubMed] [Google Scholar]
- Clerx M., Collins P., de Lange E., Volders P.G.A. Myokit: a simple interface to cardiac cellular electrophysiology. Prog. Biophys. Mol. Biol. 2016;120:100–114. doi: 10.1016/j.pbiomolbio.2015.12.008. [DOI] [PubMed] [Google Scholar]
- Fabritz L. Effect of pacing and mexiletine on dispersion of repolarisation and arrhythmias in ΔKPQ SCN5A (long QT3) mice. Cardiovasc. Res. 2003;57:1085–1093. doi: 10.1016/s0008-6363(02)00839-8. [DOI] [PubMed] [Google Scholar]
- Faes L., Nollo G., Antolini R., Gaita F., Ravelli F. A method for quantifying atrial fibrillation organization based on wave-morphology similarity. IEEE (Inst. Electr. Electron. Eng.) Trans. Biomed. Eng. 2002;49:1504–1513. doi: 10.1109/TBME.2002.805472. [DOI] [PubMed] [Google Scholar]
- Hajimolahoseini H., Hashemi J., Gazor S., Redfearn D. Inflection point analysis: a machine learning approach for extraction of IEGM active intervals during atrial fibrillation. Artif. Intell. Med. 2018;85:7–15. doi: 10.1016/j.artmed.2018.02.003. [DOI] [PubMed] [Google Scholar]
- Holmes A.P. A regional reduction in ito and IKACh in the murine posterior left atrial myocardium is associated with action potential prolongation and increased ectopic activity. PLoS One. 2016;11:e0154077. doi: 10.1371/journal.pone.0154077. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Jaimes R., 3rd A technical review of optical mapping of intracellular calcium within myocardial tissue. Am. J. Physiol. Heart Circ. Physiol. 2016;310 doi: 10.1152/ajpheart.00665.2015. ajpheart. 2015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Johnson D.M. IKs restricts excessive beat-to-beat variability of repolarization during beta-adrenergic receptor stimulation. J. Mol. Cell. Cardiol. 2010;48:122–130. doi: 10.1016/j.yjmcc.2009.08.033. [DOI] [PubMed] [Google Scholar]
- Kirchhof P.F., Larissa Fabritz C., Franz M.R. Phase angle convergence of multiple monophasic action potential recordings precedes spontaneous termination of ventricular fibrillation. Basic Res. Cardiol. 1998;93:412–421. doi: 10.1007/s003950050110. [DOI] [PubMed] [Google Scholar]
- Laughner J.I., Ng F.S.F.S., Sulkin M.S., Arthur R.M., Efimov I.R. Processing and analysis of cardiac optical mapping data obtained with potentiometric dyes. Aust. J. Pharm.: Heart and Circulatory Physiology. 2012;303:H753–H765. doi: 10.1152/ajpheart.00404.2012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Li X. An interactive platform to guide catheter ablation in human persistent atrial fibrillation using dominant frequency, organization and phase mapping. Comput. Methods Progr. Biomed. 2017;141:83–92. doi: 10.1016/j.cmpb.2017.01.011. [DOI] [PubMed] [Google Scholar]
- Luo C.-H., Rudy Y. A dynamic model of the cardiac ventricular action potential simulations of ionic currents and concentration changes. Circ. Res. 1994;74:1071–1096. doi: 10.1161/01.res.74.6.1071. [DOI] [PubMed] [Google Scholar]
- Moe G.K., Abildskov J.A. Atrial fibrillation as a self-sustaining arrhythmia independent of focal discharge. Am. Heart J. 1959;58:59–70. doi: 10.1016/0002-8703(59)90274-1. [DOI] [PubMed] [Google Scholar]
- Ng G.A., Brack K.E., Coote J.H. Effects of direct sympathetic and vagus nerve stimulation on the physiology of the whole heart - a novel model of isolated Langendorff perfused rabbit heart with intact dual autonomic innervation. Exp. Physiol. 2001;86:319–329. doi: 10.1113/eph8602146. [DOI] [PubMed] [Google Scholar]
- O’Shea C. ElectroMap: high-throughput open-source software for analysis and mapping of cardiac electrophysiology. Sci. Rep. 2019;9:1–13. doi: 10.1038/s41598-018-38263-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- O’Shea C. High-throughput analysis of optical mapping data using ElectroMap. J. Vis. Exp. 2019:1–10. doi: 10.3791/59663. [DOI] [PubMed] [Google Scholar]
- Pandit S.V., Jalife J. Rotors and the dynamics of cardiac fibrillation. Circ. Res. 2013 doi: 10.1161/CIRCRESAHA.111.300158. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ravelli F., Mase M. Computational mapping in atrial fibrillation: how the integration of signal-derived maps may guide the localization of critical sources. Europace. 2014;16:714–723. doi: 10.1093/europace/eut376. [DOI] [PubMed] [Google Scholar]
- Ravelli F. Wave similarity mapping shows the spatiotemporal distribution of fibrillatory wave complexity in the human right atrium during paroxysmal and chronic atrial fibrillation. J. Cardiovasc. Electrophysiol. 2005;16:1071–1076. doi: 10.1111/j.1540-8167.2005.50008.x. [DOI] [PubMed] [Google Scholar]
- Riley G., Syeda F., Kirchhof P., Fabritz L. An introduction to murine models of atrial fibrillation. Front. Physiol. 2012;3(AUG):1–16. doi: 10.3389/fphys.2012.00296. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Schotten U., Verheule S., Kirchhof P., Goette A. Pathophysiological mechanisms of atrial fibrillation: a translational appraisal. Physiol. Rev. 2011;91:265–325. doi: 10.1152/physrev.00031.2009. [DOI] [PubMed] [Google Scholar]
- Shattock M.J. Restitution slope is principally determined by steady-state action potential duration. Cardiovasc. Res. 2017;113:817–828. doi: 10.1093/cvr/cvx063. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ten Tusscher K.H.W.J., Hren R., Panfilov A.V. Organization of ventricular fibrillation in the human heart. Circ. Res. 2007;100 doi: 10.1161/CIRCRESAHA.107.150730. [DOI] [PubMed] [Google Scholar]
- Umapathy K. Phase mapping of cardiac fibrillation. Circulation: Arrhythmia and Electrophysiology. 2010;3:105–114. doi: 10.1161/CIRCEP.110.853804. [DOI] [PubMed] [Google Scholar]
- Wang L. Optical mapping of sarcoplasmic reticulum Ca2+ in the intact heart: ryanodine receptor refractoriness during alternans and fibrillation. Circ. Res. 2014;114:1410–1421. doi: 10.1161/CIRCRESAHA.114.302505. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Warren M. Mechanisms of wave fractionation at boundaries of high-frequency excitation in the posterior left atrium of the isolated sheep heart during atrial fibrillation. Circulation. 2006;113:626–633. doi: 10.1161/CIRCULATIONAHA.105.575340. [DOI] [PubMed] [Google Scholar]
- Winter J. Sympathetic nervous regulation of cardiac alternans in the intact heart. Front. Physiol. 2018;9:1–12. doi: 10.3389/fphys.2018.00016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Yu T.Y. An automated system using spatial oversampling for optical mapping in murine atria. Development and validation with monophasic and transmembrane action potentials. Prog. Biophys. Mol. Biol. 2014;115:340–348. doi: 10.1016/j.pbiomolbio.2014.07.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Yu T.Y. Optical mapping design for murine atrial electrophysiology. Comput. Methods Biomech. Biomed. Eng.: Imaging & Visualization. 2017;5:368–378. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.