Next Article in Journal
Structural and Spectral Properties of Chordal Ring, Multi-Ring, and Mixed Graphs
Previous Article in Journal
Sharp Results for a New Class of Analytic Functions Associated with the q-Differential Operator and the Symmetric Balloon-Shaped Domain
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Relationship between Cardiomyocyte Action Potentials and Ion Concentrations: Machine Learning Prediction Modeling and Analysis of Spontaneous Spiral Wave Generation Mechanisms

by
Jing Bai
1,2,
Chunfu Zhang
1,2,
Yanchun Liang
3,*,
Adriano Tavares
2,*,
Lidong Wang
1,*,
Xue Gu
2 and
Ziyao Meng
2
1
School of Data Science, Zhuhai College of Science and Technology, Zhuhai 519041, China
2
Department of Industrial Electronics, University of Minho, 4800-058 Guimaraes, Portugal
3
School of Computer Science, Zhuhai College of Science and Technology, Zhuhai 519041, China
*
Authors to whom correspondence should be addressed.
Symmetry 2024, 16(9), 1136; https://doi.org/10.3390/sym16091136
Submission received: 4 July 2024 / Revised: 29 August 2024 / Accepted: 29 August 2024 / Published: 2 September 2024
(This article belongs to the Section Computer)

Abstract

:
The changes in cardiomyocyte action potentials are related to variations in intra- and extracellular ion concentrations. Abnormal ion concentrations can lead to irregular action potentials, subsequently affecting wave propagation in myocardial tissue and potentially resulting in the formation of spiral waves. Therefore, timely monitoring of ion concentration changes is essential. This study presents a novel machine learning classification model that predicts ion concentration changes based on action potential variation data. We conducted simulations using a single-cell model, generating a dataset of 850 action potential variations corresponding to different ion concentration changes. The model demonstrated excellent predictive performance, achieving an accuracy of 0.988 on the test set. Additionally, the causes of spontaneous spiral wave generation in the heart are insufficiently studied. This study presents a new mechanism whereby changes in extracellular potassium ion concentration leads to the spontaneous generation of spiral waves. By constructing composite myocardial tissue containing both myocardial and fibroblast cells, we observed that variations in extracellular potassium ion concentration can either trigger or inhibit cardiomyocyte excitation. We developed three tissue structures, and by appropriately adjusting the extracellular potassium ion concentration, we observed the spontaneous generation of single spiral waves, symmetrical spiral wave pairs, and asymmetrical double spiral waves.

1. Introduction

The heart is the powerhouse of the human circulatory system, functioning to propel blood throughout the body via contraction and relaxation. Cardiac contraction is triggered by electrical impulses originating from the sinoatrial node, which then propagate through the atria and ventricles. Upon receiving these electrical impulses, cardiac muscle cells rapidly depolarize, generating action potentials. Action potentials are the physiological basis for muscle contraction and serve as objective markers for the conduction in excitable cells.
The regulation of cardiac function heavily relies on the action potential of cardiomyocytes, which is essential for maintaining a normal heart rhythm and effective cardiac contraction [1]. Action potentials in cardiomyocytes are facilitated by changes in ion currents within the cells, driven by specific ion concentrations inside and outside the cell membrane. Any deviation in these ion concentrations can lead to abnormal ion currents, causing distorted action potentials [2,3]. These irregular electrical activities present as arrhythmias on an electrocardiogram, such as heart block, tachycardia, and ventricular fibrillation, potentially compromising cardiac function and posing life-threatening risks [4,5,6]. Therefore, it is crucial to monitor changes in ion concentrations within cardiomyocytes and uphold the balance of these ions to ensure proper cardiac function.
Accurately determining changes in ion concentrations poses a significant challenge within research. It is understood that alterations in ion concentrations manifest in variations in the action potential, with different types of changes leading to distinct action potential forms. As such, our objective is to forecast ion concentration changes by analyzing the shape of the action potential. The impact of diverse ion concentration modifications on the action potential in cardiomyocytes has been extensively explored. For example, an increase in extracellular potassium ion concentration raises the resting membrane potential, shortens the action potential duration (APD), and diminishes membrane excitability [7,8]. A rise in extracellular potassium ion concentration to 10 mmol/L can mitigate APD alternans [9]. Conversely, elevating extracellular sodium ion concentration intensifies depolarization and prolongs the APD [10]. Luo and Rudy utilized mathematical models to anticipate changes in the action potential based on alterations in intracellular calcium ion concentration [11]. However, research distinguishing between changes in ion concentrations inside and outside the cardiomyocyte membrane based solely on the shape of the action potential has not yet been conducted. This is the first research objective of the present study.
Previous studies have shown that changes in extracellular potassium ion concentration primarily affect the resting potential and APD of cardiomyocytes, thereby influencing their excitability [7,8]. In myocardial tissue, such alterations can impact wave propagation. This prompts us to investigate whether variations in potassium ion concentration can induce the spontaneous generation of spiral waves in myocardial tissue. This is the second research objective of the present study. In the heart, cardiomyocytes comprise only a small proportion of the cells, with the majority being non-cardiomyocytes, among which fibroblasts are the most numerous [12,13]. As the heart ages, it undergoes remodeling, with fibroblasts proliferating and differentiating into myofibroblasts [14,15]. It has been extensively demonstrated that there is mutual coupling between cardiomyocytes and fibroblasts (including myofibroblasts), known as myocyte-fibroblast coupling (M-F coupling) [16,17,18]. This means that fibroblasts in myocardial tissue can influence the electrophysiological properties of cardiomyocytes [19,20]. Qu et al. discovered that when the extracellular potassium ion concentration is low, cardiomyocytes exhibit early afterdepolarizations (EADs) [3]. Furthermore, when cardiomyocytes are coupled with fibroblasts, a decrease in extracellular potassium ion concentration exacerbates the formation of EADs, highlighting the significant impact of fibroblasts on cardiomyocytes [21]. Therefore, our study considers myocardial tissue to include both fibroblasts and cardiomyocytes.
For the first research objective, we employed machine learning methods. Machine learning algorithms are capable of efficiently processing large datasets to uncover hidden patterns and relationships. These advantages have led to their widespread application across various fields. In medical diagnostics, machine learning algorithms have been effectively combined with theoretical and experimental methods, yielding significant results [22,23,24]. Redkar et al. employed wrapper feature selection and class balancing techniques to predict drug–target interactions. They evaluated the effectiveness of different machine learning algorithms, such as Decision Tree, Extreme Gradient Boosting, Gaussian Naive Bayes, K-Nearest Neighbor, and Random Forest [25]. Lancaster et al. combined physiological modeling, statistical analysis, and machine learning to create a classifier that differentiates between proarrhythmic and non-proarrhythmic drugs, utilizing metrics from action potentials and intracellular calcium waveforms [26]. Ahme et al. successfully implemented a one-dimensional Convolutional Neural Network (1D-CNN) model for arrhythmia classification, achieving an accuracy of 99% on the test set [27]. In the investigation of cardiac electrophysiological mechanisms, the integration of machine learning algorithms has proven to be particularly significant [28,29]. The fusion of electrophysiological models with machine learning techniques has emerged as a powerful and effective research approach [30,31,32]. Abnormal propagation of electrical waves in the heart can lead to the formation of spiral waves, triggering ventricular tachycardia (VT). These spiral waves breaking up can result in ventricular fibrillation (VF), a condition that can quickly become life-threatening. Mulimano et al. successfully identified patterns of unbroken and broken spiral waves through the use of CNN, offering a valuable tool for spiral wave identification [33]. In a separate study, Jeong et al. utilized an Artificial Neural Network (ANN) model to predict changes in ion channel conductance by comparing abnormal action potentials with standard action potentials. This model demonstrated an accuracy rate of 98% [34].
To predict ion concentration changes based on variations in action potentials, we developed a machine learning model using the ANN. The dataset was acquired through electrophysiological simulations using the Ten Tusscher-Noble-Noble-Panfilov (TNNP) human ventricular model of a single cardiomyocyte [35]. Sodium, potassium, and calcium ion concentrations inside and outside the cardiomyocyte membrane were systematically adjusted, and the subsequent action potentials were recorded. A total of 850 unique action potential variation curves were generated and utilized for training the ANN model. The findings demonstrated that the model successfully predicted ion concentration fluctuations from the action potential data with a high accuracy of 98.8% on the test set.
For the second research task, to more accurately reflect the complexity of the human heart, we constructed a composite myocardial tissue model that included both cardiomyocytes and fibroblasts. The primary component of the composite myocardial tissue was a two-dimensional layer of myocardial tissue, with certain regions locally covered by a specific density of fibroblasts. We explored the impact of K 0 variations on wave propagation in composite myocardial tissue with M-F coupling. We found that changes in K 0 within the composite myocardial tissue can either trigger or suppress cardiomyocyte excitation. Under specific structural configurations within the composite tissue, appropriate adjustments to K 0 can lead to the spontaneous generation of single spiral waves, symmetric spiral wave pairs, and asymmetric double spiral waves. Real heart tissue is complex and influenced by factors such as disease or fibrosis, leading to the spontaneous occurrence of spiral waves. Since K 0 can change due to diseases, the phenomena observed in this study are likely to occur in real hearts. This study is the first to demonstrate that changes in extracellular potassium ion concentration can spontaneously generate spiral waves in composite myocardial tissue.
The main contributions of this article are summarized as follows:
  • We established a dataset of myocardial cell action potentials corresponding to changes in the concentrations of various ion currents inside and outside the cell membrane. Based on this dataset, we developed a new ANN classification model that can accurately predict ion current concentration changes from action potential variations. The accuracy of the model in the test set is 0.988.
  • We have discovered a mechanism for the spontaneous generation of spiral waves in the heart. When certain specific structures are present within composite myocardial tissue, changes in the extracellular potassium ion concentration can trigger the spontaneous generation of spiral waves by myocardial cells in the composite tissue.
