Skip to main content
  • Research article
  • Open access
  • Published:

Learning the structure of gene regulatory networks from time series gene expression data



Dynamic Bayesian Network (DBN) is an approach widely used for reconstruction of gene regulatory networks from time-series microarray data. Its performance in network reconstruction depends on a structure learning algorithm. REVEAL (REVerse Engineering ALgorithm) is one of the algorithms implemented for learning DBN structure and used to reconstruct gene regulatory networks (GRN). However, the two-stage temporal Bayes network (2TBN) structure of DBN that specifies correlation between time slices cannot be obtained by score metrics used in REVEAL.


In this paper, we study a more sophisticated score function for DBN first proposed by Nir Friedman for stationary DBNs structure learning of both initial and transition networks but has not yet been used for reconstruction of GRNs. We implemented Friedman's Bayesian Information Criterion (BIC) score function, modified K2 algorithm to learn Dynamic Bayesian Network structure with the score function and tested the performance of the algorithm for GRN reconstruction with synthetic time series gene expression data generated by GeneNetWeaver and real yeast benchmark experiment data.


We implemented an algorithm for DBN structure learning with Friedman's score function, tested it on reconstruction of both synthetic networks and real yeast networks and compared it with REVEAL in the absence or presence of preprocessed network generated by Zou&Conzen's algorithm. By introducing a stationary correlation between two consecutive time slices, Friedman's score function showed a higher precision and recall than the naive REVEAL algorithm.


Friedman's score metrics for DBN can be used to reconstruct transition networks and has a great potential to improve the accuracy of gene regulatory network structure prediction with time series gene expression datasets.


High-content technologies such as DNA microarrays can provide a system-scale overview of how genes interact with each other in a network context. This network is called a gene regulatory network (GRN) and can be defined as a mixed graph over a set of nodes (corresponding to genes or gene activities) with directed or undirected edges (representing causal interactions or associations between gene activities) [1]. Various mathematical methods and computational approaches have been proposed to reconstruct GRNs, including Boolean networks [2], information theory [3, 4], differential equations [5] and Bayesian networks [68]. GRN reconstruction faces huge intrinsic challenges on both experimental and theoretical fronts, because the inputs and outputs of the molecular processes are unclear and the underlying principles are unknown or too complex. In the previous work, we compared two important computational approaches, Dynamic Bayesian networks (DBNs) and Probabilistic Boolean networks for reconstructing GRNs using a time-series dataset from the Drosophila Interaction Database, and found that DBN outperforms PBN [9]. In this paper, we emphasize the DBN approach.

Dynamic Bayesian networks (DBNs) are belief networks that represent the stochastic process of a set of random variables over time. The hidden Markov model (HMM) and the Kalman filter can be considered as the simplest DBNs. However, Kalman filters can only handle unimodal posterior distributions and linear models, whereas parameterization of HMM grows exponentially with the number of state variables [10]. Several algorithms have been developed to learn structure for belief networks from both complete [6, 1012] (without missing values) and incomplete [13, 14] (with missing values) datasets. Structure Expectation-Maximization (SEM) has been developed for learning Probabilistic network structure from data with hidden variables and missing values [13]. A structure learning algorithm has also been developed for high-order and non-stationary dynamic probabilistic models [15].

A commonly used structure learning algorithm is based on REVEAL (REVerse Engineering ALgorithm) [6, 12] which learns the optimal set of parents for each node of a network independently, based on an information theoretic concept of mutual information analysis. However, the two-stage temporal Bayes network (2TBN) cannot be well recovered by application of REVEAL. In this work, we implemented a more sophisticated algorithm, proposed by Friedman [10], to learn the structure of both initial networks and transition networks, which specified a stationary correlation between two consecutive time periods. Compared with Murphy's algorithm, it improves performance in two ways. First, in score function, it considers time lags that may happen in biological processes. Second, it fetches the relationship which gains the maximum score function in the same time period or in the two consecutive time periods. Thus, Friedman's DBN structure learning algorithm was used in our work and its performance in terms of reconstruction accuracy was also evaluated using synthetic gene expression datasets and a real yeast time-series benchmark dataset.

