Abstract
Background
Since the advent of microarray technology, numerous methods have been devised to infer gene regulatory relationships from gene expression data. Many approaches that infer entire regulatory networks. This produces results that are rich in information and yet so complex that they are often of limited usefulness for researchers. One alternative unit of regulatory interactions is a linear path between genes. Linear paths are more comprehensible than networks and still contain important information. Such paths can be extracted from inferred regulatory networks or inferred directly. Since criteria for inferring networks generally differs from criteria for inferring paths, indirect and direct inference of paths may achieve different results.
Results
This paper explores a strategy to infer linear pathways by converting the path inference problem into a shortestpath problem. The edge weights used are the negative logtransformed probabilities of directness derived from the posterior joint distributions of pairwise mutual information between gene expression levels. Directness is inferred using the data processing inequality. The method was designed with two goals. One is to achieve better accuracy in path inference than extraction of paths from inferred networks. The other is to facilitate priorization of interactions for laboratory validation. A method is proposed for achieving this by ranking paths according to the joint probability of directness of each path's edges. The algorithm is evaluated using simulated expression data and is compared to extraction of shortest paths from networks inferred by two alternative methods, ARACNe and a minimum spanning tree algorithm.
Conclusions
Direct path inference appears to achieve accuracy competitive with that obtained by extracting paths from networks inferred by the other methods. Preliminary exploration of the use of joint edge probabilities to rank paths is largely inconclusive. Suggestions for a better framework for such comparisons are discussed.
Background
Gene microarrays and RNAseq both measure the simultaneous expression (i.e. amount of RNA transcript) of hundreds or thousands of genes. The relationship between genes' expression levels across multiple samples can be used to infer regulatory relationships. Inferring these relationships computationally can focus research and save time and expense.
Early approaches for inferring gene regulatory networks (GRNs) do not distinguish between direct regulatory interactions, such as the relationship between a transcription factor and a gene it promotes, and indirect relationships, such as coregulation and coexpression. One such approach is inference of a minimum spanning tree (MST). MST algorithms identify the set of edges that connects all the nodes in a graph with minimum total weight. Figure 1 shows an example minimum spanning tree. While the edges MST algorithms include are among the strongest, they omit any edges not needed to span the graph. Network inference tools based on MSTs include Airnet [1] and Module Miner [2].
Figure 1. A minimum spanning tree.
Newer methods go beyond inferring "relevance networks" to inferring direct relationships. Two information theorybased methods, ARACNe [3] and CLR [4] were among the first to distinguish direct interactions, such as those between genes and their transcription factors, from indirect ones, such as coregulation and coexpression. This has also been done using maximum relevanceminimum redundancy feature selection [5], static and dynamic Bayesian networks [6,7], tree ensemble methods [8], and pathwayconsistency algorithms using conditional dependencies [9].
Inferred GRNs resemble a chaotic "hairball" of nodes and edges. In this complex form, their rich information may not be very accessible. Inferring a simpler unitthe most likely chain of regulatory interactions that connects two genes of interestmay have advantages. A linear path may be surrounded by interactions that are also of interest, but it could capture the most important set of interactions in a comprehensible way. The path could be viewed in its network context by taking its union with other paths. If the path inference method can provide some means of sorting paths according to their likelihood of accuracy, this could be used to prioritize laboratory validation of interactions between genes of interest.
The probability of a path being composed of direct edges is the joint probability of directness of its component edges. The method presented in this paper exploits this fact to convert the pathway inference problem into a shortestpath problem, deriving the weight for each edge in the graph from its the estimated probability of directness. The weights are transformed such that finding the shortest path between two genes maximizes the product of the probabilities of its edges. The resulting path probabilities could theoretically be used to rank paths according to their likelihood.
The computational alternative to inferring paths directly is extracting paths from inferred networks. However, some network inference criteria may be maximized by omitting edges that would be needed in paths. And network inference may not lead to a systematic way of ranking extracted paths. With this in mind, two methods were chosen for comparison that offer interesting contrasts to the shortestpath method. One is an implementation of the ARACNe algorithm. The other is a basic MST method.
Mutual information and the data processing inequality
Relationships between genes' expression levels can be quantified using a measure of dependency, such as Pearson's correlation, Spearman's correlation, Euclidean distance, or mutual information.
Butte and Kohane [10] first used mutual information (MI) to infer relevance networks. It has since become the dominant dependency measure in GRN inference. Unlike Pearson's correlation, MI captures nonlinear dependence and makes no assumption about the form of the joint distribution. The MI of two random variables X and Y is defined as:
where p(x) and p(y) are the marginal probability distributions of x and y, and p(x,y) is the joint probability distribution. The actual MI of two random variables is an unknown parameter. Many methods have been proposed for estimating MI (see WaltersWilliams and Li [11] for one review and comparison). Without strong distributional assumptions, no method has been shown to be optimal.
Simple thresholding of MI estimates does not isolate direct relationships. However, directness can be inferred by comparison of MI values. One approach is based on the data processing inequality (DPI), whose use for GRN inference was pioneered by Basso et al.[3] in connection with the ARACNe algorithm. Take a trio of genes A, B, and C, where A influences C only through B (see Figure 2).
Figure 2. DPI triplet comparison.
The DPI states that the information of the indirect relationship will be the least of the three. That is,
The inequality can be taken to be strict in the context of biological processes. It can be shown that, if true MI values could be used rather than estimates, pruning edges based on the DPI would perfectly reproduce an acyclic graph.
Inference of directness based on the DPI is used in the shortestpath method as well, with the difference that a probability of directness is estimated for each edge, rather than a simple imputation of directness or indirectness. More details can be found in the Methods section.
Results
In the network inference literature, as with other binary classification problems, performance is often measured by sensitivity (synonymous with recall) and specificity. These can be calculated from the number of true positives, false positives, true negatives, and false negatives.
Precision is related to specificity but is more appropriate in the context of paths, since the number of true negatives (edges that were not included in the true path) dwarfs the number of edges in the path.
For this reason, precision and recall were chosen as measures of performance. Results are reported from paths longer than a single edge. This allows for comparison with the nodederived measures, which would be meaningless for paths of a single edge.
Most of the datasets used are from the DREAM3 in silico network inference challenge and were generated by the GeneNetWeaver package from 10 experimentally determined GRNs. There are 5 each (2 from E. coli and 3 from S. cerevisiae) of 10 and 50 genes. The other data set of 50 genes, from the R package Minet [12], was generated from a S. cerevisiae network by the SynTReN package. The network topology of the datasets differ. One characteristic expected to be of particular importance was the cyclicity of the network, here measured as the fraction of back edges encountered in a depthfirst search.
Absolute and relative performance varies across datasets. Figure 3 shows edgewise recall when plotted against cyclicity across all datasets. Edgewise precision was nearly identical to edgewise recall. Nodewise recall and precision resemble their edgewise counterparts but are generally higher, and the difference is greater for precision than for recall.
Figure 3. Edgewise recall by cyclicity.
Figures 4, 5, 6, 7 show the comparative performance of the different algorithms as the length of the true path increases. The results are from the Minet dataset. Edgewise recall and nodewise recall both decrease as path length increases. Nodewise recall tends to be about twice as high as edgewise recall. Edgewise precision increases very slightly with path length. Nodewise precision also increases with path length, and the increase is greater than for edgewise precision.
Figure 4. Edgewise recall by true path length.
Figure 5. Edgewise precision by true path length.
Figure 6. Nodewise recall by true path length.
Figure 7. Nodewise precision by true path length.
As mentioned earlier, an additional goal of the direct path inference method is the ability to rank pathways according to their likelihood. If the derived probabilities of each edge's directness are accurate and independent, one would expect a strong relationship between the joint probability of the edges and the path's precision and recall. One of the simplest relationships that could exist between path probability and performance is a linear correlation. Figure 8 shows the correlation between path probability and the average of precision and recall as cyclicity increases. The correlation was weak and inconsistent. It appears to approach zero as cyclicity increases, and is most often negative.
Figure 8. Correlation of performance and path probability.
Improvements to other methods
The bootstrapping technique used to derive edge probabilities in the shortestpath method could also be used to increase the robustness of the mutual information estimates used by the other methods. The mean or median of the estimates from the bootstraps could be taken in place of the original estimate, reducing the effect of outliers. At the same time, this could result in some loss of sensitivity relative to using the full original dataset. It appears that both ARACNe and the minimum spanning tree algorithm tend to perform better using the mean of bootstrap estimates. The gains in robustness appear to outweigh the loss in sensitivity in most cases.
The negative log transformation used on edge probabilities in the shortestpath method could also be applied in connection with other methods that similarly seek to maximize some objective function using a minimization algorithm. For the MST method used in this paper, mutual information values are scaled by the maximum value and subtracted from one. Airnet uses a similar transformation, differing in that, since it uses Pearson's correlation, the values are already bounded between zero and one and do not need to be scaled by the maximum value. Using the negative log transformation for the MST achieved performance at least as good as that achieved using the subtractfromone transformation, and negative log transformation may be more mathematically appropriate in some cases.
Discussion
The fact that nodewise performance (particularly precision) tends to exceed edgewise performance, along with the tendency to find paths that are shorter than the true paths, could indicate skipping between correct nodes. This may occur in cycles, where a key assumption of the DPI does not holdnamely, that nodes are not related through multiple channels. If the sum of multiple relationships between two genes is strong enough, the algorithm may infer a direct connection with the node at the other end of the cycle. Figure 9 shows a fournode cycle where skipping would occur. In this case, true edges AB and CD would be pruned, and a direct interaction would be incorrectly inferred between A and D.
Figure 9. Fournode cycle in which skipping could occur.
The inference of longer paths may be less sensitive to estimation errors than the inference of shorter paths. If a true edge in a path appears weak, strong edges in the path could compensate. However, detecting this effect would require better controls and a wider selection of networks than used in this study. While some of the results appear to confirm the hypothesis that inference of longer paths is more accurate, they should be interpreted with caution. The slight increase in edgewise precision as true path length increases could reflect the fact that there are more ways of including correct edges in longer paths. The greater increase in nodewise precision with path length would be consistent with the hypothesis of shortcut errors; however, there are more ways to get correct nodes than correct edges for any maximum path length k (by a factor of (k1)!), and random paths generated for comparison exhibit a similar upward trend.
The counterintuitive result that path probability is negatively correlated with precision and recall may relate to the kind of errors that occur. On average, inferred paths are shorter than the true paths. Each erroneous shorter path is chosen because it has higher joint probability than the correct path, whether due to incorrect calculation of edge probabilities or dependence between edge probabilities. When the most probable path between two nodes involves no shortcuts, it may tend to be longer and have lower probability. However, the correlation was weak and inconsistent, and could be an artifact of the way performance metrics were derived. In addition, nonlinear relationships could exist that would not be reflected by the correlation coefficient. Further investigation is needed to determine what relationships exist and how they could be used to rank paths.
Conclusions
The performance of the shortestpath method appears comparable to the other two methods. However, the metrics used may not be optimal. Conditioning on true path length complicates generalizations about performance trends. Also, inferred paths are compared to the most direct path through the graph, ignoring valid but less direct paths. The measure of cyclicity used here (proportion of back edges) does not directly indicate the size and number of cycles. And the shortestpath method optimizes for finding the entire correct path, while the test metrics are based on finding any part of it. This may affect contrasts with MST algorithms, for example, which achieve low recall and high precision at the network level. MSTs are likely to do well in partial credit comparisons and poorly on allornothing metrics.
Any method using MI is sensitive to the quality of MI estimation, which is difficult with the relatively small number of samples common in microarray data. The direct path inference method relies on estimation of the posterior distribution of MI, an even more difficult problem. Bayesian estimation could perform better with small sample sizes, and may enable incorporation of data about known regulatory interactions in a statistically sound way as priors.
Improvements could be made to the inference of directness in cycles. The type of skipping hypothesized here should occur most when the ratio of the number of paths between the end genes of the cycle and the length of the paths is high. However, relationships mislabeled by skipping are important ones despite being indirect.
There is at least one valid objection to the assumption of independent edge probabilities: they are based on triplet comparisons, and any two adjacent edges are jointly involved in one triplet comparison. The decisive comparison in classifying an edge as indirect will result in dependence between the edges in that triplet, particularly between edges whose MI values are closest. From a biological standpoint, expression levels of many genes are not independent (their dependency is what the MI describes), and the dependency between two genes may be related to the expression level of another gene (e.g. a coactivator or corepressor), but it's unclear how dependence between the dependencies of genes would arise in a high enough proportion of regulatory scenarios to significantly affect this method's performance.
The code for this project can be found at
 http://dna.cs.byu.edu/shortest/
