A method for identifying gene regulatory network structure based on variational Bayes
Through the variational Bayesian and XGBoost methods, a decision tree model of the gene regulatory network was constructed, which solved the problems of linear model limitations and missing data in the gene regulatory network, improved the identification accuracy and scope of application, and achieved good verification results.
Patent Information
- Application Number
- CN202210035654.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-13
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-01-13
AI Technical Summary
Existing technologies have limitations of linear models and missing data problems when describing gene regulatory networks, resulting in reduced inference accuracy and difficulty in accurately identifying gene expression levels.
A stochastic nonlinear state space model based on variational Bayes is used, combined with the extreme gradient boosting XGBoost method, to build a decision tree model of the gene regulatory network, handle noise and missing data, and improve model identification accuracy.
It realizes the identification of nonlinearity and randomness in gene regulatory networks, improves the accuracy of model identification, has a wide range of applications, can effectively handle missing data, and the verification results perform well on artificial and real data.
Smart Images

Figure CN114360641B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of gene regulatory network identification, and in particular to a gene regulatory network structure identification method based on variational Bayes. Background Art
[0002] The identification of gene regulatory networks (GRNs) in living cells is an important issue for understanding gene interactions for biological research and is the basis for diseased gene identification, drug development, metabolic regulation, etc. In the past few decades, the emergence of high-throughput gene expression measurement technology has provided a large amount of biological data and made it possible to infer GRNs from gene expression data. There are many methods for inference of GRNs, which can be loosely divided into two types. The first type is to build models using static expression data and use clustering, mutual information and correlation analysis to infer GRNs. Generally speaking, static gene expression data are gene expression levels in steady state. A more precise way to study gene regulatory interactions is to introduce some environmental perturbations and measure gene expression time series data. In this case, GRNs are built from dynamic data. Compared with GRNs based on static data, models based on dynamic data are more accurate, and this issue has received increasing attention.
[0003] Note: Gene regulatory network GRN based on state space model can explicitly describe the gene expression process. Since the gene expression process is a highly nonlinear process, there are certain limitations when using linear models to describe GRN. Therefore, in recent studies, nonlinear models have been the main models used. In addition to nonlinear characteristics, random behavior is another inherent characteristic of GRN. In state space models, random behavior can be easily described as noise. In addition, incomplete data is a common phenomenon encountered in almost all data-based modeling problems. Since the number of observations for GRN reasoning is relatively small, the reasoning accuracy will be significantly reduced when data is missing. Summary of the invention
[0004] The purpose of the present invention is to provide a method for identifying gene regulatory network structure based on variational Bayesian. The present invention identifies and predicts gene expression levels by processing input data.
[0005] The objective of the present invention is achieved through such technical solution, which comprises the following steps:
[0006] 1) Data collection: Gene expression data of typical gene regulatory networks GRN are collected from the database of DREAM4 platform to obtain collected data;
[0007] 2) Model construction: using a random nonlinear state space model containing unknown noise to describe the expression process of the gene sequence in the collected data in step 1);
[0008] 3) Model parameter estimation: Use variational Bayesian methods to estimate the parameters in the state space model and output gene sequence expression data;
[0009] 4) Obtaining the GRN structure: Use the extreme gradient boosting XGBoost method to establish a decision tree model of the gene regulatory network GRN, identify the interaction relationship between genes, and obtain the final gene regulatory network GRN structure.
[0010] Further, the random nonlinear state space model method constructed in step 2) is as follows:
[0011]
[0012] In formula (1), x t,i is the true gene expression value of the i-th gene at time t, y t,i is the measured expression value of the i-th gene at time t, where i∈[1,n], n is the number of genes, and C i is the decay rate of the ith gene, G ij is the regulatory effect of the jth gene on the ith gene, where j∈[1,n], then G ij Represented as g i =[g i1 ,g i2 ,...,g i(i-1) ,0,g i+1 ,...,g in ], that is, the i-th gene is regulated by all genes except itself, v i is the process noise, w i To measure noise, f(x(t)) is a nonlinear equation in the system model, expressed as:
[0013]
[0014] Then the random nonlinear state space model of any gene among n genes is:
[0015]
[0016] Further, in step 3), the variational Bayesian method is used to estimate the parameters in the state space model and output the gene sequence expression data. The specific steps are as follows:
[0017] 3-1) Define the parameters in the nonlinear state space model: Ξ=[C,G,y mis ,x 1:n ,S,R,α] T , where: S is the accuracy of process noise v, R is the accuracy of measurement noise w, y mis={y m1 ,y m2 ,...,y mα} means at the time {m1,m2,...,m α} Missing gene expression measurements, y obs ={y a1 ,y a2 ,...,y aα} is expressed as at the time {a1,a2,...,a α}The measured value of gene expression, the estimation of the parameter can be expressed as the posterior score P(Ξ|y obs );
[0018] 3-2) Using the variational Bayesian method, we can calculate the parameters C, G, and y in the random nonlinear state space model. mis 、x 1:n , S, R, and α are estimated.
[0019] Further, in step 3-1), the posterior distribution P(Ξ|y) of the latent variable is evaluated under given observation data. obs ) are as follows:
[0020] Gene expression measurement y obs The log-likelihood function of is expressed as:
[0021] lnp(y obs )=∫q(Ξ)lnp(y obs )dΞ (4)
[0022] In formula (4), q(Ξ) is an arbitrary probability density function;
[0023] Write the log-likelihood function in the form of J+KL:
[0024]
[0025] In formula (5), KL ≥ 0 if and only if q(Ξ) = p(Ξ|y obs ) is equal, J is the log-likelihood function lnp(y obs ), then computing the posterior distribution of the latent variable is equivalent to computing argmaxJ.
[0026] Furthermore, in step 3-2), the specific steps of using the variational Bayesian method for the parameters in the random nonlinear state space model are:
[0027] 3-2-1) Update q(x) using particle smoother 1:n ):
[0028] 3-2-1-1) For a particle filter with a state space model, the distribution of its state is approximately:
[0029]
[0030] In formula (6), δ(·) is the Dirac delta function, w t,j For each sampling point The normalized weight of
[0031] At time t = N, x N The posterior distribution of is the same as the result of particle filtering, and
[0032] 3-2-1-2) Calculate w respectively t,j , Values:
[0033] Let the state at time t-1 be approximately expressed by equation (7), then the sampling point at time t can be expressed as:
[0034]
[0035] And the weight at time t is expressed as:
[0036]
[0037] At the missing data points, a simple prediction method is used to estimate the state, then:
[0038]
[0039] In formula (9), the weight w t,j With weight w t-1,j same, The value of is obtained from (7);
[0040] Let Θ = [C, G, S, R, α] T , according to Bayes' rule:
[0041]
[0042] In formula (10), p(x t+1 |y 1:t ,Θ) can be approximately expressed as:
[0043]
[0044] Assume that at time t+1, x t+1 The posterior distribution of is approximately:
[0045]
[0046] Then, x t The posterior distribution of is expressed as:
[0047]
[0048] In formula (13),
[0049]
[0050] 3-2-1-3) Let t = t-1 and repeat step 3-2-1-2) until t = 1, completing x 1:n Update; 3-2-2) Update q(G):
[0051] Based on formula (1), the expression process of the i-th gene is expressed as:
[0052]
[0053] In formula (15):
[0054]
[0055] Process noise w i With the measurement noise v i Follows a Gaussian distribution with zero mean:
[0056]
[0057] In formula (17), r i With s i Expressed as the precision of the normal distribution.
[0058] Assume that There is uncertainty in The prior distribution of is Gaussian-Gamma distribution, r i With s i The prior distribution of is gamma distribution, then the joint prior distribution of parameters is expressed as:
[0059]
[0060] In formula (18), α -1 yes The covariance of each parameter in I n×n is the n×n identity matrix, G(·) is the gamma distribution, and a0 and b0 are two constant hyperparameters;
[0061] but Obey Gaussian distribution:
[0062]
[0063] In formula (19):
[0064]
[0065] In formula (20), <·> represents the The expected value of
[0066] 3-2-3) Update q(r) i ):
[0067] Based on equations (15) and (18), the variational Bayesian method is used to obtain q(r i ) follows a gamma distribution:
[0068]
[0069] In formula (21), <·> represents the Expected value;
[0070] 3-2-4) Update q(s) i ):
[0071] Based on equations (15) and (18), the variational Bayesian method is used, q(s i ) follows a gamma distribution:
[0072]
[0073] In formula (22), N α is the number of available observations, and <·> represents the Expected value;
[0074] 3-2-5) Update q(α):
[0075] Based on equations (15) and (18), using the variational Bayesian method, q(α) obeys a gamma distribution:
[0076]
[0077] 3-2-6) Use the method described in steps 3-2-1) to 3-2-5) to update the model parameter Θ, and use the expected value of the model parameter Θ to update the network model until the number of iterations is maximized.
[0078] Further, in step 4), the final gene regulatory network GRN structure is obtained, and the specific steps are as follows:
[0079] 4-1) Based on the gene regulatory network GRN model described in formula (15), in order to identify the gene expression interaction of the i-th gene, a new gene regulatory network GRN model is established using smoothed gene expression values:
[0080]
[0081] In formula (24), the XGBoost method provides an enhanced decision tree model for GRN inference, so the objective function of m trees is:
[0082]
[0083] In formula (25), L is the loss function, T m-1 With T m are the outputs of m-1 and m trees respectively, b t ,c t for The first and second order gradients of L, M is the number of leaves, w j is the corresponding weight, γ and λ are two constants;
[0084] Using the greedy algorithm to optimize the objective function, the standard for dividing a leaf into two leaves is:
[0085]
[0086] In formula (26), G L and G R b is the left and right nodes after the split t The sum of ,H R and H L is the c of the left and right nodes after the split t sum;
[0087] Then the importance score of the mth tree is used to evaluate the regulatory relationship between a given gene and other genes, which can be calculated as:
[0088]
[0089] In formula (27), It is expressed as the importance score of the regulatory chain between the ith gene and the jth gene in m trees, It is represented as the number of nodes in m trees. If the jth gene is selected at the kth node, then o(k,j) = 1, otherwise, o(k,j) = 0;
[0090] Then, the overall importance score of the jth gene is expressed as:
[0091]
[0092] In formula (28), N tree is the number of set trees;
[0093] 4-2) Based on the overall importance score obtained in step 4-1), the regulatory relationship between the i-th gene and other genes is ranked, and the regulatory relationship between the i-th gene and other genes is ranked by selecting w i,j The threshold is used to determine whether one of the genes has an impact on the given i-th gene, and the final gene regulatory network GRN structure is obtained.
[0094] Due to the adoption of the above technical solution, the present invention has the following advantages:
[0095] 1. This application can identify the high nonlinearity and randomness in gene regulatory networks by constructing a nonlinear random state space model with unknown noise information, and has a wide range of applications.
[0096] 2. This application proposes to use the variational Bayes method for nonlinear GRN reasoning, which provides state estimation and noise estimation, thereby improving model recognition accuracy.
[0097] 3. This application considers GRN reasoning when there is missing data, and proposes to use predicted data to replace missing data, thereby effectively proving the accuracy of the experiment.
[0098] 4. This application uses the VB method to deal with uncertainty, and uses the XGBoost method to explore the sparsity of gene interactions, and verifies the results on artificial gene expression data and real data.
[0099] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0100] The accompanying drawings of the present invention are as follows:
[0101] Figure 1 It is a schematic diagram of the process of the present invention.
[0102] Figure 2 It is the gene expression level estimated by the VB method of the present invention.
[0103] Figure 3 It is the gene expression level estimated by the VB method in the absence of data in the present invention.
[0104] Figure 4 This is the estimated GAL gene network of the present invention. DETAILED DESCRIPTION
[0105] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0106] A method for identifying gene regulatory network structure based on variational Bayes, the specific steps are as follows:
[0107] 1) Data collection: Gene expression data of typical gene regulatory networks GRN are collected from the database of DREAM4 platform to obtain collected data;
[0108] 2) Model construction: A random nonlinear state space model containing unknown noise is used to describe the expression process of the gene sequence in the collected data in step 1), as follows:
[0109]
[0110] In formula (29), x t,i is the true gene expression value of the i-th gene at time t, y t,i is the measured expression value of the i-th gene at time t, where i∈[1,n], n is the number of genes, and C i is the decay rate of the ith gene, G ij is the regulatory effect of the jth gene on the ith gene, where j∈[1,n], then G ij Represented as g i =[g i1 ,g i2 ,...,g i(i-1) ,0,g i+1 ,...,g in ], that is, the i-th gene is regulated by all genes except itself, v i is the process noise, w i To measure noise, f(x(t)) is a nonlinear equation in the system model, expressed as:
[0111]
[0112] Then the random nonlinear state space model of any gene among n genes is:
[0113]
[0114] 3) Model parameter estimation: The variational Bayesian method is used to estimate the parameters in the state space model and output the gene sequence expression data; the specific steps are as follows:
[0115] 3-1) Define the parameters in the nonlinear state space model: Ξ=[C,G,y mis ,x 1:n ,S,R,α] T , where: S is the accuracy of process noise v, R is the accuracy of measurement noise w, y mis ={y m1,y m2 ,...,y mα} means at the time {m1,m2,...,m α} Missing gene expression measurements, y obs ={y a1 ,y a2 ,...,y aα} is expressed as at the time {a1,a2,...,a α}The measured value of gene expression, the estimation of the parameter can be expressed as the posterior score P(Ξ|y obs ); the specific method is as follows:
[0116] Gene expression measurement y obs The log-likelihood function of is expressed as:
[0117] lnp(y obs )=∫q(Ξ)lnp(y obs )dΞ (32)
[0118] In formula (32), q(Ξ) is an arbitrary probability density function;
[0119] Write the log-likelihood function in the form of J+KL:
[0120]
[0121] In formula (33), KL ≥ 0 if and only if q(Ξ) = p(Ξ|y obs ) is equal, J is the log-likelihood function lnp(y obs ), then computing the posterior distribution of the latent variable is equivalent to computing argmaxJ.
[0122] 3-2) Using the variational Bayesian method, we can calculate the parameters C, G, and y in the random nonlinear state space model. mis 、x 1:n , S, R, α are estimated. The specific steps are as follows:
[0123] 3-2-1) Update q(x) using particle smoother 1:n ):
[0124] 3-2-1-1) For a particle filter with a state space model, the distribution of its state is approximately:
[0125]
[0126] In formula (34), δ(·) is the Dirac delta function, w t,j For each sampling point The normalized weight of
[0127] At time t = N, x N The posterior distribution of is the same as the result of particle filtering, and
[0128] 3-2-1-2) Calculate w respectively t,j , Values:
[0129] Let the state at time t-1 be approximately expressed by equation (7), then the sampling point at time t can be expressed as:
[0130]
[0131] And the weight at time t is expressed as:
[0132]
[0133] At the missing data points, a simple prediction method is used to estimate the state, then:
[0134]
[0135] In formula (37), the weight w t,j With weight w t-1,j same, The value of is obtained from (7);
[0136] Let Θ = [C, G, S, R, α] T , according to Bayes' rule:
[0137]
[0138] In formula (38), p(x t+1 |y 1:t ,Θ) can be approximately expressed as:
[0139]
[0140] Assume that at time t+1, x t+1 The posterior distribution of is approximately:
[0141]
[0142] Then, x t The posterior distribution of is expressed as:
[0143]
[0144] In formula (41),
[0145]
[0146] 3-2-1-3) Let t = t-1 and repeat step 3-2-1-2) until t = 1, completing x 1:n Updates;
[0147] 3-2-2) Update q(G):
[0148] Based on formula (29), the expression process of the i-th gene is expressed as:
[0149]
[0150] In formula (43):
[0151]
[0152] Process noise w i With the measurement noise v i Follows a Gaussian distribution with zero mean:
[0153]
[0154] In formula (45), r i With s i Expressed as the precision of the normal distribution.
[0155] Assume that There is uncertainty in The prior distribution of is Gaussian-Gamma distribution, r i With s i The prior distribution of is gamma distribution, then the joint prior distribution of parameters is expressed as:
[0156]
[0157] In formula (46), α -1 yes The covariance of each parameter in I n×n is the n×n identity matrix, G(·) is the gamma distribution, and a0 and b0 are two constant hyperparameters;
[0158] but Obey Gaussian distribution:
[0159]
[0160] In formula (19):
[0161]
[0162] In formula (48), <·> represents the The expected value of
[0163] 3-2-3) Update q(r) i ):
[0164] Based on equations (43) and (46), the variational Bayesian method is used to obtain q(r i ) follows a gamma distribution:
[0165]
[0166] In formula (49), <·> represents the Expected value;
[0167] 3-2-4) Update q(s) i ):
[0168] Based on equations (43) and (46), the variational Bayesian method is used, q(s i ) follows a gamma distribution:
[0169]
[0170] In formula (50), N α is the number of available observations, and <·> represents the Expected value;
[0171] 3-2-5) Update q(α):
[0172] Based on equations (43) and (46), using the variational Bayes method, q(α) obeys a gamma distribution:
[0173]
[0174] 3-2-6) Use the method described in steps 3-2-1) to 3-2-5) to update the model parameter Θ, and use the expected value of the model parameter Θ to update the network model until the number of iterations is maximized.
[0175] 4) Obtaining the GRN structure: Using the extreme gradient boosting XGBoost method to establish a decision tree model of the gene regulatory network GRN, identify the interaction relationship between genes, and obtain the final gene regulatory network GRN structure. The specific steps are as follows:
[0176] 4-1) Based on the gene regulatory network GRN model described in formula (43), in order to identify the gene expression interaction of the i-th gene, a new gene regulatory network GRN model is established using smoothed gene expression values:
[0177]
[0178] In formula (52), the XGBoost method provides an enhanced decision tree model for GRN inference, so the objective function of m trees is:
[0179]
[0180] In formula (53), L is the loss function, T m-1 With T m are the outputs of m-1 and m trees respectively, b t ,c t for The first and second order gradients of L, M is the number of leaves, w j is the corresponding weight, γ and λ are two constants;
[0181] Using the greedy algorithm to optimize the objective function, the standard for dividing a leaf into two leaves is:
[0182]
[0183] In formula (54), G L and G R b is the left and right nodes after the split t The sum of ,H R and H L is the c of the left and right nodes after the split t sum;
[0184] Then the importance score of the mth tree is used to evaluate the regulatory relationship between a given gene and other genes, which can be calculated as:
[0185]
[0186] In formula (55), It is expressed as the importance score of the regulatory chain between the ith gene and the jth gene in m trees, It is represented as the number of nodes in m trees. If the jth gene is selected at the kth node, then o(k,j) = 1, otherwise, o(k,j) = 0;
[0187] Then, the overall importance score of the jth gene is expressed as:
[0188]
[0189] In formula (56), N tree is the number of set trees;
[0190] 4-2) Based on the overall importance score obtained in step 4-1), the regulatory relationship between the i-th gene and other genes is ranked, and the regulatory relationship between the i-th gene and other genes is ranked by selecting w i,jThe threshold is used to determine whether one of the genes has an impact on the given i-th gene, and the final gene regulatory network GRN structure is obtained.
[0191] 5) Data simulation: The accuracy of the model method was verified in the gene network provided by InSilico_Size10 and the Saccharomyces cerevisiae GAL gene network. The steps are as follows:
[0192] 5-1) First, the false positive rate (FRR) and true positive rate (TRR) are calculated and defined as:
[0193]
[0194] In formula (57), TP is the number of true positives, TN is the number of true negatives, FP is the number of false positives, and FN is the number of false negatives. Based on these four indicators, Precision and Recall are defined as:
[0195]
[0196] Based on these indicators, the indicators AUROC (area under FRR-TRR) and AUPR (area under Precision-Recall) are calculated, as shown in Table 1 and Table 3, which are performance comparisons of the method proposed in this application and the existing methods.
[0197] Table 1 Performance comparison of existing methods and the method proposed in this application on the InSideco_Size10 dataset
[0198]
[0199] Table 2 Performance comparison of BiXGBoost and the proposed method on the InSideco_Size10 dataset in the presence of missing data
[0200]
[0201] Table 3 Performance comparison of existing methods and the method proposed in this application on the InSideco_Size10 dataset in the presence of missing data
[0202]
[0203] 5-2) The accuracy of the model method was verified in the gene network provided by InSilico_Size10 and the Saccharomyces cerevisiae GAL gene network; Table 4 shows a performance comparison between the existing method of the present application and the method proposed in the present application on the GAL gene network.
[0204] Table 4 Performance comparison of existing methods and the method proposed in this application on the GAL gene network
[0205]
[0206] The evaluation curve and measurement curve of the variational Bayesian method proposed in the present invention are shown in Figure 2. By comparison, it can be seen that the VB method can fit the measurement curve well with a small error.
[0207] like Figure 3 As shown, in the case of missing data, the variational Bayesian evaluation curve proposed in the present invention can still fit the measurement curve well. This method overcomes the limitations of the existing classical GRN reasoning and provides an effective gene expression sequence inference method, which shows the effectiveness of the variational Bayesian method proposed in the present invention for GRN identification in the case of missing data.
[0208] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0209] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0210] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0211] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0212] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for identifying gene regulatory network structure based on variational Bayesian. It is characterized in that The specific steps are as follows: 1) Data collection: Gene expression data of typical gene regulatory networks GRN are collected from the database of DREAM4 platform to obtain collected data; 2) Model construction: using a random nonlinear state space model containing unknown noise to describe the expression process of the gene sequence in the collected data in step 1); 3) Model parameter estimation: Use variational Bayesian methods to estimate the parameters in the state space model and output gene sequence expression data; 4) Obtaining the GRN structure: Using the extreme gradient boosting XGBoost method to establish a decision tree model of the gene regulatory network GRN, identify the interaction relationship between genes, and obtain the final gene regulatory network GRN structure; The random nonlinear state space model method constructed in step 2) is as follows: In formula (1), x t,i is the true gene expression value of the i-th gene at time t, y t,i is the measured expression value of the i-th gene at time t, where i∈[1,n], n is the number of genes, and C i is the decay rate of the ith gene, G ij is the regulatory effect of the jth gene on the ith gene, where j∈[1,n], then G ij Represented as g i =[g i1 ,g i2 ,...,g i(i-1) ,0,g i+1 ,...,g in ], that is, the i-th gene is regulated by all genes except itself, v i is the process noise, w i To measure noise, f(x(t)) is a nonlinear equation in the system model, expressed as: Then the random nonlinear state space model of any gene among n genes is:
2. A method for identifying gene regulatory network structure based on variational Bayesian as claimed in claim 1, It is characterized in that In step 3), the variational Bayesian method is used to estimate the parameters in the state space model and output the gene sequence expression data. The specific steps are as follows: 3-1) Define the parameters in the nonlinear state space model: Ξ=[C,G,y mis ,x 1:n ,S,R,α] T , where: S is the accuracy of process noise v, R is the accuracy of measurement noise w, y mis ={y m1 ,y m2 ,...,y mα } indicates that at time {m 1 ,m 2 ,...,m α } Missing gene expression measurements, y obs ={y a1 ,y a2 ,...,y aα } represents the time at which {a 1 ,a 2 ,...,a α }The measured value of gene expression, then the estimation of the parameter is expressed as the posterior score P(Ξ|y obs ); 3-2) Using the variational Bayesian method, we can calculate the parameters C, G, and y in the random nonlinear state space model. mis 、x 1:n , S, R, and α are estimated.
3. A method for identifying gene regulatory network structure based on variational Bayes as claimed in claim 2, It is characterized in that In step 3-1), the posterior distribution P(Ξ|y) of the latent variable is evaluated under given observation data. obs ) are as follows: Gene expression measurement y obs The log-likelihood function of is expressed as: ln p(y obs )=∫q(Ξ)lnp(y obs )dΞ (4) In formula (4), q(Ξ) is an arbitrary probability density function; Write the log-likelihood function in the form of J+KL: In formula (5), KL ≥ 0 if and only if q(Ξ) = p(Ξ|y obs ) is equal, J is the log-likelihood function ln p(y obs ), then calculating the posterior distribution of the latent variable is equivalent to calculating arg max J.
4. A method for identifying gene regulatory network structure based on variational Bayesian as claimed in claim 2, It is characterized in that The specific steps of using the variational Bayesian method to calculate the parameters in the random nonlinear state space model in step 3-2) are: 3-2-1) Update q(x) using particle smoother 1:n ): 3-2-1-1) For a particle filter with a state space model, the distribution of its state is approximately: In formula (6), δ(·) is the Dirac delta function, w t,j For each sampling point The normalized weight of At time t = N, x N The posterior distribution of is the same as the result of particle filtering, and 3-2-1-2) Calculate w respectively t,j, Values: Let the state at time t-1 be approximately expressed by equation (7), then the sampling point at time t is expressed as: And the weight at time t is expressed as: At the missing data points, a simple prediction method is used to estimate the state, then: In formula (9), the weight w t,j With weight w t-1,j same, The value of is obtained from (7); Let Θ = [C, G, S, R, α] T , according to Bayes' rule: In formula (10), p(x t+1 |y 1:t ,Θ) can be approximately expressed as: Assume that at time t+1, x t+1 The posterior distribution of is approximately: Then, x t The posterior distribution of is expressed as: In formula (13), 3-2-1-3) Let t = t-1 and repeat step 3-2-1-2) until t = 1, completing x 1:n Updates; 3-2-2) Update q(G): Based on formula (1), the expression process of the i-th gene is expressed as: In formula (15): Process noise w i With the measurement noise v i Follows a Gaussian distribution with zero mean: In formula (17), r i With s i The precision expressed as a normal distribution; Assume that There is uncertainty in The prior distribution of is Gaussian-Gamma distribution, r i With s i The prior distribution of is gamma distribution, then the joint prior distribution of parameters is expressed as: In formula (18), α -1 yes The covariance of each parameter in I n×n is the n×n identity matrix, G(·) is the gamma distribution, a 0 ,b 0 are two constant hyperparameters; but Obey Gaussian distribution: In formula (19): In formula (20), <·> represents the The expected value of 3-2-3) Update q(r) i ): Based on equations (15) and (18), the variational Bayesian method is used to obtain q(r i ) follows a gamma distribution: In formula (21), <·> represents the Expected value; 3-2-4) Update q(s) i ): Based on equations (15) and (18), the variational Bayesian method is used, q(s i ) follows a gamma distribution: In formula (22), N α is the number of available observations, and <·> represents the Expected value; 3-2-5) Update q(α): Based on equations (15) and (18), using the variational Bayesian method, q(α) obeys a gamma distribution: 3-2-6) Use the method described in steps 3-2-1) to 3-2-5) to update the model parameter Θ, and use the expected value of the model parameter Θ to update the network model until the number of iterations is maximized.
5. A method for identifying gene regulatory network structure based on variational Bayes as claimed in claim 4, It is characterized in that In step 4), the final gene regulatory network GRN structure is obtained, and the specific steps are as follows: 4-1) Based on the gene regulatory network GRN model described in formula (15), in order to identify the gene expression interaction of the i-th gene, a new gene regulatory network GRN model is established using smoothed gene expression values: In formula (24), the XGBoost method provides an enhanced decision tree model for GRN inference, so the objective function of m trees is: In formula (25), L is the loss function, T m-1 With T m are the outputs of m-1 and m trees respectively, b t ,c t for The first and second order gradients of L, M is the number of leaves, w j is the corresponding weight, γ and λ are two constants; Using the greedy algorithm to optimize the objective function, the standard for dividing a leaf into two leaves is: In formula (26), G L and G R b is the left and right nodes after the split t The sum of ,H R and H L is the c of the left and right nodes after the split t sum; The importance score of the mth tree is used to evaluate the regulatory relationship between a given gene and other genes and is calculated as: In formula (27), It is expressed as the importance score of the regulatory chain between the ith gene and the jth gene in m trees, It is represented as the number of nodes in m trees. If the jth gene is selected at the kth node, then o(k,j) = 1, otherwise, o(k,j) = 0; Then, the overall importance score of the jth gene is expressed as: In formula (28), N tree is the number of set trees; 4-2) Based on the overall importance score obtained in step 4-1), the regulatory relationship between the i-th gene and other genes is ranked, and the regulatory relationship between the i-th gene and other genes is ranked by selecting w i,j The threshold is used to determine whether one of the genes has an impact on the given i-th gene, and the final gene regulatory network GRN structure is obtained.