In the following sections, we first provide an introduction to DBN and existing DBN algorithms for reconstruction of GRNs. We then present an implementation of Friedman's DBN algorithm. Finally, we apply the algorithms to synthetic datasets and a real yeast benchmark dataset, and compare its performance to the commonly used Murphy's DBN algorithm [12, 16] based on REVEAL.


Dynamic Bayesian networks

A DBN is a probabilistic network defined as a pair (B0,B) representing the joint probability distribution over all possible time series of variables X={X1,X2,...,X n }, where X i represents the discretized-valued random variables in the network. X i is composed of an initial state of Bayesian network B0=(G00)and a transition Bayesian network B = (G). In time slice 0, the parents of X i [0] are specified in the prior network B0, the parents of X i [t+1] are those specified in time slice t and t+1 in B. The structure of a two-stage temporal Bayes network (2TBN) is showed in Figure 1. DBN theory is generally based on two assumptions. First, the process is Markovian in X, i.e. P(X[t+1]|X[0],...,X[t])=P(X[t+1]|X[t]). The other assumption is that the process is stationary, i.e. the transition probability P(X[t+1]|X[t]) is independent of t .

Figure 1
figure 1

The basic building block of DBN.

Bayesian information criterion for DBN

Given a Bayesian network with structure G, parameters and the observations D, we define a structure prior that implies a prior probability on different graph structures, and a parameter prior, that puts a probability on different choice of parameters once the graph is given. By Bayes rule,

P ( G | D ) = P ( D | G ) P ( G ) P ( D )

where the denominator is simply a normalized factor. Thus, we define the Bayesian score as:

s c o r e B ( G : D ) = l o g P ( D | G ) + l o g P ( G )


P ( D | G ) = θ G P ( D | θ G , G ) P ( θ G | G ) d θ G

where P(D|θG,G) is the marginal likelihood of the data given the network 〈G,θG〉 and P(θG|G) is our pior.

Under Dirichlet distribution prior for all parameters in the network, when M→∞, we have

l o g P ( D | G ) = l ( θ G : D ) - l o g M 2 D i m [ G ] + O

where [G] is the model dimension, or the number of independent parameters in G.

This approximation is called the Bayesian information criterion (BIC). N. Friedman, et al. deduce BIC for Dynamic Bayesian Network in his work, which is briefly described below.

It is assumed that the dataset D is composed of N seq complete observations. The first such sequence has length N i and specifies values for the variables x l [0],...,x l [N l ], which means in different time slice the number of observations can be different. With such a dataset, we can learn B0 from N seq observations of initial slice, and learn B by N = l N l transactions of transition slices.

We use the following notations,

θ i , j i , k i ( 0 ) = Pr ( X i [ 0 ] = k i | P a ( X i [ 0 ] ) = j i ) θ i , j i , k i = Pr ( X t [ t ] = k i | P a ( X i [ t ] ) = j i ) N i , j i , k i ( 0 ) = l I ( X i [ 0 ] = k i , P a ( X i [ 0 ] ) = j i ; x l ) N i , j i , k i = l t I ( X i [ t ] = k i , P a ( X i [ t ] ) = j i ; x l )

where I(·;xl) is an indicator function which equals 1 if the corresponding event occurs in sequence xl, and 0 otherwise.

The likelihood function decomposes as:

Pr ( D | G , θ G ) = i j i k i ( θ ( 0 ) i , j , k ) N i , j , k ( 0 ) × i j i k i ( θ i , j , k ) N i , j , k

and the log-likelihood is given by

L ( B : D ) = i j i k i N i , j , k ( 0 ) log θ ( 0 ) i , j , k + i j i k i N i , j , k log θ i , j , k

Such decomposition implies that B0 is independent from B , so we can give BIC score as BIC(G:D) = BIC0+BIC→


B I C 0 = i j i k i N i , j i , k i ( 0 ) log θ i , j i , k i ( 0 ) - log N s e q 2 # G 0 B I C = i j i k i N i , j i , k i log θ i , j i , k i - log N 2 # G

Learning network structure