The rest of the paper is organized as follows: Section 2 describes the models and methods used for the two objectives. Section 3 presents the results of the two objectives. Section 4 discusses the results of each objective separately. Section 5 concludes the study and outlines future research directions.

2. Materials and Methods

2.1. Constructing the ANN Classification Model: Predicting Ion Concentration Changes Based on Action Potential Curves

2.1.1. Electrophysiological Cell Model

Cardiac cells are composed of cytoplasm and various ions that can move and create currents, resulting in changes in the membrane potential of cardiomyocytes. In the absence of external stimuli, a cardiomyocyte remains in a resting state, characterized by a stable membrane potential difference across the cell membrane, known as the resting potential. This resting potential is primarily maintained by the outward flow of potassium ions. The formation of action potentials in cardiomyocytes is closely related to ion currents across the cell membrane. Since this study focuses on ventricular cardiomyocytes, we will use them as an example to describe the process of action potential formation. The action potential in ventricular cardiomyocytes includes the phases of depolarization and repolarization. The depolarization phase, also known as phase 0, occurs when external stimuli cause the membrane potential to reach the threshold. This triggers the opening of sodium channels in the cell membrane, leading to a rapid influx of sodium ions and a swift rise in the membrane potential. By the end of phase 0, calcium ions also begin to flow into the cell, while the outward flow of potassium ions temporarily decreases. The repolarization phase consists of four stages: phase 1, phase 2, phase 3, and phase 4, during which the cardiomyocyte gradually returns to its resting state. Phase 1, also known as the initial rapid repolarization phase, is characterized by the cessation of sodium ion influx and a transient outward flow of potassium ions. Phase 2, or the plateau phase, involves a slow influx of calcium ions and continued outward flow of potassium ions, with the cardiomyocyte in a refractory period, making it less responsive to external stimuli. Phase 3 is the terminal rapid repolarization phase, where calcium ion influx stops and potassium ions flow out rapidly. Phase 4, known as the resting phase, involves the sodium-potassium pump and sodium-calcium exchange mechanisms restoring ion concentrations inside and outside the cell membrane to pre-stimulus levels.
To obtain more accurate data on the variation of action potentials with ion concentration, this study utilizes data from the human heart model proposed by Ten Tusscher et al. in 2004, commonly referred to in the literature as the Ten Tusscher-Noble-Noble-Panfilov (TNNP) human heart model [35]. The experimental data used in this model encompass the major ion currents, comprehensively reflecting the changes in ion concentration through the changes in currents. Therefore, we employed the single-cell TNNP model for electrophysiological simulations. The dynamical equations of the model are as follows:
d V d t = I i o n + I s t i m C m ,
I i o n = I N a + I K 1 + I t o + I K r + I K s + I C a L + I N a C a + I N a K + I p C a + I p K + I b C a + I b N a .
where V is the myocardial cell membrane voltage (in m V ), t is the time (in m s ), C m = 1.0   μ F / c m 2 is the membrane capacitance of the cardiomyocyte, I i o n is the sum of all transmembrane ionic currents, and I s t i m is the externally applied stimulus current. The meanings and expressions of each ion current are shown in Table 1. In Table 1, E N a ,   E K , E K s , and E C a represent the reversal potentials of their respective ion currents, respectively. Their expressions are as follows:
E X = R T z F l o g X 0 X i for   X = N a + , K + , C a 2 + ,
E X = R T F log K 0 + p K N a N a 0 K i + p K N a N a i .
where N a 0 and N a i represent the extracellular and intracellular concentrations of sodium ions, respectively; K 0 and K i represent the extracellular and intracellular concentrations of potassium ions, respectively; C a 0 and C a i represent the extracellular and intracellular concentrations of calcium ions, respectively. Under normal conditions, N a 0 = 140   m M , N a i = 11.6   m M , K 0 = 5.4   m M , K i = 138.3   m M , C a 0 = 2.0   m M , C a i = 0.00002   m M . Unless otherwise specified, other variables in the model represent the same meanings and values as in reference [35].

2.1.2. Dataset Description

To obtain the dataset of the action potentials corresponding to changes in various ion concentrations, we set six variables: N a 0 , N a i , K 0 , K i , C a 0 , and C a i . We introduced μ to adjust the ion concentrations. Based on the typical range of ion concentration variations, the value of μ ranges from 0.3 , 0.99 1.01 , 2.0 , with an increment of 0.01. Thus, the ion concentrations were varied as μ · N a 0 , μ · N a i , μ · K 0 , μ · K i , μ · C a 0 , and μ · C a i , resulting in 170 values for each variable. We sequentially varied the six variables to obtain action potential data under different ion concentrations, with a basic cycle length of 600   m s , as shown by the black action potential curves in Figure 1. The red curve in Figure 1 represents the action potential under normal conditions ( μ = 1 ).
Figure 2 illustrates the changes in action potentials corresponding to variations in the concentrations of sodium, potassium, and calcium ions inside and outside the cell membrane. From Figure 2, it can be observed that changes in sodium ion concentrations primarily affect phases 0, 2, and 3 of the action potential, as shown in Figure 2a,b. This mainly manifests in the degree of depolarization of the cell membrane and APD. Potassium ion concentration changes mainly influence phases 0, 3, and 4 of the action potential, as illustrated in Figure 2c,d, substantially impacting the degree of depolarization of the cell membrane, APD, and the resting potential of cardiomyocytes. Changes in extracellular calcium ion concentration primarily affect phases 1, 2, and 3 of the action potential, as seen in Figure 2e, mainly influencing the plateau phase and APD. In Figure 2f, the normal value of intracellular calcium ion concentration is 0.00002   m M . Within the range of μ values, changes in calcium ion concentration are minimal, and thus their effect on the action potential is negligible. Therefore, this study disregards the variable of intracellular calcium ion concentration.
Based on the above, our dataset comprises five variables: N a 0 , N a i , K 0 , K i , and C a 0 , categorized into five classes. Each class contains action potential data with 170 values, corresponding to 170 different action potentials. Therefore, the dataset contains a total of 850 samples. During numerical simulations, we recorded the voltage value every 0.02   m s , resulting in 30,000 voltage values for each sample.

2.1.3. Dataset Prepossessing

Before modeling, we processed the dataset as follows:
  • For each sample, we selected a voltage value at 0.4 ms intervals, resulting in 1500 voltage values per sample;
  • The dataset was standardized to improve the model’s stability and performance;
  • The dataset was randomly split into training and testing sets, with 850 samples divided into training and testing datasets in an 8:2 ratio.

2.1.4. ANN Model Construction