Methods
Path Inference
A path exists if each of its edges represents a direct regulatory relationship. The problem can be framed as finding the path that is most likely, given the data, to be composed entirely of direct edges. Let RT represent the set of all possible paths from r to t, and let e_{p }be the set of edges in path p. Assuming the DPI holds, the edge between nodes A and B is direct if and only if it is not the least edge in any triplet comparison with any other node C. This condition will be abbreviated as DPI(AB):
Thus, the path is to be found with maximum probability of every edge being direct. In other words,
This requires finding the posterior joint probability of MI values. It can be approximated by bootstrapping. For each bootstrap round of MI estimation, each edge's directness according to the DPI is recorded. Its probability of directness is taken to be the proportion of bootstraps in which it is considered direct.
The probability of a path is the joint probability of its edges. The number of possible paths in a complete graph of n nodes is exponential, and the number of paths under some length threshold k (e.g. a limit of biological plausibility) is O(n^{(k1)}). Computing probabilities for all paths is infeasible for large graphs. However, if edges' being direct are independent events, the joint probability of edges in a path is equal to the product of edge probabilities. Then (1) can be expressed as
Since the logarithm is a monotonic increasing transformation, order is preserved when (2) is expressed as
Which in turn is equivalent to
This reduces pathway inference to a shortestpath problem, using as edge weights the negative log of the probability that each edge is direct. Since the transformed edge weights are positive, Dijkstra's algorithm can be used to find the shortest path between a given root node and all other nodes in a graph. Using priority queues, Dijkstra's algorithm is of O(E + nlog(n)) complexity, where E is the number of edges and n is the number of nodes. Dijkstra's algorithm was used previously by Gebert et al. [13] in a differential equation framework to explore regulatory network connectivity and identify influential genes.
For the baseline random paths set, one random path was generated for each combination of root and target nodes, of a random length no greater than that of the longest true path in the true network.
The ARACNe method referred to in this paper is an independent implementation of the algorithm described in Margolin et al. [14]. The ARACNe algorithm applies a significance threshold (derived by a permutation test) to MI estimates and prunes edges according to the DPI with a tolerance margin. For path inference, it performed best with a stringent tolerance margin and a permissive significance threshold.
The MST network inference method applied Prim's algorithm to pairwise transformed MI. In order for the minimum spanning criterion to optimize the strength of included edges, each MI value was transformed by scaling by the maximum value in the dataset and then subtracting from one. Airnet applies a similar transformation using Pearson's correlation.
For both the ARACNe and MST methods, Dijkstra's algorithm was used to extract shortest paths from the inferred network, with each edge in the network having unit weight.
Competing interests
The authors declare that they have no competing interests.
Authors' contributions
JDJ conceived the basic idea, led the project, and performed the implementation and testing. DMJ provided crucial mathematical insights, experimental suggestions, and proofreading. MJC and QOS provided important resources, feedback, and instructions on certain aspects of the implementation.
Declarations
This research was funded in part by an anonymous donor in connection with the Robert K. Thomas scholarship.
This article has been published as part of BMC Bioinformatics Volume 14 Supplement 13, 2013: Selected articles from the 9th Annual Biotechnology and Bioinformatics Symposium (BIOT 2012). The full contents of the supplement are available online at http://www.biomedcentral.com/bmcbioinformatics/supplements/14/S13
References

Oviatt , et al.: "Inferring gene regulatory networks from asynchronous microarray data with AIRnet.".
BMC Genomics 2010, 11(Suppl 2):S6. PubMed Abstract  Publisher Full Text  PubMed Central Full Text

Mahanta P, et al.: "Extraction of Network Modules from Coexpression Network".
Biotechnology and Bioinformatics Symposium, Houston, TX Oct 2011, 2021.

Basso , et al.: "Reverse engineering of regulatory networks in human B cells.".
Nature Genetics 2005, 37(4):38290. PubMed Abstract  Publisher Full Text

Faith , et al.: "LargeScale Mapping and Validation of Escherichia coli Transcriptional Regulation from a Compendium of Expression Profiles.".
PLoS Biology 2007, 5(1):e8. PubMed Abstract  Publisher Full Text  PubMed Central Full Text

Meyer P, et al.: "Biological network inference using redundancy analysis.". In Proceedings of the 1st international conference on Bioinformatics research and development (BIRD'07). Edited by Sepp Hochreiter and Roland Wagner. SpringerVerlag, Berlin, Heidelberg; 2007:1627.

Yu J, et al.: "Using Bayesian Network Inference Algorithms to Recover Molecular Genetic Regulatory Networks.".
International Conference on Systems Biology 2002.
(ICSB02)

Perrin , et al.: "Gene networks inference using dynamic Bayesian networks.".
Bioinformatics 2003, 19(suppl 2):ii138ii148. PubMed Abstract  Publisher Full Text

HuynhThu V, et al.: "Inferring Regulatory Networks from Expression Data Using TreeBased Methods.".
PLoS ONE 2010, 5(9):e12776. PubMed Abstract  Publisher Full Text  PubMed Central Full Text

Wang Y, et al.: "Inferring gene regulatory networks from multiple microarray datasets.".
Bioinformatics 2006, 22:24132420. PubMed Abstract  Publisher Full Text

Butte A, Kohane I: "Mutual information relevance networks: Functional genomic clustering using pairwise entropy measurements.".

WaltersWilliams J, Li Y, In P, Wen , et al.: Estimation of Mutual Information: A Survey.
2009, 389396.

Meyer P, et al.: "Minet: A R/Bioconductor Package for Inferring Large Transcriptional Networks Using Mutual Information.".
BMC Bioinformatics 2008, 9:461. PubMed Abstract  Publisher Full Text  PubMed Central Full Text

Gebert J, Laetsch M: "Analyzing and optimizing genetic structure via pathfinding.".

Margolin A, et al.: "Reverse engineering cellular networks.".
Nature Protocols 2006, 1:662671. PubMed Abstract  Publisher Full Text