Under Friedman score metrics, the maximized score can be exploited by any Bayesian structure learning procedure, s uch as hill-climbing search procedures. In this paper, we modify K2 algorithm, and adapt it to learn structure for DBN, as described in Figure 2. K2 algorithm was described by Gregory E. Cooper [11]. It begins by making the assumption that a node has no parents, and adds gradually with those that most increase the score of the structure. Different from the K2 Bayesian structure learning algorithm, an additional constrain must be imposed which is that the transition network structure must repeat between time slices over time. Furthermore, we learn best structure of B0 independently of that of B. We find the maximum score function and add a correlation between the factors in consecutive time slices or the same time slice if the relationship increases the score function. We stop adding parents to the node, when the addition of no single parent can increase the score.

Figure 2
figure 2

Modified K2 algorithm for use in Friedman's algorithm on structure learning for dynamic Bayesian network (DBN).

Existing approaches for comparison

For convenience of performance analysis in the next section, we briefly describe Murphy and Zou's previous work here and present results in the next section. The widely used DBN implementation developed by Murphy and Mian (called Murphy's DBN hereafter) is based on REVEAL [12]. Given an unknown structure with full observations, the algorithm learns the parent set for each node independently. There are 2n such sets, which can be arranged in a lattice for the permutation of factors. The problem is to find the highest score in the lattice. The approach taken by REVEAL is started from the bottom of the lattice, and evaluates the score at all points in the successive level until a point is found with a score of 1.0. Zou and Conzen [17] proposed a method to generate a preprocessed network for potential regulators by biological interpretation of time course microarray data. It assumes that the gene with earlier initial up-regulation is the potential regulator of those with later initial up-regulation. This preprocessed network is used to narrow down the search space for Murphy's DBN algorithm because it requires excessive time to find a permutation for each node even when imposing a maximum number of parents for the nodes if the network dimension is large.

Results and discussion

The Friedman's algorithm described in the method section was implemented based on Murphy's BNT tool box (Bayes Net Toolbox for Matlab). We tested four cases of DBN algorithms on reconstruction of synthetic networks. The four methods are: (1) Zou's preprocessed networks consisting of potential regulators by biological interpretation of time course microarray data (Zou&Conzen), (2) Murphy's DBN, implemented in conjunction with the preprocessed networks (Kevin Murphy + Zou&Conzen), (3) Friedman's algorithm (Nir Friedman), and (4) Friedman's algorithm combined with the preprocessed networks (Friedman + Zou&Conzen).

Precision (P) and recall (R) were used as the metrics for performance comparison. Here, R is defined as C e /(C e + M e ) and P is defined as C e /(C e + F e ), where C e denotes true positive edges that exist in both the true network and the predicted network, M e false negative edges that exist in the true network but not in the inferred network, and F e false positive edges that do not exist in the true network but do exist in the predicted network.

Synthetic data

The synthetic datasets and network were generated using GeneNetWeaver from DREAM (Dialogue for Reverse Engineering Assessments and Methods) projects [18]. We used sub-networks of different sizes (i.e., 10, 20, 50 and 100 genes) with randomly picked factors from a high-dimensional yeast GRN with 4441 nodes and 12873 edges. A model consisting of ordinary and stochastic differential equations and Gaussian noise model was used to generate synthetic gene expression data with a total of 21 time points and 10 replicates for each time slice.

An example of the 10-gene transition network reconstructed using Friedman's algorithm is shown in Figure 3a. This network was converted to a GRN (Figure 3b) by forming a relationship between two genes if the two are related in time t and time t+1 as the DBN theory suggests.

Figure 3
figure 3

(a) A transition network of 10 genes learned by Friedman score metrics. The left column shows the genes at time t, and the right column the corresponding gene at the next time slice. (b) The gene regulatory network converted from (a).

The second example is the GRNs with 50 genes as shown in Figure 4 where the dashed lines indicate false positive edges, and solid lines true positive edges. The true network used to generate synthetic data in GeneNetWeave is given in Figure 4(a). The preprocessed network includes a large number of false positive edges (dashed lines), resulting in a lower accuracy. The GRN reconstructed by Murphy& Zou, as given in Figure 4(c), is a sparse network that has a lower recall, compared to the true network.

Figure 4
figure 4

The 50-gene network reconstructed by different algorithms with dashed lines indicating false positive edges, and solid lines true positive edges. (a) The true network, (b) Zou&Conzen's prior network algorithm, (c) Murphy's algorithm, (d) Friedman's algorithm, (e) Friedman's algorithm combined with the prior network.