To predict ion concentrations, we constructed an ANN model with three fully connected layers. The first input layer consisted of 64 neurons, the second hidden layer contained 32 neurons, and the final output layer included 5 neurons, corresponding to the five types: N a 0 , N a i , K 0 , K i and C a 0 . We selected the ReLU activation function because it provides nonlinear fitting capabilities without causing the vanishing gradient problem. For the final layer, we chose the softmax activation function to convert the output into a probability distribution across the categories.
The model was trained using the Adam optimizer with its default hyperparameters and the cross-entropy loss function, with accuracy on the validation set monitored throughout the training process. Twenty percent of the training data was allocated as the validation set. The training process was set for 200 epochs with a batch size of 50. To mitigate the risk of overfitting caused by the limited data, we assessed the model’s performance through five-fold cross-validation. After training, we evaluated the model’s performance, with the results detailed in Section 3. The workflow of the entire method is shown in Figure 3.

2.2. Constructing the Mathematical Model of Composite Myocardial Tissue: Exploring the Spontaneous Generation of Spiral Waves

Abnormal ion concentrations in cardiomyocytes can result in abnormal action potential curves, as illustrated in Figure 1, increasing the likelihood of spiral waves forming in myocardial tissue. The presence of spiral waves in myocardial tissue is a concerning indicator, as their presence frequently results in arrhythmias [36]. Figure 2 illustrates the varying impacts of different ion concentrations inside and outside the cardiomyocyte membrane on action potentials. For instance, as depicted in Figure 2c, changes in K 0 primarily influence APD and resting potential. Decreasing K 0 lengthens APD and the effective refractory period of the cardiomyocyte, while also reducing the resting potential, resulting in hyperpolarization. Conversely, increasing K 0 shortens the APD and increases the resting potential, leading to depolarization. These alterations influence the excitability of the medium and alter the propagation of electrical signals within myocardial tissue. This study utilizes a composite myocardial tissue comprising both cardiomyocytes and fibroblasts to explore how changes in K 0 can induce the spontaneous formation of spiral waves within the tissue.
The Luo-Rudy Phase I (L-R Phase I) heart model, which includes only the five major currents in the heart, is considered relatively simple yet accurately describes the dynamic behavior of cardiomyocytes [37]. Due to its simplicity and accuracy, this model is widely utilized in research. For our simulations on a two-dimensional myocardial tissue, taking into account computational cost, we incorporated the L-R Phase I heart model along with a passive fibroblast model [38]. The main component of the composite myocardial tissue is a two-dimensional layer of myocardial tissue measuring 8.4   c m × 8.4   c m , discretized into a grid of 300 × 300 points. The coordinates of the grid points are denoted as i , j , with integer values ranging from 1 to 300. Myocardial tissue is partially covered with a certain density of fibroblasts, which couple with cardiomyocytes through gap junctions in the covered area. Since fibroblasts are much smaller than cardiomyocytes, it can be assumed that each grid point can accommodate only one cardiomyocyte but can hold n fibroblasts. Therefore, one cardiomyocyte is electrically coupled with n fibroblasts, with n referred to as the cell coupling number. Because fibroblasts are overlaying cardiomyocytes, wave propagation mainly relies on the cardiomyocytes, so the electrical coupling between fibroblasts is ignored in this study. In the model, the values of some parameters are set as follows: the coupling strength of M-F coupling G g a p = 4   n S , the resting membrane potential of fibroblasts E f = 45   m V , and the membrane conductivity of fibroblasts G f = 4   n S . In the L-R Phase I cardiac model, the normal concentration of extracellular potassium ions is 5.4 m m o l / L . We set the concentration of extracellular potassium ions as a variable. The detailed mathematical model of the composite myocardial tissue is provided in Appendix A.
In numerical simulation, no-flux boundary conditions are used in all simulations. The time derivative is obtained using the first order Euler forward difference method and the second order spatial derivative is obtained using the central difference method with fixed time step of t = 0.02   m s and spatial step of x = y = 0.028   c m . The initial state of the composite medium is set as follows: all cells are in a resting state, with the initial membrane potentials of cardiomyocytes and fibroblasts set to V m = 84 mV, and V f = 55   m V .

3. Results

3.1. Performance Evaluation of the ANN Classification Model

This study utilized several metrics to evaluate the model’s performance in predicting ion concentration changes. Details on performance metrics are provided in Appendix B. Through five-fold cross-validation, we observed an average accuracy of 0.98 on the test sets, indicating that the model does not exhibit severe overfitting. Among all the folds, we selected the results from the fold that demonstrated the best performance. The accuracy and loss curves of the model are illustrated in Figure 4. As seen in Figure 4, both the training and validation curves gradually stabilize with the increase in training epochs. The trained model achieved an accuracy of 0.993 on the training set and 0.988 on the test set.
Additionally, we evaluated the model’s precision, recall, F1-score, and support on both the training and test datasets. As shown in Table 2, the changes in K 0 , K i , and C a 0 were accurately classified in the training dataset, with all achieving precision, recall, and F1-score values of 1.0. The model’s performance on the test dataset reflected its generalization ability. The data in Table 2 indicate that the model achieved an average precision of 0.989, an average recall of 0.988, and an average F1-score of 0.988 on the test set, demonstrating the model’s strong generalization capability.
Figure 5 and Figure 6 illustrate the confusion matrices and ROC curves of the model on the training and test sets, respectively. As shown in Figure 5a, the training set predictions for K 0 , K i , and C a 0 were accurate. Among the 139 samples where changes in N a 0 led to action potential variations, 3 were misclassified as changes in N a i , with an error rate of only 0.02. For the 136 samples where changes in N a i led to AP variations, 2 were misclassified as changes in N a 0 , with an error rate of only 0.01. In the test set, as shown in Figure 5b, only 2 samples in the N a i category were misclassified, while the other four categories were accurately predicted.
In the ROC curve, the y = x line represents a random classification curve. All five classified ROC curves of the ion concentration were distributed in the left area of the random classification curve, and all area under the curve (AUC) values were 1, implying that all of the ion channel conductance were accurately classified. Figure 6 shows a perfect score in all classes in the training and testing datasets.

3.2. Three Structures of the Composite Cardiac Tissue and the Spontaneous Generation of Spiral Waves

In this section, we introduce the three structures of the composite cardiac tissue and the mechanisms of spiral wave generation. To clearly illustrate the formation process of spiral waves, we plotted the pattern of the membrane potential in the cardiac tissue. The brightness in the pattern indicates the voltage levels of the cardiac cells.

3.2.1. The First Configuration of Composite Cardiac Tissue and the Generation of a Single Spiral Wave

In the composite cardiac tissue, fibroblasts are uniformly distributed in two regions, Region 1 and Region 2. The spatial coordinates i , j for Region 1 are i 100 , 129 , j 1 , 50 , and for Region 2 are i 130 , 160 , j 1 , 200 . The extracellular potassium ion concentration in Region 1 is denoted as K 0 , 1 , and in Region 2 as K 0 , 2 . The extracellular potassium ion concentrations in these two regions vary over time as follows:
K 0 , 1 = 3.5 mmol / L ,   K 0 , 2 = 10.0 mmol / L   i f     t < 130   ms
K 0 , 1 = 10.0 mmol / L ,   K 0 , 2 = 2.5 mmol / L   i f     130   ms t < 210   ms
K 0 , 1 = 5.4 mmol / L ,   K 0 , 2 = 5.4 mmol / L   i f   t 210   ms
Numerical simulation results indicate that when K 0 varies according to Equations (5)–(7), a single spiral wave can a single spiral wave can be spontaneously generated in the composite cardiac tissue. The formation process of the spiral wave is illustrated in Figure 7. Initially, since K 0 , 1 in Region 1 is below the normal extracellular potassium concentration of 5.4 m m o l / L , the myocardial cells in Region 1 are excited first at t = 35   m s , as shown in Figure 7b. This gradually forms a target wave in the system, with the myocardial cells in Region 2 being sequentially excited from the bottom to the top during this process. Next, at t = 180   m s , as shown in Figure 7e, the target wave is about to move out of the system boundary. At this time, since K 0 , 1 in Region 1 is higher than the normal extracellular potassium concentration, and K 0 , 2 in Region 2 is lower than the normal concentration, the myocardial cells at the lower end of Region 2 have already spontaneously excited, generating a target wave that propagates outward. However, the target wave cannot propagate in other parts of Regions 1 and 2 because the myocardial cells are still in the effective refractory period. The myocardial cells on the right side of Region 2 have exited the refractory period, so the target wave gradually propagates to the right, appearing as a quarter-circular wave. The target wave then excites the myocardial cells on the right side of Region 2 upward, as shown in Figure 7f. Finally, at t = 270   m s , as shown in Figure 7g, the extracellular potassium ion concentrations in Regions 1 and 2 have returned to normal values, causing the myocardial cells at the top of Region 2 to return to the resting state. The target wave just reaches this area, allowing it to propagate into Region 2, forming the wave tip, which then gradually evolves into a single spiral wave.

3.2.2. The Second Composite Cardiac Tissue Configuration and the Generation Process of Spiral Wave Pairs

In this configuration of the composite cardiac tissue, the middle region of the myocardial layer, with spatial grid coordinates i , j 80 , 220 , is uniformly covered with fibroblasts. The extracellular potassium ion concentration in this region varies over time as follows:
K 0 = 3.5 mmol / L   i f     t < 250   ms
K 0 = 5.4 mmol / L   i f     t 250   ms
Numerical simulation results indicate that when K 0 varies according to Equations (8)–(9), spiral wave pairs can be spontaneously generated in the composite cardiac tissue. The formation process of the spiral wave pairs is illustrated in Figure 8. Initially, at t = 40   m s , due to K 0 in the fibroblast-covered region being lower than the normal concentration, myocardial cells in the covered region self-excite and generate a target wave that propagates outward, as shown in Figure 8b. However, after excitation, these myocardial cells cannot return to the resting state and remain in the effective refractory period, as seen in Figure 8d, thus turning the fibroblast-covered area into a wave-blocking zone. Subsequently, at t = 168   m s , a plane wave with a width of 10 grid points is introduced at the lower boundary of the system to simulate the plane wave generated by the sinoatrial node. When this plane wave encounters the covered region, as illustrated in Figure 8e, it is blocked and broken at the boundary of the covered region and can only propagate along the boundary. Then, at t = 305   m s , as shown in Figure 8f, the plane wave is about to cross the covered region, where K 0 has returned to the normal concentration, allowing the myocardial cells to return to the resting state. The previously blocked area becomes passable again, and the broken plane wave propagates into the covered region, forming two spiral wave heads. Finally, the collision of the two spiral waves formed a symmetrical spiral wave pair.

3.2.3. The Third Composite Myocardial Tissue Configuration and the Formation Process of Double Spiral Wave

The uniform distribution of fibroblasts is a special case; in most scenarios, fibroblasts are distributed non-uniformly. In this section, we discuss the spontaneous generation of spiral waves under a gradient distribution of fibroblast density. In the composite myocardial tissue, fibroblasts are randomly distributed within the region i 81 , 220 , j 51 , 250 , with the fibroblast density (the ratio of occupied grid points to total grid points) varying as a gradient: higher density on the left, lower density on the right. Specifically, the region i 81 , 220 is divided into seven sub-regions: Region 1, i 81 , 100 , fibroblast density is 100 % ; Region 2, i 101 , 120 , fibroblast density is 90 % ; Region 3, i 121 , 140 , fibroblast density is 80 % ; Region 4, i 141 , 160 , fibroblast density is 70 % ; Region 5, i 161 , 180 , fibroblast density is 60 % ; Region 6, i 181 , 200 , fibroblast density is 50 % ; and Region 7, i 201 , 220 , fibroblast density is 40 % . The potassium ion concentration in these seven regions changes synchronously over time, following the pattern described below:
K 0 = 3.5 mmol / L   i f     t < 40   ms
K 0 = 8.0 mmol / L     i f     40   ms t < 120   ms
K 0 = 3.0 mmol / L     i f     120   ms t < 160   ms
K 0 = 5.4 mmol / L   i f     t 160   ms
Numerical simulation results indicate that when K 0 varies according to Equations (10)–(13), a double spiral wave can be spontaneously generated in the composite cardiac tissue. The formation process of double spiral waves is illustrated in Figure 9. Initially, when K 0 in the covered region is lower than the normal extracellular potassium concentration, regions with higher fibroblast density will self-excite first, generating target waves that propagate outward, as shown in Figure 9b. Subsequently, when K 0 in the covered region is higher than the normal extracellular potassium concentration, the myocardial cells return to a resting state. However, due to the varying fibroblast densities in the covered region, the time it takes for the myocardial cells to return to the resting state differs across regions. Then, during the period 120   m s t < 160   m s , K 0 in the covered region again falls below the normal extracellular potassium concentration, causing myocardial cells in areas with higher fibroblast density to excite once more, as depicted in Figure 9d. Myocardial cells that are in the refractory state become wave-blocking zones, so the wave does not spread outward widely; instead, a few myocardial cells that have returned to the resting state are re-excited, as shown in Figure 9e. The excitation wave propagates along the edge of the blocking zone. Finally, when K 0 in the covered region returns to normal, the myocardial cells within the blocking zones quickly return to the resting state. The excitation wave then starts to propagate inward, forming two wave tips, as shown in Figure 9f. These further evolve into a pair of spiral waves, as illustrated in Figure 9g. As time progresses, the distance between the two wave tips increases, resulting in the formation of a double spiral wave. Due to the uneven distribution of fibroblasts, the double spiral wave was not perfectly symmetrical.

4. Discussion

In this study, we performed electrophysiological simulations of myocardial cells to accomplish the following two tasks:
  • We predicted and classified the changes in ion concentration based on action potential shapes using a machine learning algorithm with ANN layers. Through electrophysiological simulations of single myocardial cells, we generated a dataset of action potentials corresponding to changes in five ion concentrations. We developed an ANN classification model that accurately predicts ion concentration changes based on action potential variations, achieving an accuracy of 0.988 on the test set.
  • We conducted electrophysiological simulations of a two-dimensional composite myocardial tissue. By structuring the tissue and altering the extracellular potassium ion concentration K0, we induced self-excitation in myocardial cells, resulting in the generation of single spiral wave, spiral wave pair, and double spiral wave within the two-dimensional composite myocardial tissue.

4.1. ANN Classification Model

This study presents an ANN model designed to predict ion concentration changes based on action potential variation curves. We focused on changes in five types of ion concentrations: N a 0 , N a i , K 0 , K i , and C a 0 . Using the TNNP single-cell electrophysiological model, we generated an AP dataset comprising 850 distinct AP variation curves, with each class including 170 action potential variation curves. The model achieved an accuracy of 0.988 under the current parameters, and other evaluation metrics also performed well, demonstrating that ion concentration changes can be accurately predicted based on action potential variation curves. Monitoring ion concentration changes in myocardial cells is challenging, yet normal ion concentration variations are crucial for maintaining a regular heart rate. Therefore, the model proposed in this study provides an effective method for predicting intracellular and extracellular ion concentration changes from action potential variation curves.
Additionally, we tested the ANN model with varying hidden layers, from one to three layers, and found that increasing the number of hidden layers did not significantly improve the model’s performance. In fact, adding more layers increased the model’s complexity, reducing its generalization ability. We also tested the model’s performance by changing the training-to-testing dataset ratio to 60 : 40 , 70 : 30 , 75 : 25 , and 80 : 20 to examine the model’s sensitivity to the training dataset size. The results indicated that the training-to-testing ratio had no significant impact on the model’s performance.

4.2. Spontaneous Generation of Spiral Waves in Myocardial Tissue

This study constructs a two-dimensional composite myocardial tissue partially covered by fibroblasts at a certain density. Due to this coverage, there is coupling between the myocardial cells and the fibroblasts in the covered region. When K 0 in the covered region varies over time following a specific pattern, the composite myocardial tissue exhibits the spontaneous generation of a single spiral wave, spiral wave pair, and a double spiral wave.
Fibroblasts are unexcitable cells. Their resting membrane potential is more depolarized than that of myocytes, and their membrane resistance is higher. Although fibroblasts cannot generate action potentials themselves, due to their high membrane resistance, they can passively mimic the electrical activity of the coupled myocardial cells under certain parameters, producing action potential-like responses similar to those of myocardial cells [18,39]. Since the resting membrane potential of fibroblasts is higher than that of myocardial cells, fibroblasts can play dual roles when coupled with myocytes. When the resting potential of fibroblasts is significantly higher than that of myocardial cells, fibroblasts act as a source of stimulus current, enhancing the excitability of the coupled myocardial cells and inducing their excitation. Conversely, if fibroblasts cannot generate stimulus current and require stimulus from myocardial cells to follow the membrane potential changes, they act as current sinks, suppressing the excitability of the coupled myocardial cells [40,41].
To analyze the mechanism of spontaneous spiral wave generation in myocardial cells within three different composite medium structures, we fixed the resting potential of fibroblasts to E f = 45   m V . The myocardial cells and fibroblasts were allowed to evolve from their initial states, and the effects of K 0 variations on both cell types were observed. For this purpose, we plotted Figure 10 to demonstrate the action potentials of myocardial cells and fibroblasts under different values of K 0 . Figure 10a shows the changes in action potentials when the potassium concentration decreases, while Figure 10b shows the changes when the potassium concentration increases. In both subfigures, the black curves represent the action potential changes of myocardial cells and fibroblasts when K 0 = 5.4   m m o l / L , the normal extracellular potassium concentration. In Figure 10, we present the following two scenarios:
  • The changes in the action potentials of myocardial cells without coupling to fibroblasts, indicated by the dashed lines.
  • The changes in the action potentials of myocardial cells and fibroblasts when they are coupled, indicated by the solid lines.
When cardiomyocytes are not coupled with fibroblasts, as shown by the dashed line in Figure 10a, lowering K 0 concentration results in a decreased membrane potential of the cardiomyocytes, indicating hyperpolarization. The lower the K 0 concentration, the greater the degree of cardiomyocyte hyperpolarization. This observation is consistent with the phenomenon observed in Figure 2c. When cardiomyocytes are coupled with fibroblasts, the solid line in Figure 10a reveals that at normal K 0 levels, the fibroblasts’ higher resting potential causes depolarization in the coupled cardiomyocytes, as shown by the black solid line in Figure 10a. However, this depolarization is not sufficient to trigger spontaneous excitation; the cardiomyocytes remain in a mildly depolarized state. At K 0 = 4.0   m m o l / L , the previously hyperpolarized cardiomyocytes, influenced by the fibroblasts, exhibit an increased degree of depolarization. When K 0 = 3.5   m m o l / L , the hyperpolarization of the cardiomyocytes is more pronounced, resulting in an even lower membrane potential. In this case, the increased potential difference between the cardiomyocytes and fibroblasts enhances the current source effect of the fibroblasts, raising the membrane potential of the cardiomyocytes. When the membrane potential reaches the excitation threshold, spontaneous excitation occurs in the cardiomyocytes (as seen in the blue solid line in Figure 10a). Due to the influence of fibroblasts, the excited cardiomyocytes remain in a highly depolarized state, or the effective refractory period, and do not return to the resting state, making them unable to re-excite. As the K 0 decreases further, the hyperpolarization of the cardiomyocytes intensifies, resulting in an even lower membrane potential. The current source effect of the fibroblasts becomes stronger, leading to faster and greater spontaneous excitation in the cardiomyocytes, which then remain in the effective refractory period.
If K 0 increases, when cardiomyocytes are not coupled with fibroblasts, as indicated by the dashed line in Figure 10b, the elevation in K 0 leads to depolarization of the cardiomyocytes, resulting in an increase in their membrane potential. Moreover, the higher K 0 , the greater the degree of depolarization in cardiomyocytes. This change is consistent with the observations in Figure 2c. When cardiomyocytes are coupled with fibroblasts, as shown by the solid line in Figure 10b, the influence of fibroblasts increases the degree of depolarization in cardiomyocytes. However, even with this increase, the membrane potential does not reach the excitation threshold, and thus the cardiomyocytes do not undergo excitation. Additionally, the membrane potentials of the cardiomyocytes are all less than 65   m V , indicating that the cardiomyocytes are in a relative refractory period. During this period, cardiomyocytes can respond to stimuli above the threshold by generating new excitations.
In summary, when K 0 decreases, cardiomyocytes undergo hyperpolarization. Coupling hyperpolarized cardiomyocytes with fibroblasts facilitates the spontaneous generation of action potentials, and the excited cardiomyocytes remain in the effective refractory period, preventing further excitation. Conversely, if K 0 increases, cardiomyocytes depolarize. When these depolarized cardiomyocytes are coupled with fibroblasts, the degree of depolarization increases, placing the cardiomyocytes in a relative refractory period, requiring stronger stimuli to excite the cells. These phenomena demonstrate that coupling cardiomyocytes with fibroblasts alters the excitability of cardiomyocytes in response to changes in K 0 , either promoting or inhibiting excitation. This, in turn, makes it easier for spiral waves to form in myocardial tissue.
This study constructed three types of composite myocardial tissue structures and adjusted K 0 to simulate the spontaneous generation of spiral waves. Given the complexity of cardiac structure and its potential alterations due to disease or aging, myocardial tissue structures can change, and such changes are often unpredictable. Therefore, when designing the composite myocardial tissue structures, we considered scenarios with a single fibroblast-covered area, two fibroblast-covered areas, and areas with varying fibroblast densities. In each of these cases, we observed the spontaneous generation of spiral waves, indicating that dynamic changes in K 0 can induce spiral wave formation in complex cardiac environments through the self-excitation of cardiomyocytes.

5. Conclusions

This study presents a novel ANN classification model designed to predict ion concentration changes based on the action potential waveforms of cardiomyocytes. We developed a dataset comprising action potentials corresponding to varying ion concentrations and trained an ANN model using this dataset. Multiple performance evaluations of the model demonstrated high accuracy, stability, and robustness, showcasing its superior performance in predicting changes in cardiomyocyte ion concentrations. Given the difficulty in directly detecting ion concentration changes, our model offers a simple and efficient method with practical application value. Furthermore, this study reveals a mechanism for the spontaneous generation of spiral waves in the heart. It is found that in composite myocardial tissue containing both cardiomyocytes and fibroblasts, a decrease in K 0 leads to the spontaneous excitation of cardiomyocytes, which can readily induce the formation of spiral waves. To investigate this, we designed three structures of composite myocardial tissue and modulated K 0 in a specific manner, resulting in the generation of single spiral waves, spiral wave pairs, and double spiral waves in the tissue. During disease progression or cardiac aging, fibroblasts contribute to fibrosis and the formation of infarct scars, complicating the heart’s structure, and K 0 can vary due to disease or medication. Therefore, our numerical simulation results might reflect real cardiac events, helping us understand how cardiac spiral waves spontaneously arise. However, due to the inherent complexity of cardiac structure, the myocardial tissue configurations we simulated are not exhaustive. In future research, we plan to explore a wider range of more realistic tissue structures, such as the impact of fibroblast infiltration into myocardial layers on wave propagation.
Currently, our machine learning model predicts ion concentrations. Since the gating variables of ion currents significantly impact ion flow, future research could involve developing machine learning models to predict the states of ion current gating variables.

Author Contributions

Conceptualization, J.B., Y.L. and L.W.; methodology, J.B. and A.T.; software, J.B.; validation, C.Z., Y.L., A.T., L.W., X.G. and Z.M.; formal analysis, J.B., C.Z., X.G. and Z.M.; investigation, Y.L., A.T. and L.W.; resources, Y.L., A.T. and L.W.; writing—original draft preparation, J.B., C.Z. and X.G.; writing—review and editing, J.B., C.Z, Y.L., A.T., L.W. and Z.M.; visualization, J.B.; supervision, Y.L., A.T. and L.W.; project administration, A.T.; funding acquisition, Y.L. and L.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant number 62372494, the Guangdong Province College Youth Innovative Talent Project, grant number 2024KQNCX013, the Guangdong Engineering Centre Project, grant number 2024GCZX001, the Guangdong Province College Youth Innovative Talent Project, grant number 2023KQNCX132, and the Guangdong Key Disciplines Project, grant number 2021ZDJS138.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

To investigate the spontaneous generation of spiral waves in the composite myocardial tissue due to variations in extracellular potassium ion concentration, we employed the L-R Phase I heart model and the passive fibroblast model. A composite myocardial tissue was constructed by partially covering a two-dimensional myocardial tissue layer with fibroblasts. The dynamical equations for the composite myocardial tissue are as follows:
V m t = I i o n C m + n C m z r G g a p V f V m + D 2 V m ,
I i o n = I N a + I s i + I K + I k 1 + I k p + I b ,
V f t = I f C f + 1 C f r G g a p V m V f ,
I f = G f V f E f .
where V m and V f represent the membrane voltages of the cardiomyocytes and fibroblasts, respectively (in m V ), C m = 1   μ F / c m 2 is the membrane capacitance of the cardiomyocytes, and the total membrane capacitances of the entire cardiomyocyte and fibroblast are C m z = 125   p F and C f = 25   p F , respectively [37], t is time (in m s ), D = 0.001   c m 2 / m s is the diffusion coefficient, I i o n is the total membrane currents of the cardiomyocytes (in μ A / c m 2 ), and I f is the total membrane currents of the fibroblasts (in n A ). The meaning and expression for the ion currents of the cardiomyocytes are detailed in Table A1. n is the cell coupling number, G g a p = 4   n S is the coupling strength of the M-F coupling. G f = 4   n S is the membrane conductance of the fibroblasts, and E f = 45   m V is the resting potential of the fibroblasts. When the spatial point r is covered by fibroblasts, r = 1 ; otherwise, r = 0 .
Table A1. Meaning and expression for each ionic current in the L-R model.
Table A1. Meaning and expression for each ionic current in the L-R model.
Ion Current ExpressionIon Current Meaning
I N a = G ¯ N a · m 3 · h · j · V E N a the fast inward sodium ion current
I S i = G ¯ S i · d · f · V E S i the slow inward calcium ion current
I K = G ¯ K · x · x i · V E K the time-dependent potassium current
I K 1 = G ¯ K 1 · K 1 · V E K 1 the time-independent potassium current
I K p = G ¯ K p · K p · V E K p the plateau potassium current
I b = G ¯ b · V E b the background leakage current
The variables m , h , j , d , f and x are the gating variables for the respective ion currents and satisfy the following type of differential equation:
d y d t = α y 1.0 y β y y .
where y represents the gating variables. In the aforementioned current and gating variable equations, K 1 ,   x i ,   K p ,   α y ,   β y are functions related to the membrane voltage, G ¯ represents the maximum conductance for each ion current, and E denotes the reversal potential of each ion current. Among these, G ¯ N a , G ¯ s i , G ¯ k p , G ¯ b , and E N b are constants, while the maximum conductance and reversal potential of other ion currents depend on ion concentrations. The calculation expressions are as follows:
E N a = R T F ln N a 0 N a i ,
G ¯ K = 0.705 K 0 5.4 ,
E K = R T F ln K 0 + P R N a K · N a 0 K i + P R N a K · N a i ,
G ¯ K 1 = 0.6047 K 0 5.4 ,
E K 1 = R T F ln K 0 K i ,
E K p = E K 1 ,
E s i = 7.7 13.0287 ln C a i .
where P R N a K = 0.001883 is the N a / K permeability ratio, R = 8314   J / k m o l K is the universal gas constant, F = 96485   C / m o l is the Faraday constant, T = 310   K is the temperature at which Luo and Rudy measured their data, N a i = 18   m m o l / L is the intracellular sodium ion concentration, N a 0 = 140   m m o l / L is the extracellular sodium ion concentration, K i = 145   m m o l / L is the intracellular potassium ion concentration, K 0 = 5.4   m m o l / L is the extracellular potassium ion concentration under normal conditions, and C a 0 = 1.8   m m o l / L is the extracellular calcium ion concentration. The intracellular calcium ion concentration evolves according to the following rule:
d C a i d t = 0.0001 I s i + 0.07 0.0001 C a i .
We used the extracellular potassium ion concentration K 0 as the control parameter, while other parameters were consistent with the literature [37]. From the above expressions, it is evident that variations in K 0 will affect G ¯ K ,   G ¯ K 1 ,   E K and E K 1 , subsequently influencing the corresponding ion currents. The changes in ion currents, in turn, affect the action potential.

Appendix B

The first study presented in this paper addresses a multi-class classification problem, therefore, we provide an overview of the relevant performance metrics here.
  • Accuracy: Reflects the proportion of correctly predicted samples relative to the total sample size.
    A c c u r a c y = N u m b e r   o f   c o r r e c t l y   p r e d i c t e d   s a m p l e s T o t a l   n u m b e r   o f   s a m p l e s
    High accuracy indicates that the model can correctly predict the majority of samples’ classes, while low accuracy suggests poor model performance.
  • Precision: Indicates the fraction of samples identified as positive by the model that are truly positive.
    P r e c i s i o n = T r u e   P o s i t i v e s T r u e   P o s i t i v e s + F a l s e   P o s i t i v e s
    A high precision indicates that the model is making fewer false positive predictions, meaning it has a low rate of incorrectly classifying negative instances as positive. On the other hand, a low precision suggests that the model is making more false positive predictions, indicating that it may be less reliable in identifying positive instances.
  • Recall: Measures the proportion of truly positive samples that the model successfully identifies as positive.
    R e c a l l = T r u e   P o s i t i v e s T r u e   P o s i t i v e s + F a l s e   N e g a t i v e s
    A higher recall indicates that the model can correctly identify most true positive samples, while a lower recall suggests that the model may miss some true positive samples.
  • F1-score: Represents the harmonic mean of precision and recall, offering a balanced assessment of the model’s accuracy and completeness.
    F 1 s c o r e = 2 × P r e c i s i o n × R e c a l l P r e c i s i o n + R e c a l l
    The F1-score ranges from 0 to 1, with higher values indicating better model performance. It reaches its best value at 1 and worst value at 0.
  • Confusion matrix for multiclass classification:
    The confusion matrix for multiclass classification is a two-dimensional array. Each row represents a true class, and each column represents a predicted class. The elements on the diagonal of the matrix represent the number of samples correctly predicted by the model, while the other elements represent the number of incorrectly predicted samples.
  • AUC-ROC curve:
    The ROC curve for multiclass classification is a tool used to evaluate the performance of a multiclass classification model. It displays the classifier’s performance across different classes by plotting the binary ROC curves for each class. The Area Under the ROC Curve (AUC) can be used to quantify the overall performance of the model.

References

  1. Grant, A.O. Cardiac ion channels. Circ. Arrhythmia. Electrophysiol. 2009, 2, 185–194. [Google Scholar] [CrossRef] [PubMed]
  2. Nerbonne, J.M.; Kass, R.S. Molecular physiology of cardiac repolarization. Physiol. Rev. 2005, 85, 1205–1253. [Google Scholar] [CrossRef]
  3. Madhvani, R.V.; Xie, Y.; Pantazis, A.; Garfinkel, A.; Qu, Z.; Weiss, J.N.; Olcese, R. Shaping a new Ca2+ conductance to suppress early afterdepolarizations in cardiac myocytes. J. Physiol. 2011, 589, 6081–6092. [Google Scholar] [CrossRef]
  4. Tomaselli, G.F.; Marban, E. Electrophysiological remodeling in hypertrophy and heart failure. Cardiovasc. Res. 1999, 42, 270–283. [Google Scholar] [CrossRef] [PubMed]
  5. Weiss, J.N.; Garfinkel, A.; Karagueuzian, H.S.; Qu, Z.; Chen, P.S. Chaos and the transition to ventricular fibrillation: A new approach to antiarrhythmic drug evaluation. Circulation 1999, 99, 2819–2826. [Google Scholar] [CrossRef] [PubMed]
  6. Zipes, D.P.; Wellens, H.J.J. Sudden cardiac death. Circulation 1998, 98, 2334–2351. [Google Scholar] [CrossRef]
  7. Qiao, C.G.; Li, W.H.; Tang, G.N. Study on the effect of delayed recovery of extracellular potassium ion concentration on spiral wave. Acta Phys. Sin. 2014, 23, 238201. [Google Scholar] [CrossRef]
  8. Sidorov, V.Y.; Woods, M.C.; Wikswo, J.P. Effects of elevated extracellular potassium on the stimulation mechanism of diastolic cardiac tissue. Biophys. J. 2003, 84, 3470–3479. [Google Scholar] [CrossRef]
  9. Xiao, X.H.; Tang, G.N. Suppression of spiral waves and spatiotemporal chaos in cardiac tissue by elevating potassium ion concentration. J. Biol. Eng. 2012, 29, 29–34. [Google Scholar]
  10. Shaw, R.M.; Rudy, Y. Electrophysiologic effects of acute myocardial ischemia: A theoretical study of altered cell excitability and action potential duration. Cardiovasc. Res. 1997, 35, 256–272. [Google Scholar] [CrossRef]
  11. Luo, C.H.; Rudy, Y. A dynamic model of the cardiac ventricular action potential. I. Simulations of ionic currents and concentration changes. Circ. Res. 1994, 74, 1071–1096. [Google Scholar] [CrossRef]
  12. Fujiu, K.; Nagai, R. Fibroblast-mediated pathways in cardiac hypertrophy. J. Mol. Cell. Cardiol. 2014, 70, 64–73. [Google Scholar] [CrossRef] [PubMed]
  13. Gao, X.; Engel, T.; Carlson, B.E.; Wakatsuki, T. Computational modeling for cardiac safety pharmacology analysis: Contribution of fibroblasts. J. Pharmacol. Toxicol. Methods 2017, 87, 68–73. [Google Scholar] [CrossRef]
  14. Xing, C.; Bao, L.; Li, W.; Fan, H. Progress on role of ion channels of cardiac fibroblasts in fibrosis. Front. Physiol. 2023, 14, 1138306. [Google Scholar] [CrossRef] [PubMed]
  15. Munoz, V.; Campbell, K.; Shibayama, J. Fibroblasts: Modulating the rhythm of the heart. J. Physiol. 2008, 586, 2423–2424. [Google Scholar] [CrossRef]
  16. Bazhutina, A.; Balakina-Vikulova, N.A.; Kursanov, A.; Solovyova, O.; Panfilov, A.; Katsnelson, L.B. Mathematical modelling of the mechano-electric coupling in the human cardiomyocyte electrically connected with fibroblasts. Prog. Biophys. Mol. Biol. 2021, 159, 46–57. [Google Scholar] [CrossRef] [PubMed]
  17. Thompson, S.A.; Copeland, C.R.; Reich, D.H.; Tung, L. Mechanical coupling between myofibroblasts and cardiomyocytes slows electric conduction in fibrotic cell monolayers. Circulation 2011, 123, 2083–2093. [Google Scholar] [CrossRef] [PubMed]
  18. Pellman, J.; Zhang, J.; Sheikh, F. Myocyte-fibroblast communication in cardiac fibrosis and arrhythmias: Mechanisms and model systems. J. Mol. Cell. Cardiol. 2016, 94, 22–31. [Google Scholar] [CrossRef]
  19. Nayak, A.R.; Shajahan, T.K.; Panfilov, A.V.; Pandit, R. Spiral-wave dynamics in a mathematical model of human ventricular tissue with myocytes and fibroblasts. PLoS ONE 2013, 8, e72950. [Google Scholar] [CrossRef]
  20. Mulimani, M.K.; Zimik, S.; Pandit, R. An in silico study of electrophysiological parameters that affect the spiral-wave frequency in mathematical models for cardiac tissue. Front. Phys. 2022, 9, 819873. [Google Scholar] [CrossRef]
  21. Nguyen, T.P.; Xie, Y.; Garfinkel, A.; Qu, Z.; Weiss, J.N. Arrhythmogenic consequences of myofibroblast-myocyte coupling. Cardiovasc. Res. 2012, 93, 242–251. [Google Scholar] [CrossRef] [PubMed]
  22. Peirlinck, M.; Costabal, F.S.; Yao, J.; Guccione, J.M.; Tripathy, S.; Wang, Y.; Ozturk, D.; Segars, P.; Morrison, T.M.; Levine, S.; et al. Precision medicine in human heart modeling: Perspectives, challenges, and opportunities. Biomech. Model. Mechanobiol. 2021, 20, 803–831. [Google Scholar] [CrossRef]
  23. Shi, M.; Yu, H.; Wang, H. Automated detection of sudden cardiac death by discrete wavelet transform of electrocardiogram signal. Symmetry 2022, 14, 571. [Google Scholar] [CrossRef]
  24. Pang, J.K.S.; Chia, S.; Zhang, J.; Szyniarowski, P.; Stewart, C.; Yang, H.; Chan, W.; Ng, S.Y.; Soh, B. Characterizing arrhythmia using machine learning analysis of Ca2+ cycling in human cardiomyocytes. Stem Cell Rep. 2022, 17, 1810–1823. [Google Scholar] [CrossRef]
  25. Redkar, S.; Mondal, S.; Joseph, A.; Hareesha, K.S. A machine learning approach for drug-target interaction prediction using wrapper feature selection and class balancing. Mol. Inf. 2020, 39, 1900062. [Google Scholar] [CrossRef] [PubMed]
  26. Lancaster, M.C.; Sobie, E. Improved prediction of drug-induced Torsades de Pointes through simulations of dynamics and machine learning algorithms. Clin. Pharmacol. Ther. 2016, 100, 371–379. [Google Scholar] [CrossRef]
  27. Ahmed, A.A.; Ali, W.; Abdullah, T.A.A.; Malebary, S.J. Classifying cardiac arrhythmia from ecg signal using 1D CNN deep learning model. Mathematics 2023, 11, 562. [Google Scholar] [CrossRef]
  28. Song, E.; Lee, Y.S. Interpretable machine leaning of action potential duration restitution kinetics in single-cell models of atrial cardiomyocytes. J. Electrocardiol. 2022, 74, 137–145. [Google Scholar] [CrossRef] [PubMed]
  29. Grandits, T.; Augustin, C.M.; Haase, G.; Jost, N.; Mirams, G.R.; Niederer, S.A.; Plank, G.; Varro, A.; Virag, L.; Jung, A. Neural network emulation of the human ventricular cardiomyocyte action potential for more efficient computations in pharmacological studies. eLife 2024, 12, RP91911. [Google Scholar] [CrossRef]
  30. Trayanova, N.A.; Popescu, D.M.; Shade, J.K. Machine learning in arrhythmia and electrophysiology. Circ. Res. 2021, 128, 544–566. [Google Scholar] [CrossRef]
  31. Jeong, D.U.; Lim, K.M. Prediction of cardiac mechanical performance from electrical features during ventricular tachyarrhythmia simulation using machine learning algorithms. Front. Physiol. 2020, 11, 591681. [Google Scholar] [CrossRef] [PubMed]
  32. Christoph, J.; Lebert, J. Inverse mechano-electrical reconstruction of cardiac excitation wave patterns from mechanical deformation using deep learning. Chaos 2020, 30, 123134. [Google Scholar] [CrossRef]
  33. Mulimani, M.K.; Alageshan, J.K.; Pandit, R. Deep-learning-assisted detection and termination of spiral and broken-spiral waves in mathematical models for cardiac tissue. Phys. Rev. Res. 2020, 2, 023155. [Google Scholar] [CrossRef]
  34. Jeong, D.U.; Lim, K.M. Artificial neural network model for predicting changes in ion channel conductance based on cardiac action potential shapes generated via simulation. Sci. Rep. 2021, 11, 7831. [Google Scholar] [CrossRef] [PubMed]
  35. Ten Tusscher, K.H.W.J.; Noble, D.; Noble, P.J.; Panfilov, A.V. A model for human ventricular tissue. Am. J. Physiol. Heart Circ. Physiol. 2004, 286, H1573–H1589. [Google Scholar] [CrossRef]
  36. Davidenko, J.M.; Pertsov, A.V.; Salomonsz, R.; Baxter, W.; Jalife, J. Stationary and drifting spiral waves of excitation in isolated cardiac muscle. Nature 1992, 355, 349–351. [Google Scholar] [CrossRef]
  37. Luo, C.H.; Rudy, Y. A model of the ventricular cardiac action potential depolarization, repolarization, and their interaction. Circ. Res. 1991, 68, 1501–1526. [Google Scholar] [CrossRef]
  38. Xie, Y.; Garfinkel, A.; Weiss, J.N.; Qu, Z. Cardiac alternans induced by fibroblast-myocyte coupling: Mechanistic insights from computational models. Am. J. Physiol. Heart Circ. Physiol. 2009, 297, H775–H784. [Google Scholar] [CrossRef] [PubMed]
  39. Camelliti, P.; Green, C.R.; Kohl, P. Structural and functional coupling of cardiac myocytes and fibroblasts. Cardiovasc. Gap Junctions 2006, 42, 132–149. [Google Scholar]
  40. Jacquemet, V.; Henriquez, C.S. Loading effect of fibroblast-myocyte coupling on resting potential, impulse propagation and repolarization: Insights from a microstructure model. Am. J. Physiol. Heart Circ. Physiol. 2008, 294, H2040–H2052. [Google Scholar] [CrossRef] [PubMed]
  41. Jacquemet, V. Pacemaker activity resulting from the coupling with nonexcitable cells. Phys. Rev. E 2006, 74, 011908. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Action potential variation curves under different ion concentrations. The red curve represents the standard action potential variation curve under normal ion concentrations, while the blue arrows indicate the different phases of the standard action potential.
Figure 1. Action potential variation curves under different ion concentrations. The red curve represents the standard action potential variation curve under normal ion concentrations, while the blue arrows indicate the different phases of the standard action potential.
Symmetry 16 01136 g001
Figure 2. Action potentials corresponding to variations in the concentrations of sodium, potassium, and calcium ions inside and outside the cell membrane. The red curve represents the standard action potential curve under normal ion concentrations, the blue curve represents the action potential changes with increased ion concentrations, and the green curve represents the action potential changes with decreased ion concentrations. (a) N a 0 ; (b) N a i ; (c) K 0 ; (d) K i ; (e) C a 0 ; (f) C a i .
Figure 2. Action potentials corresponding to variations in the concentrations of sodium, potassium, and calcium ions inside and outside the cell membrane. The red curve represents the standard action potential curve under normal ion concentrations, the blue curve represents the action potential changes with increased ion concentrations, and the green curve represents the action potential changes with decreased ion concentrations. (a) N a 0 ; (b) N a i ; (c) K 0 ; (d) K i ; (e) C a 0 ; (f) C a i .
Symmetry 16 01136 g002
Figure 3. The workflow of ion concentration prediction.
Figure 3. The workflow of ion concentration prediction.
Symmetry 16 01136 g003
Figure 4. Accuracy and loss curves of the ANN model. (a) Accuracy Curve; (b) Loss Curve.
Figure 4. Accuracy and loss curves of the ANN model. (a) Accuracy Curve; (b) Loss Curve.
Symmetry 16 01136 g004
Figure 5. Confusion matrix of the ANN model. (a) Training-based confusion matrix; (b) test-based confusion matrix.
Figure 5. Confusion matrix of the ANN model. (a) Training-based confusion matrix; (b) test-based confusion matrix.
Symmetry 16 01136 g005
Figure 6. ROC curve of the ANN model. (a) Training-based ROC curve; (b) test-based ROC curve.
Figure 6. ROC curve of the ANN model. (a) Training-based ROC curve; (b) test-based ROC curve.
Symmetry 16 01136 g006
Figure 7. The pattern of the membrane potential at different time moments. (a) t = 10   m s ; (b) t = 35   m s ; (c) t = 40   m s ; (d) t = 110   m s ; (e) t = 180   m s ; (f) t = 230   m s ; (g) t = 270   m s ; (h) t = 315   m s ; (i) t = 2805   m s .
Figure 7. The pattern of the membrane potential at different time moments. (a) t = 10   m s ; (b) t = 35   m s ; (c) t = 40   m s ; (d) t = 110   m s ; (e) t = 180   m s ; (f) t = 230   m s ; (g) t = 270   m s ; (h) t = 315   m s ; (i) t = 2805   m s .
Symmetry 16 01136 g007
Figure 8. The pattern of the membrane potential at different time moments. (a) t = 20   m s ; (b) t = 40   m s ; (c) t = 120   m s ; (d) t = 180   m s ; (e) t = 225   m s ; (f) t = 305   m s ; (g) t = 330   m s ; (h) t = 5740   m s ; (i) t = 5840   m s .
Figure 8. The pattern of the membrane potential at different time moments. (a) t = 20   m s ; (b) t = 40   m s ; (c) t = 120   m s ; (d) t = 180   m s ; (e) t = 225   m s ; (f) t = 305   m s ; (g) t = 330   m s ; (h) t = 5740   m s ; (i) t = 5840   m s .
Symmetry 16 01136 g008
Figure 9. The pattern of the membrane potential at different time moments. (a) t = 20   m s ; (b) t = 40   m s ; (c) t = 115   m s ; (d) t = 165   m s ; (e) t = 190   m s ; (f) t = 230   m s ; (g) t = 255   m s ; (h) t = 1125   m s ; (i) t = 7040   m s .
Figure 9. The pattern of the membrane potential at different time moments. (a) t = 20   m s ; (b) t = 40   m s ; (c) t = 115   m s ; (d) t = 165   m s ; (e) t = 190   m s ; (f) t = 230   m s ; (g) t = 255   m s ; (h) t = 1125   m s ; (i) t = 7040   m s .
Symmetry 16 01136 g009
Figure 10. Changes in the action potentials of myocardial cells and fibroblasts for different K 0 values. The black curves in the figures represent the situation where the K 0 is at its normal value. The dashed lines show the changes in myocardial cell action potentials without coupling to fibroblasts. The solid lines indicate the action potential changes of myocardial cells (solid lines) and fibroblasts (dotted solid lines) when they are coupled. (a) The scenario with decreased K 0 ; (b) the scenario with increased K 0 .
Figure 10. Changes in the action potentials of myocardial cells and fibroblasts for different K 0 values. The black curves in the figures represent the situation where the K 0 is at its normal value. The dashed lines show the changes in myocardial cell action potentials without coupling to fibroblasts. The solid lines indicate the action potential changes of myocardial cells (solid lines) and fibroblasts (dotted solid lines) when they are coupled. (a) The scenario with decreased K 0 ; (b) the scenario with increased K 0 .
Symmetry 16 01136 g010
Table 1. Meaning and expression for each ionic current in the TNNP model.
Table 1. Meaning and expression for each ionic current in the TNNP model.
Ion Current ExpressionIon Current Meaning
I N a = G N a m 3 h j V E N a Fast   N a + Current
I C a L = G C a L d f f C a 4 V F 2 R T C a i e 2 V F / R T 0.341 C a 0 e 2 V F / R T 1 L−type C a 2 + Current
I t o = G t o r s V E K Transient Outward Current
I K s = G K s x s 2 V E K s Slow Delayed Rectifier Current
I K r = G K r K 0 5.4 x r 1 x r 2 V E K Rapid Delayed Rectifier Current
I K 1 = G K 1 K 0 5.4 x K 1 V E K Inward   Rectifier   K + Current
I N a C a = k N a C a e γ V F / R T N a i 3 C a 0 e γ 1 V F / R T N a 0 3 C a i α K m N a i 3 + N a 0 3 K m C a + C a 0 1 + k s a t e γ 1 V F / R T N a + / C a 2 + Exchanger Current
I N a K = P N a K K 0 N a i K 0 + K m K N a i + K m N a 1 + 0.1245 e 0.1 V F / R T + 0.0353 e V F / R T N a + / K + Pump Current
I p C a = G p C a C a i K p C a + C a i Plateau   C a 2 + Current
I p K = G p K V E K 1 + e 25 V / 5.98 Plateau   K + Current
I b N a = G b N a V E N a Background   C a 2 + Current
I b C a = G b C a V E C a Background   K + Current
Table 2. Classification report of the ANN model.
Table 2. Classification report of the ANN model.
MatrixTraining DatasetTesting Dataset
N a 0 N a i K 0 K i C a 0 Average N a 0 N a i K 0 K i C a 0 Average
precision0.990.981.001.001.000.9930.971.001.001.000.970.989
recall0.980.991.001.001.000.9931.000.941.001.001.000.989
F1-score0.980.981.001.001.000.9930.980.971.001.000.990.988
support139136136135134-3134343536-
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Bai, J.; Zhang, C.; Liang, Y.; Tavares, A.; Wang, L.; Gu, X.; Meng, Z. The Relationship between Cardiomyocyte Action Potentials and Ion Concentrations: Machine Learning Prediction Modeling and Analysis of Spontaneous Spiral Wave Generation Mechanisms. Symmetry 2024, 16, 1136. https://doi.org/10.3390/sym16091136

AMA Style

Bai J, Zhang C, Liang Y, Tavares A, Wang L, Gu X, Meng Z. The Relationship between Cardiomyocyte Action Potentials and Ion Concentrations: Machine Learning Prediction Modeling and Analysis of Spontaneous Spiral Wave Generation Mechanisms. Symmetry. 2024; 16(9):1136. https://doi.org/10.3390/sym16091136

Chicago/Turabian Style

Bai, Jing, Chunfu Zhang, Yanchun Liang, Adriano Tavares, Lidong Wang, Xue Gu, and Ziyao Meng. 2024. "The Relationship between Cardiomyocyte Action Potentials and Ion Concentrations: Machine Learning Prediction Modeling and Analysis of Spontaneous Spiral Wave Generation Mechanisms" Symmetry 16, no. 9: 1136. https://doi.org/10.3390/sym16091136

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop