 Research Article
 Open access
 Published:
Inference of regulatory networks with a convergence improved MCMC sampler
BMC Bioinformatics volume 16, Article number: 306 (2015)
Abstract
Background
One of the goals of the Systems Biology community is to have a detailed map of all biological interactions in an organism. One small yet important step in this direction is the creation of biological networks from postgenomic data. Bayesian networks are a very promising model for the inference of regulatory networks in Systems Biology. Usually, Bayesian networks are sampled with a Markov Chain Monte Carlo (MCMC) sampler in the structure space. Unfortunately, conventional MCMC sampling schemes are often slow in mixing and convergence. To improve MCMC convergence, an alternative method is proposed and tested with different sets of data. Moreover, the proposed method is compared with the traditional MCMC sampling scheme.
Results
In the proposed method, a simpler and faster method for the inference of regulatory networks, Graphical Gaussian Models (GGMs), is integrated into the Bayesian network inference, trough a Hierarchical Bayesian model. In this manner, information about the structure obtained from the data with GGMs is taken into account in the MCMC scheme, thus improving mixing and convergence. The proposed method is tested with three types of data, two from simulated models and one from real data. The results are compared with the results of the traditional MCMC sampling scheme in terms of network recovery accuracy and convergence. The results show that when compared with a traditional MCMC scheme, the proposed method presents improved convergence leading to better network reconstruction with less MCMC iterations.
Conclusions
The proposed method is a viable alternative to improve mixing and convergence of traditional MCMC schemes. It allows the use of Bayesian networks with an MCMC sampler with less iterations. The proposed method has always converged earlier than the traditional MCMC scheme. We observe an improvement in accuracy of the recovered networks for the Gaussian simulated data, but this improvement is absent for both real data and data simulated from ODE.
Background
One of the goals of the Systems Biology community is to have a detailed map of all molecular interactions in an organism. Although much work remains to achieve this goal, the inference of biological networks has become an important tool in Systems Biology. It is now widely recognized that the complexity of organisms is strongly related with the organization of its components in networks. This shifts the interest from the individual behaviour of the components to their orchestrated action. Therefore, the investigation and use of biological networks is highly relevant in the fields of medicine, agriculture, etc. However, these intricate biological networks are for the most part unknown. Owing to the fact that we have at our disposal many different types of measurements taken from the components of these networks one interesting approach would be to try to reconstruct such networks from measurements (data).
In the last few years, several methods for the reconstruction of regulatory networks and biochemical pathways from data have been proposed; see, for instance, [1–4]. For a review of classical methods, see [5–7]. Among various approaches for inferring networks, Bayesian Networks (BNs) are very attractive due to their probabilistic nature and flexibility in incorporating interventions and extra sources of information.
When BNs are adopted as a model for Genetic Regulatory Networks, they are usually sampled in a Markov Chain Monte Carlo (MCMC) scheme. This is because the available data is generally sparse, and it is impossible to enumerate all possible networks even for a reasonable number of nodes. The MCMC scheme has the advantage of being theoretically guaranteed to converge to the posterior distribution [8]. Unfortunately, in practice, MCMC is frequently slow in mixing and convergence and is therefore very computationally expensive. This problem is related with the fact that in the MCMC setup, the movements in the space of networks are based in single edge modifications; thus, the sampler is more easily trapped in local maxima. The concern with MCMC convergence is recurrent and present, e.g., in [9–13].
In [9] the authors address with the problem of convergence and mixing by introducing the proposal moves in the space of node orders. Unfortunately, in this method, the prior probability in network structures cannot be explicitly specified. In [13] the authors propose a new edge reversal move that improves the MCMC convergence when compared with the standard MCMC.
Considering these attempts to solve this problem, in this work we propose an alternative solution that employs a hierarchical Bayesian model to “guide” the MCMC sampling. As the target for this guidance, we use the result from Graphical Gaussian Models (GGMs).
Graphical Gaussian Models (GGMs) are much faster in the task of inferring Genetic Regulatory Networks. The speed of this method comes with a price, however. When compared with BNs, GGMs lack a certain amount of information, as by its nature it cannot either model edge directions or moralize the graph. These features make GGMs inherently less accurate than BNs. Interestingly, GGMs and BNs (scored with the Bayesian Gaussian likelihood equivalent (BGe) metric) share the same underlying statistical model, i.e., the multivariate Gaussian distribution.
Hence, the main aim of this work is to propose a hierarchical Bayesian model that uses the GGM as a “guide” to the MCMC sampling scheme, thus producing better mixing and convergence.
Methods
Bayesian networks
A combination of probability theory and graph theory lays the foundations for BNs.
A set of nodes and a set of directed edges define the graphical structure \(\mathcal {G}\) of a BN. Nodes represent random variables, and the conditional dependence relationship is represented by edges. The nature of the interactions between nodes and the intensity of these interactions are indicated by the family of conditional probability distributions \({\mathcal F}\) and their parameters q, which specify the functional form of the conditional probabilities associated with the edges. The local Markov property, i.e., A node is conditionally independent of its non descendants given its parents characterizes a simple and unique rule for expanding the joint probability in terms of simpler conditional probabilities. In accordance with this property, it is mandatory that a BN be a directed acyclic graph (DAG). Consider X _{1},X _{2},·,X _{ N } to be a set of random variables represented by the nodes i∈{1,·,N} in the graph. Define \(\pi _{i}[\mathcal {G}]\) to be the parents of node X _{ i } in graph \(\mathcal {G}\), and let \(X_{\pi _{i}[\mathcal {G}]}\) represent the set of random variables associated with \(\pi _{i}[\mathcal {G}]\). Then, we can write the expansion for the joint probability as \(P(X_{1},\cdot,X_{N}) =\prod _{i=1}^{N} P(X_{i}X_{\pi _{i}[\mathcal {G}]}) \).
Having at our disposal a set of training data \(\mathcal {D}\) the task of learning a BN structure in a scorebased approach consists in finding a DAG structure that better explains this data. Note that to learn a BN, it is not necessary to use Bayesian learning; however, in this work, this is the approach applied.
If we define that \(\mathbb {G}\) is the space of all models, the first goal is to find a model \(\mathcal {G}^{*}\in \mathbb {G}\) that is most supported by the data \(\mathcal {D}\), \(\mathcal {G}^{*}=\text {argmax}_{\mathcal {G}}\left \{P(\mathcal {G}\mathcal {D})\right \}\).
If we apply Bayes’ rule, we get \(P(\mathcal {G}\mathcal {D})\propto P(\mathcal {D}\mathcal {G})P(\mathcal {G})\), where the marginal likelihood implies an integration over the whole parameter space:
The integral in Eq. (1), our score, is analytically tractable when the data is complete and the prior \(P(\text {\textbf {q}}\mathcal {G})\) and the likelihood \(P(\mathcal {D}\text {\textbf {q}},\mathcal {G})\) satisfy certain regularity conditions [14, 15]. In this work, we employ the scoring metric known as the Bayesian Gaussian likelihood equivalent (BGe) score [16], which assumes that the data come from a multivariate Gaussian distribution.
MCMC Sampling scheme for BNs
Although there is a method to assign a score to a graphical structure given a data set, the search for high scoring structures is not trivial [17]. The number of structures increases superexponentially with the number of nodes; thus, it is impossible to list all the structures. Moreover, \(P(\mathcal {G}\mathcal {D})\) will not be properly represented by a single structure \(\mathcal {G}^{*}\) when sparse data sets are considered. Hence, an MCMC scheme is adopted [18], which under fairly general regularity conditions is theoretically guaranteed to converge to the posterior distribution [8].
Given a network structure \(\mathcal {G}_{\text {old}}\), a new network structure \(\mathcal {G}_{\text {new}}\) is proposed from the proposal distribution \(Q(\mathcal {G}_{\text {new}}\mathcal {G}_{\text {old}})\), which is then accepted according to the standard MetropolisHastings [8] scheme with the following acceptance probability:
The standard MCMC proposes at each interaction one of the basic operations of adding, removing or reversing an edge. In the following, the standard MCMC scheme of sampling BNs will be called BNMCMC. For more details about this scheme, see [19].
Graphical gaussian models
Graphical Gaussian models (GGMs) are undirected graphs in which edges represent the partial correlation coefficients. Partial correlation coefficients describe the pairwise correlation between two variables given all the rest of the variables in the domain. In this way, GGMs allow the identification of conditional independence relations among the variables under the assumption of a multivariate Gaussian distribution of the data.
Considering a given data set \(\mathcal {D}\), the empirical covariance matrix C with elements C _{ ik } is computed and inverted, and the partial correlations ρ _{ ik } are computed from
The stable estimation of the covariance matrix and its inverse is the critical step in this method. In [20], the authors proposed a novel covariance matrix estimator regularized by a shrinkage approach that outperforms the previous methods based on bagging [21]. This novel regularized shrinkage covariance estimator is based on the concept of shrinkage and exploits the Ledoit Wolf lemma [22] for analytic calculation of the optimal shrinkage.
An important point to observe when applying GGMs is the following. Consider two variables, X _{ i } and X _{ k }. In this case the element C _{ ik } of the covariance matrix C is related to the correlation coefficient between these two variables. A high correlation coefficient between these two variables may indicate three distinct types of interaction: direct, indirect, or joint regulation. However, the only interaction of interest for the construction of a network is direct interaction. The strengths of these direct interactions are measured by the partial correlation coefficient ρ _{ ik }, which describes the correlation between nodes X _{ i } and X _{ k } conditional on all the other nodes in the network. Thus, partial correlations ρ _{ ik } indicate the strength of the direct interactions, which are the only interactions that have a meaning for the reconstruction of the network.
BNs guided by GGMs (BNGGM)
When applying MCMC for sampling network structures in a score and search scheme, one of the main problems is the slow mixing and convergence of the MCMC.
In this work, we follow the ideas presented in [23–25] and propose a Hierarchical Bayesian model, hereafter called BNGGM, to sample network structures. This allows the MCMC sampling to be “guided” by a faster and coarser method, GGMs, thus improving mixing and convergence of the MCMC. GGMs are said to be coarser than BNs because they are able to represent only the undirected relationships amongst variables, and BNs can represent directed interactions. However, not all interactions are directed in BNs due to the existence of the equivalence classes.
GGM is applied to the data, and information about the graphical structure that gave origin to the data is retrieved. This information is not perfect, but it indicates a potential relationship among the variables. To employ this information together with the MCMC, the probabilistic graphical model presented in Fig. 1 is applied. The probabilistic graphical model represents conditional independence relations between the data \(\mathcal {D}\), the network structure \(\mathcal {G}\), and the hyperparameter of the prior on GGM, β _{GGM}.
Moreover, we follow [23] and define the prior distribution over network structures \(\mathcal {G}\) to take the form of a Gibbs distribution:
where β _{GGM} is the hyperparameter of the prior on GGM, Z(β _{GGM}) is a normalizing constant usually referred to as a partition function: \(Z(\beta _{\text {GGM}})= \sum _{\mathcal {G}\in \mathbb {G}}e^{\beta _{\text {GGM}} E(\mathcal {G})}\) and \(E(\mathcal {G})\) is the energy of a network \(\mathcal {G}\).
The hyperparameter β _{GGM} corresponds to an inverse temperature in statistical physics. It can be interpreted as a factor that indicates the strength of the influence of the GGM relative to the data. For β _{GGM}→0, the prior distribution defined in Eq. (4) becomes flat and uninformative about the network structure. Conversely, for β _{GGM}→∞, the prior distribution becomes sharply peaked at the network structure with the lowest energy.
The energy of a network is defined to be a measure of how similar two networks are. In the present work we are interested in sampling networks that are similar to the networks “suggested” by the GGM model; thus, the definition of energy is as follows.
A network \(\mathcal {G}\) can be represented by an adjacency matrix. In this matrix an entry g _{ ik } can assume either the values 0 or 1 representing, respectively, the absence or presence of an edge between nodes i and k. Additionally, the result of the GGM inference is a matrix, ρ, of partial correlation coefficients ρ _{ ik } where \(\{\rho _{\textit {ik}}\in \mathbb {R} 1\leq \rho _{\textit {ik}}\leq 1\}\). Because our interest lies in the partial correlation strength and not in its value we rescale the matrix ρ in a manner that its highest and lowest values match, respectively, the presence and the absence of an edge in the adjacency matrix. Each element of the rescaled partial correlation matrix, τ, is obtained by:
where . represents the absolute value of a number or the elementwise absolute values in a matrix. Note that \(\{\tau _{\textit {ik}}\in \mathbb {R} 0\leq \tau _{\textit {ik}}\leq 1\}\).
Having a transformed matrix of correlation coefficients, τ, we consider its entries τ _{ i,k } to represent the knowledge about the interactions between nodes as follows:

If entry τ _{ i,k }=0.5, it does not provide any knowledge about the presence or absence of the directed edge between nodes i and k.

If 0≤τ _{ i,k }<0.5, it provides evidence that there is no directed edge between nodes i and k. The evidence is stronger as τ _{ i,k } is closer to 0.

If 0.5<τ _{ i,k }≤1, we have prior evidence that there is a directed edge pointing from node i to node k. The evidence is stronger as τ _{ i,k } is closer to 1.
Additionally, we define the energy of a network \(\mathcal {G}\) as:
where N is the number of nodes in the network. The more similar the networks \(\mathcal {G}\) and τ are, the lower is the energy E. Increasing differences amongst \(\mathcal {G}\) and τ produce higher values of E.
MCMC sampling scheme for BNGGM
Having defined the prior probability distribution over network structures in the previous section, we now define an MCMC sampling scheme to sample from the posterior distribution both the network structure and the hyperparameter.
The goal is to sample the network structure \(\mathcal {G}\) and the hyperparameter β _{GGM} from the posterior distribution \(P\left (\mathcal {G},\beta _{\text {GGM}}\mathcal {D}\right)\) so that a new network structure \(\left (\mathcal {G}'\right)\) and a new hyperparameter (βGGM′) are proposed, respectively, from the proposal distributions \(Q\left (\mathcal {G}'\mathcal {G}\right)\) and R(βGGM′β _{GGM}). We then accept this move according to the standard MetropolisHastings update rule [8] with the following acceptance probability:
which due to the conditional independence relationship depicted in Fig. 1 can be expanded as follows:
The sampling of both structure and hyperparameter in the same move proposal is likely to produce low acceptance probability. Therefore, we split the move proposal into two submoves.
First, we sample a new network structure \(\mathcal {G}'\) from the proposal distribution \(Q(\mathcal {G}'\mathcal {G})\) while keeping the hyperparameter β _{GGM} fixed, and accept this move with the following acceptance probability:
Next, we sample a new hyperparameter β _{GGM} from the proposal distribution R(βGGM′β _{GGM}) for a fixed network structure \(\mathcal {G}\), and accept this move with the following acceptance probability:
For a uniform prior distribution P(β _{GGM}) and a symmetric proposal distribution R(βGGM′β _{GGM}), this expression simplifies to:
The two submoves are iterated until some convergence criterion is satisfied. The acceptance probability Eq. (11) can be rewritten as:
This equation shows the dependency of the acceptance probability on the partition functions Z(β _{GGM}) and Z(βGGM′). The calculation of the partition functions implies a summation over the whole space of network structures, which owing to its superexponential complexity is impractical to obtain. However, considering that all possible networks are valid, we can reduce this complexity to polynomial, thus making it possible to obtain an upper bound on the true partition function. For a detailed discussion about this subject, see [25, 26].
In this section, we presented the usual BN as a model for representing regulatory networks and how to sample BNs in a score and search scheme using an MCMC approach. Moreover, we presented the GGM method which is used in our proposed method. We have then introduced the proposed hierarchical Bayesian model, BNGGM, and its sampling scheme. The proposed method combines a simpler method, GGM, with the BN model to improve the mixing and convergence of the MCMC sampling scheme. In the Results section we compare the MCMC sampling of BNs with the sampling of BNGGMs to verify the improvement in mixing and convergence.
Simulations
Data
Three sets of data of a different nature are used to evaluate the proposed method in comparison with the traditional MCMC; they are the following: (i) data generated from a Multivariate Gaussian distribution, (ii) data generated with the GeneNetWeaver tool and (iii) real data from flow Cytometry experiments. Regarding the ability of the methods to learn the network structure from the data, the first type of data should be the easiest because it shares the same underlying model with the learning method, i.e., the Multivariate Gaussian distribution. The second type of data is obtained from a stochastic system of coupled differential equations and is more realistic, making it more difficult for a network to be accurately devised. The real data does not come from a model; hence, it should be the most difficult type of data to infer a network from.
Gaussian multivariate data
A clear and simple way of generating synthetic data from a given structure is to sample it from a linearGaussian distribution. The random variable X _{ i } denoting the expression of node i is distributed according to \(X_{i} \; \sim \;N\left (\sum _{k} w_{\textit {ik}}x_{k},\sigma ^{2}\right)\), where N(.) denotes the Normal distribution, the sum extends over all parents of node i, and x _{ k } represents the value of node k. The interaction strength between nodes X _{ i } and X _{ k } is w _{ ik }≠0. If w _{ ik }=0, node X _{ k } is not a parent of node X _{ i }. The value of σ ^{2} can be interpreted as being dynamic noise. Low values of σ ^{2} indicate a very deterministic data set; conversely, high values of σ ^{2} indicate a noisy data set. This process is the equivalent of sampling from a multivariate Gaussian distribution and, hence, a perfect match for the scoring method BGe. The data generated with this method will be referred to in this work as Gaussian data. To generate Gaussian data, we set w _{ ik }=1 if the edge is present in the network and w _{ ik }=0 otherwise. We also set σ ^{2}=0.01. These values are based on the work of [25, 27].
GeneNetWeaver data
To have more realistic simulated data we use the tool GeneNetWeaver (GNW) [28]. Data generated using GNW is obtained from a stochastic system of coupled differential equations (ODEs) with added noise. This type of data is supposed to be more similar to real data as it presents nonlinearities which are typical of real biological systems. However, we are sure about what network structure the inference algorithm should find because the data is simulated from a known structure. Regarding the parameters in the GNW tool, we selected experiments to be “multifactorial” with “add Gaussian noise” and “std dev =0.005”. Data generated with this method will henceforth be referred to as GNW.
For both types of simulated data, Gaussian and GNW, we obtained data sets from the structure presented in Fig. 2.
Real flowcytometry data
In [29] the authors used intracellular multicolour flow cytometry experiments to measure the concentration levels of the 11 proteins that compose the network depicted in Fig. 3.
This pathway has been extensively studied in the literature (e.g., [29, 30]), hence,
an accepted gold standard network obtained from various distinct studies is available; see Fig. 3. The data produced with this method is regarded as Real data in this work.
The Real data sets are achieved from the structure presented in Fig. 3.
For each one of the three types of data, Gaussian, GNW and Real, we generated five data sets with 100 measurements (data points) each. The GNW and Real data sets were preprocessed before being analysed. We used quantilenormalisation to normalise each of the five data sets. That is, for each of the variables we replaced the 100 measured values by quantiles of the standard normal distribution N(0,1). More precisely, for each of the variables the jth highest measured value was replaced by the \(\left (\frac {j}{100}\right)\)quantile of the standard normal distribution, whereby the ranks of identical measured values were averaged.
Simulation setup
In total, we have at our disposal 15 data sets. They are obtained from the three different types of data, Gaussian, GNW and Real, with five data sets in each type.
For each of the data sets and for each of the inference methods, BN and BNGGM, we executed two MCMC simulations. The number of two MCMC simulations permits our analysis of convergence. In total, we performed 60 MCMC simulations. The number of MCMC steps was set to 10^{4}, from which samples were taken in intervals of 10 MCMC steps. The first half of the MCMC steps were discarded as the burnin phase.
Following [25], we set P(β _{GGM}) to be the uniform distribution in the interval [0,30].
Evaluation
Our results are evaluated in two main aspects. One aspect that we are interested in is the reconstruction accuracy and the other is the quality of mixing and convergence.
The result of the MCMC simulation is a collection of sampled network structures represented in adjacency matrices. From this collection of matrices, we obtain one average matrix, \(\mathcal {R}\), where each entry r _{ ij } indicates the marginal posterior probabilities of the edges. To assess the performance of the methods, it is necessary to compare its results with some known network. We call this known network the true network \(\mathcal {T}\), where the entries t _{ ij }∈{0,1} indicate the presence and the absence of the connection between nodes X _{ i } and X _{ j }.
To compare our resulting network \(\mathcal {R}\) with the true network \(\mathcal {T}\) we transform it in an adjacency matrix, \(\mathcal {A_{R}}(\epsilon)\), by imposing a threshold ε. Each entry of the adjacency matrix a _{ ij } is 1 if r _{ ij }≥ε and 0 otherwise.
Having these two matrices, \(\mathcal {T}\) and \(\mathcal {A_{R}}(\epsilon)\), we can classify each of the edges into categories. An edge can be classified as true positive (TP), false positive (FP), true negative (TN) or false negative (FN); see Table 1 for a summary.
The receiver operator characteristics (ROC) curve is obtained by varying the threshold ε and plotting the relative number of TP edges against the relative number of FP edges for each of the thresholds. As it is impractical to compare the whole ROC curves, we instead use the area under the ROC curve (AUC). The AUC summarizes the results for all the thresholds. A perfect predictor would produce an AUC value of 1. Conversely, a random predictor would produce an AUC value of approximately 0.5. In general, bigger area values represent better predictors.
Due to the existence of the equivalence classes, not all of the edges in an inferred Bayesian network are directed. Therefore, to compute the AUC, we consider an undirected edge as the superposition of two directed edges pointing in opposite directions.
Results and Discussion
The results are presented with two main aims: verify the reconstruction accuracy and assess the quality of mixing and convergence. The results regarding the hyperparameter β _{GGM} are presented in the Additional file 1.
Results are shown for two methods: (i) BNMCMC which is the standard sampling of BNs with the structure MCMC and (ii) BNGGM which regards the proposed Hierarchical Bayesian model in which network sampling is guided by GGMs results.
In Fig. 4, a summary of the results regarding the reconstruction accuracy is presented. To measure the accuracy of reconstruction, we use the AUC (Area Under the ROC Curve), where ROC is the Receiver Operator Characteristics. The vertical axis shows the mean AUC, and the horizontal axis presents the MCMC step. Each graph presents the mean (in the middle line) and standard deviation (in the upper and bottom lines that delimit the shaded grey area) of the AUC calculated from five distinct data sets. The AUC value is calculated for each simulation step; i.e., in each step, we considered this to be the size of the simulation and calculated the AUC value. With this setting, it is possible to analyse what the results would be if the simulation was run for the given number of steps.
The mean and standard deviation are calculated from five different data sets for each type of data and for the two methods. BNMCMC results are presented in the top panels, (a), (b) and (c), and the results from BNGGM are presented in the bottom panels, (d), (e) and (f). In the left panels, (a) and (d), are the results from the Gaussian data set; middle panels, (b) and (e), present the results from the GNW data set and the right panel, (c) and (f), shows results for real flow cytometry data.
Figure 5 depicts the results regarding the convergence of the MCMC algorithms. To evaluate convergence in an MCMC in which the sampled parameters are graphs (networks), it is usual to run two simulations with different initializations and produce a scatter plot of the posterior probability of the edges. In a long enough simulation, the posterior probabilities of the edges will be very similar, and all the scatter plot points will lie very close to the line y=x. If simulations have not properly converged, these points are expected to lie far from this line. As a way to verify convergence, one usually inspects these scatter plots and decides if the simulations converged; see, for instance, [9, 13]. The visual verification of convergence only satisfies a necessary condition for convergence and does not guarantee that convergence has been achieved. In this work, we propose a method for measuring the spread of the points around the line y=x and use this value to evaluate the convergence of the MCMC. We call this measure the convergence rms, or simply c _{rms}. For an explanation of how we obtain this value, please refer to the Additional file 1.
In Figure 5, typical convergence behaviour is presented for each type of data and for the two inference methods. The vertical axis presents the c _{rms}, and the horizontal axis shows the MCMC step. In each graph, there are two lines, one presents the results from the BNMCMC, and the other results are from the BNGGM. Each of these lines is the result of running the algorithm twice from different initializations. Here, we show the graphs for only one data set. The plots for all the data sets are presented in the Additional file 1.
From Fig. 5, it is clear that the new method, BNGGM, converges in less iterations than the BNMCMC. In the Gaussian data set, left panel, BNMCMC appears to have not converged even at the end of the entire simulation. In the GNW and Real data sets, both methods appear to have converged. However, the BNGGM presents better convergence at the end of the MCMC and moreover converges earlier than the BNMCMC. By inspecting these plots, it is possible to observe that with the new method, the simulations for all three types of data could easily have been stopped earlier. In general, it is safe to say that 4×10^{3} steps should have been enough to produce good results.
Despite the indication that the BNGGM has converged in less iterations than BNMCMC, it is still necessary to check its performance regarding the reconstruction of networks. This verification is necessary because our convergence diagnostics are just a necessary condition for convergence, and it is possible that the simulations have converged to the wrong posterior distribution. If this is the case, the quality of the reconstructed networks should be poor. Figure 4 presents the results in terms of network reconstruction accuracy.
In the Gaussian data set, the difference in both methods is clear. At the end of simulations (10^{4} steps), the BNGGM AUC mean value is very close to 1 and presents very little variance, indicating that the simulations for all data sets have retrieved almost all of the structure of the network correctly. On the other hand, at the same point, BNMCMC presents very high variance indicating that the simulations have not yet converged. These results are in accordance with the indication in Fig. 5 (a).
The simulations of the GNW data set do not present a significant difference among the methods in the AUC value at the end of the entire simulation. However, it is clear that BNGGM has converged earlier than BNMCMC and presents lower variance in general, indicating improved convergence.
The results for the Real data set are very similar to those of GNW. This is very interesting and reinforces the notion that the GNW simulated data is similar to the Real data. Again, in this case, we can see that BNGGM appears to have converged earlier than BNMCMC despite not presenting a significant difference at the end of the whole simulation.
Conclusions
In this paper, we presented a hierarchical Bayesian model that by combining GGMs with BNs, improves the convergence of the MCMC algorithm applied to the inference of regulatory networks.
If the two methods, BNMCMC and BNGGM, are run for infinitely long MCMC steps, they will both provide the same result regarding the network reconstruction accuracy. This is expected, as both methods sample networks from the posterior distribution and are guaranteed to converge in an infinitely long simulation. Hence, the principal advantage of the new method is not related with the reconstruction accuracy but instead with the number of MCMC steps necessary to reach convergence. It is clear by inspecting the results that the new method converges earlier than the standard method. Therefore, due to the earlier convergence, it may be possible to run fewer MCMC steps.
When comparing the proposed method with the traditional method, we can observe an interesting feature. When running standard BNMCMC simulations, it is common for some of these simulations to take a long time to converge, and some simply do not converge in a determined number of simulation steps. Interestingly, when applying the new method, this did not happen in any of the simulations, indicating that the new method “guides” the sampling towards the correct posterior distribution from the beginning of the simulations.
Another attractive aspect of this work is that the extra information used in the BNGGM is obtained from the data itself; thus, there is no need for any other source of data. The extra information is obtained from a distinct method that has the ability to recover such information much faster than the MCMC methodology. It is interesting how the knowledge from the coarser method is transferred to the more refined method. A future research possibility will be to compare the method presented here with the transfer learning methodology. Additionally, we need to investigate the application of the present method in a setting where both methods use different assumptions. For instance, we need to test a coarser method like Mutual Information associated with the multivariate Gaussian model. Because Mutual Information can model non linear interactions, we need to verify if this knowledge can be an advantage in guiding the MCMC sampling.
The main conclusion of this study is that the proposed method improves convergence of MCMC in comparison with the traditional MCMC scheme and, therefore, makes safer the use of MCMC for the sampling of regulatory networks.
Availability
All the data sets and programs (written in Octave) are available as a zip file in http://tinyurl.com/qh9vf8k. This zip file contains a file named readme.txt that explains how to use the data in conjunction with the programs to reproduce all the results presented in the paper.
References
Godsey B. Improved inference of gene regulatory networks through integrated Bayesian clustering and dynamic modeling of timecourse expression data. PloS ONE. 2013; 8(7):68358. doi:10.1371/journal.pone.0068358.
Grzegorczyk M, Husmeier D. Improvements in the reconstruction of timevarying gene regulatory networks: dynamic programming and regularization by information sharing among genes. Bioinformatics. 2011; 27:693–9.
Guo X, Zhang Y, Hu W, Tan H, Wang X. Inferring nonlinear gene regulatory networks from gene expression data based on distance correlation. PLoS ONE. 2014; 9(2):87446.
Young W, Raftery A, Yeung K. Fast Bayesian inference for gene regulatory networks using ScanBMA. BMC Syst Biol. 2014; 8(1):47. doi:10.1186/17520509847.
De Jong H. Modeling and simulation of genetic regulatory systems: A literature review. J Comput Biol. 2002; 9(1):67–103.
D’haeseleer P, Liang S, Somogyi R. Genetic network inference: from coexpression clustering to reverse engineering. Bioinformatics. 2000; 16(8):707–26.
Markowetz F, Spang R. Inferring cellular networks–a review. BMC bioinformatics. 2007; 8 Suppl 6(Suppl 6):5. doi:10.1186/147121058S6S5.
Hastings WK. Monte Carlo sampling methods using Markov chains and their applications. Biometrika. 1970; 57:97–109.
Friedman N, Koller D. Being Bayesian about network structure. Mach Learn. 2003; 50:95–126.
David Madigan JY, Allard D. Bayesian graphical models for discrete data. Int Stat Rev. 1995; 63:215–32.
Damien P, Mfiller P. A bayesian bivariate failure time regression model. Comput Stat Data Anal. 1998; 28:77–85.
Song S. Qian CAS, Borsuk ME. On monte carlo methods for bayesian inference. Ecol Model. 2003; 159:269–77.
Grzegorczyk M, Husmeier D. Improving the structure mcmc sampler for bayesian networks by introducing a new edge reversal move. Mach Learn. 2008; 71(2–3):265–305. doi:10.1007/s1099400850577.
Heckerman D. Learning Gaussian networks. Technical Report MSRTR9410. Redmond, Washington: Microsoft Research; July 1994.
Heckerman D. A tutorial on learning with Bayesian networks. Technical Report MSRTR9506. Redmond, Washington: Microsoft Research; 1995.
Geiger D, Heckerman D. Learning Gaussian networks In: de Mantaras RL, Poole D, editors. Uncertainty in Artificial Intelligence. San Francisco, CA: Morgan Kaufmann. p. 235–43.
Chickering DM, Heckerman D, Meek C. LargeSample Learning of Bayesian Networks is NPHard. J Mach Learn Res. 2004; 5:1287–1330.
Madigan D, York J. Bayesian graphical models for discrete data. Int Stat Rev. 1995; 63:215–32.
Husmeier D, Dybowski R, Roberts S. Probabilistic Modeling in Bioinformatics and Medical Informatics. Advanced Information and Knowledge Processing. New York: Springer; 2005.
Schäfer J, Strimmer K. A shrinkage approach to largescale covariance matrix estimation and implications for functional genomics. Stat Appl Genet Mol Biol. 2005; 4:Article 32. http://www.degruyter.com/view/j/sagmb.2005.4.1/sagmb.2005.4.1.1175/sagmb.2005.4.1.1175.xml.
Schäfer J, Strimmer K. An empirical Bayes approach to inferring largescale gene association networks. Bioinformatics. 2005; 21(6):754–64.
Ledoit O, Wolf M. A well conditioned estimator for largedimensional covariance matrices. J Mutivariate Anal. 2004; 88:365–411.
Tamada Y, Kim S, Bannai H, Imoto S, Tashiro K, Kuhara S, et al. Estimating gene networks from gene expression data by combining Bayesian network model with promoter element detection. Bioinformatics. 2003; 19:227–36. doi:10.1093/bioinformatics/btg1082.
Imoto S, Higuchi T, Goto T, Miyano S. Error tolerant model for incorporating biological knowledge with expressiondata in estimating gene networks. Stat Methodol. 2006; 3(1):1–16.
Werhli AV, Husmeier D. Reconstructing gene regulatory networks with Bayesian networks by combining expression data with multiple sources of prior knowledge. Stat Appl Genet Mol Biol. 2007; 6(1):15.
Werhli AV. Reconstruction of gene regulatory networks from postgenomic data. PhD thesis, Institute for Adaptive and Neural Computation  School of Informatics  University of Edinburgh. 2007.
Werhli AV, Grzegorczyk M, Husmeier D. Comparative evaluation of reverse engineering gene regulatory networks withrelevance networks, graphical Gaussian models and Bayesian networks. Bioinformatics. 2006; 22(20):2523–531. doi:10.1093/bioinformatics/btl391.
Schaffter T, Marbach D, Floreano D. GeneNetWeaver: In silico benchmark generation and performance profiling of network inference methods. Bioinformatics. 2011; 27(16):2263–270. doi:10.1093/bioinformatics/btr373.
Sachs K, Perez O, Pe’er D, Lauffenburger DA, Nolan GP. Causal proteinsignaling networks derived from multiparameter singlecell data. Science. 2005; 308(5721):523–9.
Dougherty MK, Müller J, Ritt DA, Zhou M, Zhou XZ, Copeland TD, et al. Regulation of Raf1 by direct feedback phosphorylation. Mol Cell. 2005; 17:215–24.
Heckerman D. A tutorial on learning with Bayesian networks. In: Jordan MI, editor. Learning in Graphical Models. Adaptive Computation and Machine Learning. Cambridge, Massachusetts: MIT Press: 1999. p. 301–54.
Acknowledgements
AVW and KSM acknowledge financial support from Brazilian National Council for Research (CNPq). NMB acknowledges financial support from FAPERGS.
Author information
Authors and Affiliations
Corresponding author
Additional information
Competing interests
The authors declare that they have no competing interests.
Authors’ contributions
All the authors have participated in the design of the study and in the analysis of the results. NMB carried out all the simulations. AVW drafted the manuscript. NMB and KSM revised the manuscript and prepared the final version of the results and the Additional file 1. All authors read and approved the final manuscript.
Additional file
Additional file 1
Supplementary material for the article. This is a pdf file named bmc_bnggm_supplementary_new.pdf. It can be viewed in any pdf file reader. The file contains an explanation about the score we use in substitution of the visual evaluation for the evaluation of the MCMC convergence. We also put in this supplementary material all the graphs of the results that were the basis for the summarized results presented in the main article. (PDF 1986 kb)
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License(http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver(http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.
About this article
Cite this article
Agostinho, N.B., Machado, K.S. & Werhli, A.V. Inference of regulatory networks with a convergence improved MCMC sampler. BMC Bioinformatics 16, 306 (2015). https://doi.org/10.1186/s1285901507346
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s1285901507346