The GRN reconstructed by the modified Friedman method (Method 3) without a preprocessed network is a dense network, as given in Figure 4(d). It is noted that the two regulators (YOR383C and YAL051W) were successfully reconstructed and they interact with 24 and 6 target genes, respectively. The GRN reconstructed by the Friedman method has a much higher structure similarity to the true network than Murphy & Zou (Method 2). In Method 4, the preprocessed network also used Friedman method to reduce the search space. The reconstructed GRN is also a sparse network with only one regulator gene identified, as demonstrated in Figure 4(e). It is seen that Zou&Conzen's algorithm can generate a preprocessed network to narrow down the search space, which is meaningful. While it rules out around 86% of the edges from the complete network, it is also a relatively loose rule to retain a large network for the next level learning algorithm. However, when the network size becomes larger, the precision of the preprocessed network (4.0% in the 50-node case and 2.4% in the 100-node case) gradually drops to the random guess precision (4.4% and 1.8%, respectively), as shown in Figure 5.

Figure 5
figure 5

Comparison of performance between different structure learning algorithms using synthetic dataset.

A complete performance comparison of the four algorithms in terms of precision and recall is given in Figure 5 and the corresponding data given in Table 1, which shows that Friedman's method gives higher precision and recall than the method of Murphy&Zou in all four networks. These results demonstrate that Friedman's method has a great potential in improving the accuracy of GRNs reconstruction.

Table 1 Comparison of performance between different structure learning algorithms using synthetic dataset (Ce: Correctly infered edges; P: Precision; R: Recall)

Real yeast benchmark dataset

We also investigated the performance of Friedman's DBN algorithm in reconstruct of GRNs from real biological datasets. We tested it on the benchmark yeast time series dataset from Spellman's experiment [19], and compared it with Murphy's DBN algorithm with Zou's preprocessed network [17], as well as a modified Probabilistic Boolean Network algorithm [4]. The dataset is from Spellman's experiment [19], and the interactions are from Saccharomyces Genome Database (SGD) database. The networks reconstructed by these three algorithms are showed as Figure 6 and precision and recall are given in Table 2. The results show that the Friedman's DBN algorithm outperforms Murphy's DBN algorithms in terms of accuracy and recall. Murphy's DBN algorithm shows a sparse network structure, compared with the rest. It is also found that the reconstruction accuracy from real biological datasets (Yeast datasets) is higher than that from the synthetic data.

Figure 6
figure 6

The real yeast network reconstructed by different algorithms (dashed lines indicating false positive edges, and solid lines true positive edges). (a) Murphy + Zou algorithm (b) Probabilistic Boolean Network (c) Friedman's score metrics.

Table 2 Comparison of performance between different structure learning algorithms using yeast benchmark dataset (Ce: Correctly infered edges; P: Precision; R: Recall)


In this study, we implemented Friedman's score metrics for DBNs by our algorithm, and applied the algorithm in reconstruction GRNs using both synthetic time series gene expression data and a real yeast benchmark dataset. The algorithm is able to capture the correlation between consecutive time slices in both score function and learning procedure, thus Friedman's score metrics gives a higher precision and recall than the naive REVEAL algorithm application in the absence or presence of preprocessed network generated by Zou&Conzen's algorithm. This also reflects that in real biological processes, time lag regulation might better describe the true regulation between genes. Also based on the testing results, the Friedman's score metrics we implemented has great potential in improving the accuracy of structure prediction for GRN reconstruction with complete synthetic time series data.


  1. De la Fuente A: What are gene regulatory networks?. Handbook of Research on Computational Methodologies in Gene Regulatory Networks. Edited by: Das S, Caragea D, Welch SM, Hsu WH. 2010, Medical Information Science Reference, Hershey, PA, 1-27.

    Chapter  Google Scholar 

  2. Lähdesmäki H, et al: On learning gene regulatory networks under the Boolean network model. Machine Learning. 2003, 52 (1,2): 147-167.

    Article  Google Scholar 

  3. Faith JJ, et al: Large-scale mapping and validation of Escherichia coli transcriptional regulation from a compendium of expression profiles. PLoS Bio. 2007, 5 (1): e8-10.1371/journal.pbio.0050008.

    Article  Google Scholar 

  4. Chaitankar Vijender, et al: A novel gene network inference algorithm using predictive minimum description length approach. BMC Syst Biol. 2010, 4 (Suppl 1): S7-10.1186/1752-0509-4-S1-S7.

    Article  PubMed Central  PubMed  Google Scholar 

  5. Chen T, et al: Modeling gene expression with differential equations. Pac Symp Biocomput. 1999, 4: 29-41.

    Google Scholar 

  6. Liang S, et al: REVEAL, a general reverse engineering algorithm for inference of genetic network architectures. Pac Symp Biocomput. 1998, 3: 18-29.

    Google Scholar 

  7. Imoto S, et al: Estimation of genetic networks and functional structures between genes by using Bayesian networks and nonparametric regression. Pac Symp Biocomput. 2002, 7: 175-186.

    Google Scholar 

  8. Stolovitzky G, et al: Lessons from the DREAM2 Challenges. Ann N Y Acad Sci. 2009, 1158 (1): 159-195. 10.1111/j.1749-6632.2009.04497.x.

    Article  CAS  PubMed  Google Scholar 

  9. Li P, et al: Comparison of probabilistic Boolean network and dynamic Bayesian network approaches for inferring gene regulatory networks. BMC Bioinformatics. 2007, 8 (Suppl 8): S13-

    Article  PubMed Central  PubMed  Google Scholar 

  10. Friedman N, et al: Learning the structure of dynamic probabilistic networks. Proc UAI-98, Madison. 1998, Wisconsin: Morgan Kaufmann

    Google Scholar 

  11. Cooper GF, Herskovits E: A Bayesian method for the induction of probabilistic networks from data. Machine Learning. 1992, 9 (4): 309-347.

    Google Scholar 

  12. Murphy KP, Mian S: Modeling Gene Expression Data Using Dynamic Bayesian Networks. Tech rep, MIT Artificial Intelligence Laboratory. 1999

    Google Scholar 

  13. Friedman N: Learning belief networks in the presence of missing values and hidden variables. ICML-97. 1997

    Google Scholar 

  14. Friedman N: The Bayesian Structural EM Algorithm. UAI-98. 1998

    Google Scholar 

  15. Tucker A, Liu X: A Bayesian network approach to explaining time series with changing structure. Intell Data Anal. 2004, 8 (5):

  16. Murph K: Dynamic Bayesian Networks: Representation, Inference and Learning. PhD thesis, Computer Science Division, UC Berkeley. 2002

    Google Scholar 

  17. Zou M, Conzen SD: A new dynamic Bayesian network (DBN) approach for identifying gene regulatory networks from time course microarray data. Bioinformatics. 2005, 21 (1): 71-79. 10.1093/bioinformatics/bth463.

    Article  CAS  PubMed  Google Scholar 

  18. Marbach D, et al: Generating realistic in silico gene networks for performance assessment of reverse engineering method. J Comput Biol. 2009, 16 (2): 229-239. 10.1089/cmb.2008.09TT.

    Article  CAS  PubMed  Google Scholar 

  19. Spellman , et al: Comprehensive identification of cell cycle-regulated genes of the yeast Saccharomyces cerevisiae by microarray hybridization. Mol Biol Cell. 1998, 9: 3273-3297.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

Download references


This work was supported by the US Army Corps of Engineers Environmental Quality Program under contract # W912HZ-08-2-0011and the NSF EPSCoR project "Modeling and Simulation of Complex Systems" (NSF #EPS-0903787). Permission was granted by the Chief of Engineers to publish this information.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Chaoyang Zhang.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors' contributions

HL implemented the algorithms, conducted network inference and performance comparison. HL and CZ drafted the paper. CZ, PG and EJP supervised this work and revised the paper. NW participated in algorithm development and network inference. All authors read and approved the final manuscript.

Rights and permissions

Open Access This article is published under license to BioMed Central Ltd. This is an Open Access article is distributed under the terms of the Creative Commons Attribution License ( ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Li, H., Wang, N., Gong, P. et al. Learning the structure of gene regulatory networks from time series gene expression data. BMC Genomics 12 (Suppl 5), S13 (2011).

Download citation

  • Published:

  • DOI: