Skip to main content

Differential analysis of biological networks



In cancer research, the comparison of gene expression or DNA methylation networks inferred from healthy controls and patients can lead to the discovery of biological pathways associated to the disease. As a cancer progresses, its signalling and control networks are subject to some degree of localised re-wiring. Being able to detect disrupted interaction patterns induced by the presence or progression of the disease can lead to the discovery of novel molecular diagnostic and prognostic signatures. Currently there is a lack of scalable statistical procedures for two-network comparisons aimed at detecting localised topological differences.


We propose the dGHD algorithm, a methodology for detecting differential interaction patterns in two-network comparisons. The algorithm relies on a statistic, the Generalised Hamming Distance (GHD), for assessing the degree of topological difference between networks and evaluating its statistical significance. dGHD builds on a non-parametric permutation testing framework but achieves computationally efficiency through an asymptotic normal approximation.


We show that the GHD is able to detect more subtle topological differences compared to a standard Hamming distance between networks. This results in the dGHD algorithm achieving high performance in simulation studies as measured by sensitivity and specificity. An application to the problem of detecting differential DNA co-methylation subnetworks associated to ovarian cancer demonstrates the potential benefits of the proposed methodology for discovering network-derived biomarkers associated with a trait of interest.


Current efforts at understanding diseases rely on the ability to identify differences between healthy and affected tissues. A number of high-throughput platforms are now commonly used to compare genome-wide molecular profiles collected from large cohorts of healthy and diseased subjects in search for patterns that differentiate between them. For instance, in cancer research, gene expression and DNA methylation profiles from diseased tissues are compared to those extracted from normal controls in order to identify groups of genes whose expression or methylation levels are significantly different, and consequently associated to the trait of interest. From a statistical modelling standpoint, the primary interest of these studies lies in detecting statistically significant changes in average gene expression or methylation values in a two-sample comparison. A number of standard statistical tests, which are generally applied in a univariate fashion, have been proposed for this task and generate candidate sets of genes for further investigation [1]. Statistical methods have also been developed to assess whether these candidate genes are over-represented in pre-defined biological pathways or subnetworks within protein interaction networks [2]. These developments are based upon the principle that, in order to understand the roles of genes in complex diseases, genes need to be studied in the context of the regulatory systems they are involved in [24].

An alternative way of analysing genome-wide expression and methylation levels observed in a random sample consists of studying their interaction patterns, which are often represented in the form of networks [5, 6]. Network edges quantify the similarity in transcription activity between two genes [7] or in DNA methylation between two CpG islands [8], respectively. The notion of similarity is usually measured by linear correlation, partial correlation or mutual information coefficients estimated from the sample data [7, 9]. The networks arising in the two-sample setting above can then be compared to assess whether there are statistically significant differences in network topology that can be associated to the disease. The detection of markedly distinct interaction patterns across conditions may be indicative of local disturbances within known biological pathways, and can be taken as candidate biomarkers. For instance, as a cancer progresses, it has been observed that its signalling and control networks are subjected to re-arrangments which are advantageous for the cancer [10]. Changes in methylation levels are believed to be among the earliest and most common alterations in human cancers [11, 12], and topological differences in healthy and diseased networks can reflect significant dysregulations associated to the disease [13].

In this paper we discuss the the problem of comparing two labelled biological networks, each one representing a different population or condition, with the aim of detecting statistically significant differences between them. We approach this problem from a hypothesis testing perspective. This is a challenging statistical problem as only one random network is observed under each condition. Various computational methodologies have been developed to compare networks, including graph matching and graph similarity algorithms [14]. Graph matching algorithms have been used to discover similarities between molecular pathways across organisms and functions [15, 16], but are typically limited to unlabelled graphs, and are not concerned with hypothesis testing. Graph similarity algorithms also assume that the graphs are unlabelled, and the attention has mostly focused on detecting patterns that are most similar between networks [17]. For instance, gene modules can be identified separately in each network first, and then compared across networks [7, 18, 19]. More closely related work includes inferential methods for performing two-sample hypothesis tests where the sampling unit is a network, and assess whether the two paired networks come from the same assumed model [20].

We take a non-parametric approach to inference that does not require to make assumptions about a specific random network model. Our premise is that any true topological differences between the two networks would involve only a smaller set of edges, compared to all edges in the network, which we aim to detect. Our contributions to this problem are as follows. First, we consider the issue of choosing a distance measure between two paired networks that is able to capture subtle topological differences. Second, we discuss how to establish whether large values of this distance can be deemed statistically significant under a null hypothesis that the networks are independent. Finally, we ask whether it is possible to identify a differential subnetwork, starting from two large networks, in a computationally efficient manner.

The article is organised as follows. In Section Methods we introduce a distance for labelled networks, the Generalised Hamming Distance (GHD). Building on this distance, a permutation-based test statistic for two-sample network comparisons is introduced in Section A non-parametric test for network comparison. Conditions for asymptotic normality are provided so that p-values can be obtained in closed-form without the need to carry out computationally expensive permutations. In order to verify these results in special cases, in Section Validation of asymptotic normality on scale-free networks we argue that the proposed conditions hold true for various random network models, and provide a sketch proof for the case of scale free networks. In Section Differential subnetwork detection we describe an algorithm, dGHD, for the detection of differential subnetworks. In Section Results we present a number of simulation experiments that highlight the advantages of the proposed methodology under different graph models. As an illustrative application of the proposed methodology, a case-control study involving DNA co-methylation networks in ovarian cancer is presented in Section Application to co-methylation networks in ovarian cancer. We conclude with a discussion in Section Conclusions.


We assume to have observed two paired biological networks, each represented by a graph, denoted by \(\mathcal {A}=(V,E_{A})\) and \(\mathcal {B}=(V,E_{B})\), respectively. Both graphs are defined on a common set, V={1,2,…,N}. The respective sets E A and E B of edges indicate the connection between the nodes in the two graphs. We also let the matrices A=(A ij ) and B=(B ij ) denote the two (N×N) adjacency matrices associated with graphs \(\mathcal {A}\) and \(\mathcal {B}\), respectively.

The Hamming distance (HD) between \(\mathcal {A}\) and \(\mathcal {B}\) provides a commonly used metric to quantify the difference between the networks, and is defined by \(\frac {1}{2} \text {tr}\left [(A-B)^{2}\right ]\), where tr[ ·] denotes the trace of a matrix. This distance takes into account the number of edges that are in common between the two networks. Here we propose an extension of this metric, which we call the Generalised Hamming Distance (GHD), defined as

$$ \text{GHD}(\mathcal{A},\mathcal{B}) = \frac {1}{N(N-1)} \sum\limits_{i,j} \left(a'_{ij} - b'_{ij} \right)^{2}, $$

where a ij′ and b ij′ are mean-centred edge weights defined as

$$a'_{ij} = a_{ij} - \frac{1}{N(N-1)}\sum\limits_{i,j}a_{ij}, \quad b'_{ij} = b_{ij} - \frac{1}{N(N-1)}\sum\limits_{i,j}b_{ij} $$

and \(\sum _{i,j}\) denotes summation over distinct i and j. The edge weights, which depend on the topology of the networks, provide a measure of connectivity between every pair of nodes i and j in \(\mathcal {A}\) and \(\mathcal {B}\), respectively. When a ij and b ij are binary values indicating the presence or absence of an edge, i.e. are the elements of A and B, \(\text {GHD}(\mathcal {A},\mathcal {B})\) is related to the HD. The specific node weights we propose here instead quantify the topological overlap (TO) between a pair of nodes by taking into account the local neighbourhood structure around those nodes [21]. In the literature, the TO measure has been successfully applied for the detection of communities in biological networks, and there is empirical evidence that it carries biological meaning [7, 22].

We use the one-step TO between nodes i and j indicating whether they share direct connections to other nodes. The weights are obtained from the adjacency matrix as follows:

$$ a_{ij} = \frac{\sum_{l\ne i,j}A_{il}A_{lj}+A_{ij}}{\min\left(\sum_{l\ne i}A_{il}-A_{ij},\sum_{l\ne j}A_{il}-A_{ij}\right) +1}, $$

when ij, and otherwise a ij =1, and analogously for b ij . The GHD sums the squared differences \((a^{\prime }_{\textit {ij}}-b^{\prime }_{\textit {ij}})^{2}\) over all pairs of nodes in the network. Note that the term \(\sum _{l\ne i,j} A_{\textit {il}}A_{\textit {lj}}\) is a count of all vertexes (i,l,j) containing node pair (i,j). This term measures the connectivity information of each (i,j) pair plus their common one-step neighbours. The denominator in (2) can be written as min(d i ,d j )+1−A ij , where d i and d j represent the node degrees of i and j, respectively. It is roughly equal to the smaller of (d i ,d j ) and normalises a ij such that 0≤a ij ≤1. A large discrepancy between \(a^{\prime }_{\textit {ij}}\) and \(b^{\prime }_{\textit {ij}}\) indicates a topological difference localised around that pair of nodes.

By exploring the neighbourhood of each node, the proposed GHD can detect subtle topological changes with higher sensitivity compared to the HD. A simple illustration of this is given in Fig. 1, where four simple networks are shown: the network labelled (a) is taken as reference while the three paired networks (b), (c), and (d) have been generated by changing the position of a single edge in (a). The two distances, HD and GHD, have been computed to quantify the difference between (a) and each of the other three networks. It can be observed that, whereas the HD is unable to distinguish between the three networks, the GHD score is more sensitive to subtle topological variations and can discriminate between them.

Fig. 1

Networks (b), (c) and (d) are generated from the reference network (a) by a single edge change. Both HD and GHD between the reference network and each modified paired network have been computed in each case

A non-parametric test for network comparison

For inferential purposes, we require computing the probability that a distance as extreme or more extreme than the observed GHD value could have been observed by chance only. By treating the GHD as a random variable with unknown sampling distribution, this probability can be estimated non-parametrically via permutation testing. First, we specify the null hypothesis as being

$$ \mathcal{H}_{0} : \text{networks }\mathcal{A} \text{ and } \mathcal{B} \text{ are independent.} $$

By taking \(\mathcal {B}\) as reference, each permutation consists of shuffling the labels of the nodes in \(\mathcal {A}\) while keeping the edges unchanged. This generates a permuted network \(\mathcal {A}_{\pi }\) that is isomorphic to \(\mathcal {A}\), and the exchangeability property holds. In turn, this signifies that the original and permuted networks are generated from the same underlying, but unspecified, model [23, 24]. Since all permutation networks are isomorphic, permuting the labels of the network is equivalent to shuffling rows and columns of the adjacency matrix, an approach that bears some similarity with Mantel’s test [25] for the comparison of two distance matrices. All the the N! possible permutations are then collected in a set Π, and for each πΠ a permuted GHD value is denoted as

$$ \text{GHD}_{\pi} (\mathcal{A}_{\pi},\mathcal{B}) =\frac {1}{N(N-1)} \sum_{i,j}\left(a'_{\pi{(i)}\pi (j)} - b'_{ij}\right)^{2}, $$

and is calculated from the edge weights \(a^{\prime }_{\pi (i)\pi (j)}\) after permutation. The exact permutation distribution is obtained by carrying out an exhaustive calculation of all GHD π values, and p-values can then be evaluated as usual. In practice, however, doing so is computationally infeasible because the cardinality of Π is generally extremely large, even for relatively small networks. The exhaustive evaluation for all permutations in Π could be replaced by a Monte Carlo approach whereby only a smaller number of random permutations are explored. Nevertheless, the overall computational costs remain high for networks of the moderately large sizes observed in applications or when this procedure has to be repeated several times, for instance when searching for a differential subnetwork as in Section Differential subnetwork detection.

In what follows, we propose an alternative approach that removes the need to carry out computationally expensive permutation testing altogether. We demonstrate that, under our null hypothesis, the exact GHD permutation distribution can be approximated well by a normal distribution with moments that can be obtained analytically, in closed form. First, we notice that the GHD can be rewritten in an equivalent form in terms of a generalised correlation coefficient as follows:

$$\begin{array}{@{}rcl@{}} \text{GHD}_{\pi} (\mathcal{A}_{\pi},\mathcal{B}) = c - \frac {2}{N(N-1)} \sum\limits_{i,j} a'_{\pi(i)\pi(j)} b'_{ij}, \end{array} $$

where c is a constant that does not change under permutations. By making use of this alternative representation, we are able to exploit well-known sufficient conditions for asymptotic normality, which can also be easily checked in practice. For a generalised correlation coefficient of this form, the exact permutation distribution is asymptotically normal under two sufficient conditions [2628]:

$$ \sum\limits_{i,j} a'_{ij} = \sum_{i,j} b'_{ij} = 0 \quad \text{and} \\ $$
$$ {\lim}_{\textit{N}\to\infty} \frac{\left[\sum_{ijkl}a'_{ij}a'_{ik}a'_{il}\right]^{2}}{\left[\sum_{ijk}a'_{ij}a'_{ik}\right]^{3}}={\lim}_{\textit{N}\to\infty} \frac{\left[\sum_{ijkl}b'_{ij}b'_{ik}b'_{il}\right]^{2}}{\left[\sum_{ijk}b'_{ij}b'_{ik}\right]^{3}}=0. $$

Condition (5a) follows directly from the definition of \(a^{\prime }_{\textit {ij}}\) and \(b^{\prime }_{\textit {ij}}\) as being mean-centred. In order to gain some insight into the meaning of condition (5b) in our context, it is instructive to consider the case where a ij and b ij are elements of the two adjacency matrices, i.e. they indicate the presence of an edge. On defining \(a_{\textit {i}\cdot }=\sum _{j \neq i} a_{\textit {ij}}\) and \(\bar a = \frac {1}{N}\sum _{i}a_{i\cdot }\), we have

$$ a'_{\textit{i}\cdot} = \sum\limits_{j \neq i} a'_{ij} = a_{\textit{i}\cdot}-\bar a, $$

and condition (5b), with reference to network \(\mathcal {A}\), can be written as

$$ {\lim}_{\textit{N}\to\infty} \frac{\left[\sum_{i}(Na'_{\textit{i}\cdot})^{3}\right]^{2}}{\left[\sum_{i}(Na'_{\textit{i}\cdot})^{2}\right]^{3}}= {\lim}_{\textit{N}\to\infty} \frac{\left[\sum_{i}(a_{\textit{i}\cdot} - \bar a)^{3}\right]^{2}}{\left[\sum_{i}(a_{\textit{i}\cdot} - \bar a)^{2}\right]^{3}}=0, $$

and analogously for \(\mathcal {B}\). It can be observed that, when using the adjacency matrix, a i· represents the degree of the i th node. An analogous condition also applies to \(\mathcal {B}\). Therefore, checking (5b) amounts to computing the degree of each node in the two networks, and assessing the limiting behaviour. When the TO measure is used instead, as in the GHD, the coefficient a i· represents the overall topological overlap information at node i, and can also be computed using (6).

When both (5a) and (5b) hold true, under the null hypothesis, the permutation distribution of \(\text {GHD}(\mathcal {A},\mathcal {B})\) is approximately normal. We then standardise the GHD value by mean-centring and normalising it, so that it follows a standard normal distribution asymptotically,

$$ \frac{\text{GHD}_{\pi}(\mathcal{A}_{\pi},\mathcal{B}) - \mu_{\pi}} {\sigma_{\pi}} \sim N(0,1) $$

where μ π and σ π are the mean and standard deviation of GHD under the exact permutation distribution, respectively. These two moments can be computed precisely and in closed-form by enumerative combinatorics; the calculations follow developments described in the context of related permutation-based testing procedures [25], and can also be found in [29]. Here we provide explicit formula for both μ π and \(\sigma ^{2}_{\pi }\) as follows. First, we need to define

$$\begin{array}{@{}rcl@{}} \!{~}^{t}S_{a} = \sum\limits_{i=1}^{N}\sum\limits_{j=1}^{N} a^{t}_{ij}, t=1,2 &\text{and} & T_{a} = \sum\limits_{i=1}^{N}\left(\sum\limits_{j=1}^{N} a_{ij}\right)^{2}\\ \!{~}^{t}S_{b} = \sum\limits_{i=1}^{N} \sum\limits_{j=1}^{N} b^{t}_{ij}, t=1,2 &\text{and}& T_{b} = \sum\limits_{i=1}^{N}\left(\sum\limits_{j=1}^{N} b_{ij}\right)^{2} \end{array} $$

where \(a^{t}_{\textit {ij}}\) and \(b^{t}_{\textit {ij}}\) are edge weights with power t. Here \(\frac {\!{~}^{1}S_{a}}{N(N-1)}\) and \(\frac {\!{~}^{2}S_{a}}{N(N-1)}\) are empirical raw moment of edge weight a ij , and analogously for b ij . Furthermore we need to introduce the following quantities,

$$\begin{array}{@{}rcl@{}} &&A_{a} = \left(\!{~}^{1}S_{a}\right)^{2}, B_{a} = T_{a} - \left(\!{~}^{2}S_{a}\right),\\ &&~~\text{and}~~ C_{a} = A_{a}+2\left(\!{~}^{2}S_{a}\right) -4T_{a} \\ [5pt] &&A_{b} = \left(\!{~}^{1}S_{b}\right)^{2}, B_{b} = T_{b} - \left(\!{~}^{2}S_{b}\right),\\ &&~~\text{and}~~ C_{b} = A_{b}+2\left(\!{~}^{2}S_{b}\right) -4T_{b} \end{array} $$

Then, closed-form expressions for the mean μ π and variance \(\sigma ^{2}_{\pi }\) are,

$$\begin{aligned} &\mu_{\pi} = \frac{{\!{~}^{2}S_{a}} + {\!{~}^{2}S_{b}}}{N(N-1)} - \frac{2\left({\!{~}^{1}S_{a}}\right)\!\!\left({\!{~}^{1}S_{b}}\right)}{N^{2}\left(N-1\right)^{2}} \,, \\ &\sigma^{2}_{\pi} = \frac{4}{N^{3}(N-1)^{3}}\left[2{\vphantom{\frac{(A_{a})(A_{b})}{N(N-1)}}}\left({\!{~}^{2}S_{a}}\right)\right. \left.\!\!\!\left({\!{~}^{2}S_{b}}\right)+\frac{4(B_{a})(B_{b})}{N-2}\right. \\ &\left.\,\,\,\,\,\,\,\,\,\,\,\,\,\,+ \frac{(C_{a})(C_{b})}{(N-2)(N-3)} - \frac{(A_{a})(A_{b})}{N(N-1)}\right]. \end{aligned} $$

With the expressions for the first two exact moments, a corresponding p-value can therefore be efficiently computed from the normal approximation, even for very large networks. We will exploit the computational efficiency gained here in Section Differential subnetwork detection, where we apply the test repeatedly on networks of increasingly smaller size in order to detect differential subnetworks.

Validation of asymptotic normality on scale-free networks

The closed-form approximation for the computation of p-values only requires that conditions (5a) and (5b) are satisfied, and does not need any random network model to be specified. These two conditions can also be verified analytically in special case when certain random network models are assumed. For instance, in [29] it was proved that these conditions hold true for scale-free (SF), random geometric (RG) and Erdös-Rényi (ER) network models when using both HD and GHD distances. In this section we provide a simplified proof for the case of SF networks using the Hamming distance. This proof should serve as an illustration of how these derivations can be carried out analytically, and as simple validation of the methodology described in Section A non-parametric test for network comparison for SF networks. An analogous proof using the GHD distance can be found in the Supplementary Material, and we refer the reader to [29] for the other models.

A SF network is a network whose node degree distribution follows a power law, at least asymptotically, and has often been used to describe real biological networks [3032]. The degree of each node is assumed to be an independent and identically distributed (IID) random variable with probability mass function defined as

$$ P(d_{i} = k) = ck^{-\alpha}, \quad k = m,m+1\dots,K, $$

where m and K are the lower and upper cut-offs for the node degree, respectively, c is a normalising constant, and α represents a power exponent. It is generally assumed that α is greater than 1, and the lower cut-off m is generally be taken to be 1. The upper cut-off K for α>2 is conventionally specified as \(K = N^{\frac {1}{\alpha -1}}\) [33], and generally K=N−1 for 1<α≤2. Values of α for different biological networks have been characterised, and mostly vary between 1.4 to 1.7 [30].

On defining the weights a ij and b ij as elements of A and B, respectively, (7) becomes

$$\begin{array}{@{}rcl@{}} {\lim}_{\textit{N}\to\infty} \frac{\left[\sum_{i}(d_{i} - \bar{d{\,}})^{3}\right]^{2}}{\left[\sum_{i}(d_{i} - \bar{d\,})^{2}\right]^{3}}=0, \end{array} $$

where \(\bar {d\,}\) is the average node degree. In order to study this limiting behaviour, we exploit the fact that both numerator and denominator are powers of the centralised empirical moments of the node degree distribution. We let \(\mu _{s} = c \sum _{d=1}^{K} d^{s-\alpha }\) denote the s th theoretical moment and \(m_{s}=\frac {1}{N}\sum _{i=1}^{N}{d_{i}^{s}}\) the corresponding empirical moment of this distribution. In order to study the limit above we need to characterise the order of m s , for s=1,2,3, as N increases. Our strategy here consists of first characterising the order of μ s asymptotically, for the first three moments, and establishing a correspondence with m s .

We start by examining the order of μ s , for s=1,2,3, in the limit. Since this depends on s, we consider three distinct cases: (a) sα+1<0, (b) sα+1=0 and (c) sα+1>0. For (a), the order of μ s is \(\sum _{d=1}^{K} \frac {1}{\alpha - 1} d^{-1} = O(1)\). For (b), the order of μ s is \(\sum _{d=1}^{K} d^{-1} = O(\ln (K))\). Finally, for (c), we need to study how μ s increases with K. First, we apply the Euler-Maclaurin formula,

$$ \sum\limits_{d=1}^{K} d^{s-\alpha} = K^{s-\alpha+1} + (\alpha-s){\int_{1}^{K}} \frac{\left\lfloor x \right\rfloor}{x^{\alpha-s+1}} dx + O(1), $$

where x denotes the largest integer that is not greater than x. To compute the order of \(\sum _{d=1}^{K} d^{s-\alpha } \), we need to know which one of the two terms in the sum dominates in order. By applying l’Hospital’s rule we have

$$\begin{array}{@{}rcl@{}} {\lim}_{\textit{K}\to\infty}\frac{s{\int_{1}^{K}} \frac{\left\lfloor x \right\rfloor}{x^{\alpha -s+1}} dx} {K^{s-\alpha+1}} &=& \frac{s}{s-\alpha+1}, \end{array} $$

which is a finite constant, and hence μ s has the same order as K sα+1. For a SF network, the condition for asymptotic normality also depends on the values taken by the exponent. In the case where 1<α<2, for which K=N−1, the calculation of the s th moment falls under case (c), hence we conclude that the order of the first three theoretical moments are, respectively, O(N 2−α),O(N 3−α) and O(N 4−α).

We now turn to the direct comparison of the orders of μ s and m s in the limit. Specifically, we assess whether the order of each μ s established above also holds true for the corresponding m s . This can be verified by checking that

$$\begin{array}{@{}rcl@{}} {\lim}_{N \to \infty} \frac{m_{s}}{\mu_{s}} = c_{s}, \end{array} $$

for s=1,2,3, and for some positive constants c s . To study the above limit, we apply the Weak Law of Large Numbers (WLLN). For the WLLN to hold, μ s must be finite. Hence we first transform d i so that μ s , after the transformation, is finite. We let \(N_{s} = N^{\frac {s+1-\alpha } {s}}\), and define \(z_{\textit {si}} = \frac {d_{i}}{N_{s}}\). The distribution of z si is

$$P(z_{si}=z) = c'z^{-\alpha}, \qquad z = \frac {1}{N_{s}},\frac {2}{N_{s}},..,\frac {K}{N_{s}}, $$

where c =c N s . Thus the s th theoretical moment of z si is

$$\begin{array}{@{}rcl@{}} \mu_{zs} = c'\sum\limits_{z} z^{s-\alpha}= c' \sum\limits_{d}\left[\frac{d}{N_{s}}\right]^{s} d^{-\alpha}= \frac{\mu_{s}}{N^{s+1-\alpha}}, \end{array} $$

which is finite. Denoting by m zs the s th empirical moment of z si ,i=1,...,N, we have

$$\begin{array}{@{}rcl@{}} m_{zs} = \frac{1}{N} \sum\limits_{i=1}^{N} z_{si}^{s} = \frac{1}{N} \sum\limits_{i=1}^{N} \left(\frac{d_{i}}{{N_{s}}}\right)^{s} = \frac{m_{s}}{N^{s+1-\alpha}}. \end{array} $$

Now, since μ zs is finite and since d 1,d 2,...,d N are assumed IID, z s1,z s2,...z sN are also IID, and according to the WLLN, m zs converges to μ zs in probability. Hence we have

$$\begin{array}{@{}rcl@{}} 1 = {\lim}_{N \to \infty} \frac{m_{zs}}{\mu_{zs}} = {\lim}_{N \to \infty} \frac{\frac{m_{s}}{N^{s+1-\alpha}} }{\frac{\mu_{s}}{N^{s+1-\alpha}}} = {\lim}_{N \to \infty} \frac{m_{s}}{\mu_{s}}, \end{array} $$

indicating that m s and μ s are of the same order asymptotically. Using this result, we are able to approximate the orders of the numerator and denominator of condition (7): \(\sum _{i}\left (d_{i} - \bar d\right)^{3} = N\left (m_{3}-2m_{2}m_{1}+2{m_{1}^{3}}\right)\) is O(N 4−α+1), and \( \sum _{i}\left (d_{i} - \bar d\right)^{2} = N(m_{2} - {m_{1}^{2}}) \) is O(N 3−α+1). Substituting into (7), we see that the numerator is of order O(N 8−2α+2), the denominator is of order O(N 9−3α+3), and therefore the ratio is of order O(N α−2). Hence for 1<α<2, the limit in (10) is 0. By following a similar procedure, it can be proved that the normality condition is also satisfied when α≥3.

Differential subnetwork detection

In this section we leverage the test statistic of Section A non-parametric test for network comparison to detect a differential subnetwork. When comparing the two networks, the expectation is that only a subset of edges would present altered interaction patterns. This task is formulated here as the problem of detecting a subset V V for which there is no sufficient evidence to reject the null hypothesis that the corresponding subnetworks \(\mathcal {A}^{*}(V^{*},E_{A^{*}})\) and \(\mathcal {B}^{*}(V^{*},E_{B^{*}})\) are statistically independent.

An algorithm for the detection of V should take into account the fact that a certain degree of topological difference between \(\mathcal {A}\) and \(\mathcal {B}\) is always bound to be observed, even when the two population networks are the same, due to finite sample variability. The GHD test provides an efficient way to assess the statistical significance of any observed discrepancy between two paired networks, and is used as a building block to derive an algorithm that identifies differential subnetworks.

We indicate by V K a subset of V of size KN, and define the centralised GHD test statistic computed by comparing \(\mathcal {A}=(V_{K},E_{A})\) and \(\mathcal {B}=(V_{K},E_{B})\) by

$$ \Delta_{V_{K}} = \text{GHD}(\mathcal{A}(V_{K},E_{A}),\mathcal{B}(V_{K},E_{B})) - \mu_{V_{K},} $$

where \(\mu _{V_{K}}\) is the mean of the permutation distribution for node set V K . Furthermore we define \(\Delta _{V_{K}|i}\) to be the centralised GHD value computed by comparing the two networks after removal of node i. The quantity

$$\delta_{i} = \Delta_{V_{K}|i} - \Delta_{V_{K}}, $$

measures the influence that node i has on the mean-centred GHD test when comparing two subnetworks defined on set V K . We propose an iterative procedure which removes a node or set of nodes at each step, and generates a sequence of node sets of increasing smaller size, i.e.

$$V_{N} \supset V_{N-1} \supset \ldots \supset V_{N_{\text{min}}}, $$

where N min<N is a constant indicating the smallest allowed size of subnetwork. Starting with V N , the two corresponding networks are compared by the GHD test, and a p-value is computed, as described previously. For each node indexed by i=1,…,N, the corresponding δ i is computed, and the node associated with the largest positive δ i value is removed. Given a new set V N−1, the process is then repeated again, and then again until a specified minimal set size is reached.

This simple algorithm produces a monotonic sequence of p-values that increases as the subnetwork size decreases (e.g. see Fig. 2). The p-values should be adjusted for multiple testing, e.g. by controlling the false discovery rate [34]. In the presence of a differential subnetwork, the sequence is expected to feature a peak corresponding to the size of the subnetwork. Specifically, for a given desired significance level α, the algorithm finds the largest K, with NKN min, such that the adjusted p-value exceeds α. Clearly the algorithm benefits from the fact that p-values at each iteration can be computed very quickly in closed-form.

Fig. 2

Sequence of adjusted p-values produced by the dGHD algorithm as a function of subnetwork size. The size of the subnetwork is progressively reduced by removing nodes that further increase the distance between the subnetworks. For this example we simulated 2D RG networks of size 1,000 and subnetworks of size 200


In this section we report on three different simulation experiments that have been carried out to study the properties of the proposed methodology. Our simulations make use of RG networks, which are plausible models for biological networks [17, 3537]. Two-dimensional RG networks were generated by first uniformly sampling N points on [0,1]2, each one corresponding to a node in the graph. A pair of nodes was connected by an edge if the Euclidean distance between the corresponding two-dimensional points was smaller than a pre-determined threshold d.

The purpose of the first simulation study was to confirm the asymptotic null sampling distribution of the GHD statistic. In this case we randomly generated 10,000 pairs of networks \(\mathcal {A}\) and \(\mathcal {B}\) of size N=250, with parameters d=0.3 and d=0.15. For each d value, paired networks were independently generated, and the GHD test was computed to detect differences between them. As a result of this process, we obtained an empirical distribution of p-values. Under the null, this distribution is expected to be uniform on [0,1], and the resulting QQ plots confirm that the empirical moments of this distribution agree perfectly with the expected theoretical moments for a RG model; see Fig. 3.

Fig. 3

QQ plots confirming the asymptotic null distribution of the GHD test. For RG model, 10,000 paired networks of size 250 were independently generated and the GHD test was applied to detect differences between them. An empirical distribution of p-values was obtained through 10,000 comparison for each model, which under the null is expected to be uniformly distributed on [0,1]. The figure shows that empirical and theoretical moments agree

In the second study, we compared the ability of the GHD test to detect differential networks against three competing tests: Mean Absolute Difference (MAD) [38], Quadratic Assignment Procedure (QAP) [39] and Conditional Uniform Graph (CUG) [40]. The MAD test counts the number of different edges in the two networks

$$ \text{MAD}(\mathcal{A},\mathcal{B}) = \frac{1}{N(N-1)}\sum\limits_{i,j}|a_{ij} - b_{ij}|, $$

where a ij and b ij correspond to the (i,j) elements in the adjacency matrices of \(\mathcal {A}\) and \(\mathcal {B}\), respectively. The QAP uses edge set product statistics to test for the independence between networks,

$$ \text{QAP}(\mathcal{A,B}) = \frac{1}{N(N-1)} \sum\limits_{i,j} a_{ij} b_{ij}, $$

where a ij and b ij are again elements of the adjacency matrices. For both the MAD and QAP tests we also used the traditional permutation testing approach. We further included in the study the CUG approach. According to this procedure, random networks are generated with pre-determined properties, such as size and density, matching the properties of the observed networks. For each simulated pair of random networks, a measure of correlation between networks is computed, and its empirical distribution is built up over many simulations. The correlation coefficient is defined as:

$$\begin{array}{@{}rcl@{}} \text{gcor}(\mathcal{A},\mathcal{B}) = \sum\limits_{i,j}\left(a_{ij}-\frac{\sum_{i,j}a_{ij}}{N(N-1)}\right)\left(b_{ij}-\frac{\sum_{i,j}b_{ij}}{N(N-1)}\right), \end{array} $$

where a ij and b ij are elements of the adjacency matrices for \(\mathcal {A}\) and \(\mathcal {B}\), respectively [41].

This experiment required the simulation of paired networks with a pre-specified degree of topological dissimilarity. This was achieved by generating \(\mathcal {A}\) first, using one of the two random models as described above. Network \(\mathcal {B}\) was then obtained by first making an exact copy of \(\mathcal {A}\), and then randomly shuffling a fixed proportion γ of edges so that, as γ increases, the dissimilarity between \(\mathcal {A} \) and \(\mathcal {B}\) increases. For each given value of γ, we generated 1,000 pairs of networks, computed the tests and corresponding p-values, and evaluated the proportion of tests that rejected the null hypothesis of independence at a 5 % significance level. The results of this study are summarised in Fig. 4 where the “power” is defined as the proportion of replications, out of 1,000, when we accept the null hypothesis of independence. This rises from zero at γ=0.84, when networks are still associated, to close to 1 when a lot of shuffling has been carried out, to produce nearly independent networks. This figure shows that for noise levels as large as γ=0.93, the tests based on HD consider the two networks to be strongly associated. It is only when reaching that threshold that their power starts increasing rapidly away from zero. This suggests that the tests based on HD may be too stringent for real application and miss importance differential patterns. By contract, the GHD test is able to detect differences at lower noise levels compared to other tests and capture more subtle differences. This is not surprising as GHD is more sensitive to topological changes, as seen in Fig. 1.

Fig. 4

The “power” is defined as the proportion of replications when the null hypothesis of independence is not rejected. As the noise level γ increases, the GHD test has more power to detect true structural changes compared to competing methods. Simulations are based on 2D RG networks

In the third simulation study, we carried out an investigation to assess the behaviour of the differential subnetwork detection algorithm, and quantify its performance in comparison with other tests. We report on experiments involving RG networks \(\mathcal {A}\) and \(\mathcal {B}\) of size 1,000 and generated as described above using a noise parameter γ. Two independent subnetworks, denoted here by \({\mathcal {A}}^{*}\) and \({\mathcal {B}}^{*}\), were introduced by randomly selecting a subset V V of size 200, and replacing the existing edges with connections simulated from two independent RG networks. For each value of γ, we generated 100 such paired large networks containing smaller differential subnetworks. We term a true positive (TP) a node that is correctly identified as belonging to the differential subnetwork, and a false negative (FN) a node that belongs to the subnetwork but has not been detected by the algorithm. Similarly we define false positives (FP) and true negatives (TN). In Table 1 we report the sensitivity or true positive rate (TPR) computed as TP/(TP + FN), and the specificity (SPC) computed as TN/(FP + TN). For comparative purposes, we have also implemented an alternative algorithm, called dHD, which is similar to dGHD but uses the Hamming distance instead for distance calculations. As can be observed, both dHD and dGHD maintain high sensitivity and specificity up to moderately high noise levels. For noise levels at the top end of the spectrum, dHD has slightly higher sensitivity but much smaller specificity than dGHD, indicating that it detects a larger number of incorrect nodes.

Table 1 Sensitivity (TPR) and specificity (SPC) of the subnetwork detection algorithms for different values of γ, the noise level. The results are based on simulated RG networks

Figure 5 provides an example of simulated networks \(\mathcal {A}\) and \(\mathcal {B}\) and ground truth differential subnetworks \({\mathcal {A}}^{*}\) and \({\mathcal {B}}^{*}\) as well as the differential subnetworks \(\hat {\mathcal {A}}^{*}\) and \(\hat {\mathcal {B}}^{*}\) detected by dGHD in one of the 100 simulations. The corresponding sequence of p-values generated by running the dGHD algorithm in this example is shown in Fig. 2. It can be noticed how the null hypothesis of independence is rejected for all the subnetworks of size ranging from 1000 down to 200, at which point there is no evidence to reject the null, and the algorithm produced large p-values for all sizes smaller than 200.

Fig. 5

Example of differential subnetworks detected by dGHD using 2D RG networks. \({\mathcal {A}}^{*}\) and \({\mathcal {B}}^{*}\) are the true simulated independent subnetworks, and \(\hat {\mathcal {A}}^{*}\) and \(\hat {\mathcal {B}}^{*}\) are the subnetworks detected by the algorithm (γ≈0.23). Nodes belongs to differential subnetwork are coloured in green, and edges colored red. Please refer to Table 1 for full results

Application to co-methylation networks in ovarian cancer

We present an application to a case-control epigenetic study of ovarian cancer. The dataset for this study was originally presented in [42]. Methylation profiles for 27,578 CpGs islands were obtained from whole blood samples in 540 women, of which 266 were samples taken from postmenopausal women with ovarian cancer and 274 were from age-matched healthy controls. In our analysis we set out to compare control and case DNA co-methylation networks in search of a differential subnetwork.

Raw data files were downloaded from GEO (repos. number GSE19711), and were obtained from Illumina Infinium 27k Human DNA methylation Beadchip v1.2. The raw data was pre-processed by using the lumi package in R [43]. After quantile normalization, PCA applied to the beta value was used to detect and remove extreme outliers. After quality control, 243 control samples and 215 case samples remained for further analysis. The networks was inferred by taking each probe as a node. Following [44], an adjacency measure was computed as ω ij =|(1+cor(g i ,g j ))/2|b where cor(g i ,g j ) denotes the Pearson’s correlation coefficient between beta values observed at the i th and j th CpG sites. The power exponent b was set to a default value of 12 so as to place more emphasis on higher positive correlations [7]. Two nodes were linked in the network if ω ij was higher than 0.2 so that the presence of an edge indicates a strong correlation. This value also yields networks that roughly follow a SF model (see Fig. 6). The number of resulting edges is 48,224 and 75,913 in the control network \(\mathcal {A}\) and case network \(\mathcal {B}\), respectively.

Fig. 6

Node degree distribution for control and case co-methylation networks. Both plots shows that the networks roughly follow SF network models

At a significance level of 5 % and after correction for multiple testing, the dGHD algorithm detected a subnetwork of size 1,642, with 1,954 edges in \(\mathcal {A}^{*}\) and 12,556 edges in \(\mathcal {B}^{*}\). The two resulting subnetworks are presented in Fig. 7. Although the algorithm does not constrain the differential networks to be connected, they both comprise a number of connected subgraphs. The Walktrap community detection algorithm, as implemented in the R package iGraph [45], was used to identify communities in these two subnetworks, as shown in the figure. The density of the six largest communities, which are denoted \(\mathcal {C}_{1}, \ldots, \mathcal {C}_{6}\), differs quite substantially between control and cancer networks. In almost all communities, the density is much higher in \(\mathcal {B}^{*}\), with the exception of \(\mathcal {C}_{6}\), where it is higher in \(\mathcal {A}^{*}\).

Fig. 7

DNA co-methylation networks: differential subnetworks \(\mathcal {A}^{*}\) (controls) and \(\mathcal {B}^{*}\) (cases) detected by dGHD algorithm. Six main communities within the subnetworks are characterised by a much higher network density in cancer patients compared to healthy controls. Differential methylation is mostly concentrated in \(\mathcal {C}_{2}\), \(\mathcal {C}_{3}\), \(\mathcal {C}_{5}\) and \(\mathcal {C}_{6}\) (See also Table 2 and Fig. 8)

Table 2 DNA co-methylation networks: a summary for different communities

To gain initial insight into the biological meaning of the subnetworks and the communities within them we used the R package GOstat [46] to identify enriched Gene Ontology (GO) terms within two broad categories, Biological Processes (BP) and Molecular Functions (MF). At a 5 % significance level, the hypergeometric test detected 762 BP and 154 MF statistically significant terms enriched in the subnetworks where most of these terms can be found in 6 communities. For instance, the top three BPs were response to stimulus, cellular response to stimulus and response to chemical stimulus, and the top three MFs were protein binding, collagen binding and RNA polymerase II transcription cofactor activity. Furthermore, we carried out a pathway enrichment analysis to identify any significantly enriched KEGG pathways. At a 5 % significance level, 12 pathways were found to be enriched, including hematopoietic cell lineage, acute myeloid leukemia, and regulation of action cytoskeleton.

Probes showing statistically significant changes in mean methylation levels were detected by a two-sample SAM statistic as implemented in the R package samr. After Benjamini & Hochberg correction for multiple testing, 2,770 probes were found to be differentially methylated (DM) at the 5 % significance level. Of these, 620 were also found in the differential subnetworks, 90 % of which are concentrated in communities \(\mathcal {C}_{2},\mathcal {C}_{3},\mathcal {C}_{5}\) and \(\mathcal {C}_{6}\). For example in community \(\mathcal {C}_{3}\), there are 109 probes in total, half of which (54) are differentially methylated. Figure 8 shows the distribution of DM probes in the subnetworks. These results suggest that a differential analysis based exclusively on detecting mean levels of differential methylation may miss important differences that can only be identified by comparing the interaction networks.

Fig. 8

Visualization of the distribution of differential methylated probes (red) in differential subnetworks detected by dGHD in the DNA co-methylation networks

Table 2 provides a breakdown of the number of probes, differentially methylated probes (q i ), density ratio between control and case subnetworks (R i ), and distribution of enriched GO terms and KEGG pathways in the 6 communities (see also Fig. 7). Replicated GO terms and pathways involved in different communities were excluded in the subtotal. In \(\mathcal {C}_{5}\) we found that all top 6 ranked significant BP terms were related to interleukin-3 (IL-3), a cytokine that is made by leukocytes and other cells in the body. IL-3 can increase the number of leukocytes, neutrophils, and platelets made by the bone marrow [47]. As Myelosuppression induced by chemotherapy is closely related to the effect of IL-3 in blood cells when suppressing a tumor during the therapy [48], this may offer a possible explanation for the observed enrichment results. A possible explanation for the observed difference in the \(\mathcal {C}_{6}\) cluster may be related to hypermethylation being linked to cancer [49, 50].


The comparison of DNA methylation or gene expression profiles across conditions is enabling the discovery of novel biomarkers for diagnosis or prognosis, and holds the promise to identify novel targets for therapeutical intervention. In this paper we have discussed the problem of comparing two labelled networks that are representative of two conditions (e.g. healthy and diseased tissues) and detecting statistically significant differences in their topology. Identifying disrupted interaction patterns in two labelled network comparisons is a challenging problem requiring novel statistical tools, and three contributions have been made here in this direction. Firstly, we have proposed the GHD, a distance between two labelled networks that detects more subtle differences compared to the traditional Hamming distance. Secondly, we have demonstrated that the GHD can be used as a non-parametric test to assess whether two paired networks are statistically independent, and have described how p-values can be computed in closed-form without requiring computationally expensive permutation procedures. The plausibility of the conditions underpinning our derivations has been discussed using scale-free random network models as an example. Thirdly, we have proposed a fast subnetwork detection procedure, the dGHD algorithm, to detect localized topological differences between two paired networks. This methodology provides a useful addition to standard two-sample tests that are commonly used for biomarker discovery. An initial evaluation has been carried out by comparing co-methylation networks inferred from healthy and cancer patients, and detecting differential subnetworks. Further experimental evaluation on independent datasets will be required to validate these results. In future work, the methodology could be extended to the case of more than two conditions.


  1. 1

    Tusher VG, Tibshirani R, Chu G. Significance analysis of microarrays applied to the ionizing radiation response. Proc Natl Acad Sci. 2001; 98(9):5116.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  2. 2

    Nacu Ş, Critchley-Thorne R, Lee P, Holmes S. Gene expression network analysis and applications to immunology. Bioinforma. 2007; 23(7):850–8.

    CAS  Article  Google Scholar 

  3. 3

    Ideker T, Ozier O, Schwikowski B, Siegel AF. Discovering regulatory and signalling circuits in molecular interaction networks. Bioinforma. 2002; 18(suppl 1):233–40.

    Article  Google Scholar 

  4. 4

    Keller A, Backes C, Gerasch A, Kaufmann M, Kohlbacher O, Meese E, et al.A novel algorithm for detecting differentially regulated paths based on gene set enrichment analysis. Bioinforma. 2009; 25(21):2787–794.

    CAS  Article  Google Scholar 

  5. 5

    D’haeseleer P, Liang S, Somogyi R. Genetic network inference: from co-expression clustering to reverse engineering. Bioinforma. 2000; 16(8):707–26.

    Article  Google Scholar 

  6. 6

    (Dehmer M, Emmert-Streib F, editors.)2008. Analysis of Microarray Data: a Network-based Approach. Weinheim: John Wiley & Sons.

    Google Scholar 

  7. 7

    Zhang B, Horvath S. A general framework for weighted gene co-expression network analysis. Stat Appl Genet Mol Biol. 2005; 4(1):1128.

    Google Scholar 

  8. 8

    Yang X, Shao X, Gao L, Zhang S. Systematic dna methylation analysis of multiple cell lines reveals common and specific patterns within and across tissues of origin. Hum Mol Genet. 2015; 24(15):4374–84.

    CAS  Article  PubMed  Google Scholar 

  9. 9

    Carter S, Brechbühler C, Griffin M, Bond A. Gene co-expression network topology provides a framework for molecular characterization of cellular state. Bioinforma. 2004; 20(14):2242–250.

    CAS  Article  Google Scholar 

  10. 10

    Barabási AL, Oltvai ZN. Network biology: understanding the cell’s functional organization. Nature reviews. Genetics. 2004; 5(2):101–13.

    Article  CAS  PubMed  Google Scholar 

  11. 11

    Vaissière T, Hung RJJ, Zaridze D, Moukeria A, Cuenin C, Fasolo V, et al.Quantitative analysis of DNA methylation profiles in lung cancer identifies aberrant DNA methylation of specific genes and its association with gender and cancer risk factors. Cancer res. 2009; 69(1):243–52.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  12. 12

    Bartlett TE, Olhede SC, Zaikin A. A DNA methylation network interaction measure, and detection of network oncomarkers. PLoS ONE. 2014; 9(1):84573.

    Article  CAS  Google Scholar 

  13. 13

    Suzuki H, Maruyama R, Yamamoto E, Kai M. Dna methylation and microrna dysregulation in cancer. Mole oncol. 2012; 6(6):567–78.

    CAS  Article  Google Scholar 

  14. 14

    Brandes U, Erlebach T, Vol. 3418. Network Analysis: Methodological Foundations. Berlin: Springer; 2005.

    Google Scholar 

  15. 15

    Di Lena P, Wu G, Martelli P, Casadio R, Nardini C. Mimo: an efficient tool for molecular interaction maps overlap. BMC bioinforma. 2013; 14(1):159.

    Article  Google Scholar 

  16. 16

    Yang Q, Sze S. Path matching and graph matching in biological networks. J Comput Biol. 2007; 14(1):56–67.

    CAS  Article  PubMed  Google Scholar 

  17. 17

    Przulj N. Biological network comparison using graphlet degree distribution. Bioinforma. 2007; 23(2):177–83.

    Article  CAS  Google Scholar 

  18. 18

    Gill R, Datta S, Datta S. A statistical framework for differential network analysis from microarray data. BMC bioinforma. 2010; 11(1):95.

    Article  CAS  Google Scholar 

  19. 19

    Zhu X, Ai Z, Wang J, Xu Y, Teng Y. Weighted gene co-expression network analysis in identification of endometrial cancer prognosis markers. Asian Pac J Cancer Prev. 2012; 13(9):4607–611.

    Article  PubMed  Google Scholar 

  20. 20

    Yates PD, Mukhopadhyay ND. An inferential framework for biological network hypothesis tests. BMC Bioinforma. 2013; 14:94.

    Article  Google Scholar 

  21. 21

    Horvath S. Weighted Network Analysis: Applications in Genomics and Systems Biology. New York: Springer; 2011.

    Google Scholar 

  22. 22

    Allen JD, Xie Y, Chen M, Girard L, Xiao GH. Comparing statistical methods for constructing large scale gene networks. PLoS ONE. 2012; 7(1):29348.

    Article  CAS  Google Scholar 

  23. 23

    Even S, Pnueli A, Lempel A. Permutation graphs and transitive graphs. J ACM (JACM). 1972; 19(3):400–10.

    Article  Google Scholar 

  24. 24

    Chang M, Wang F. Efficient algorithms for the maximum weight clique and maximum weight independent set problems on permutation graphs. Inf Process Lett. 1992; 43(6):293–5.

    Article  Google Scholar 

  25. 25

    Mantel N. The detection of disease clustering and a generalized regression approach. Cancer res. 1967; 27(2 Part 1):209.

    CAS  PubMed  Google Scholar 

  26. 26

    Daniels HE. The relation between measures of correlation in the universe of sample permutations. Biometrika. 1944; 33(2):129–35.

    Article  Google Scholar 

  27. 27

    Friedman JH, Rafsky LC. Graph-theoretic measures of multivariate association and prediction. The Ann Stat. 1983; 11:377–91.

    Article  Google Scholar 

  28. 28

    Pham DT, Möcks J, Sroka L. Asymptotic normality of double-indexed linear permutation statistics. Ann Inst Stat Math. 1989; 41(3):415–27.

    Article  Google Scholar 

  29. 29

    Ruan D. Statistical methods for comparing labelled graphs. PhD thesis, Imperial College London. 2014.

  30. 30

    Chung F, Lu LY, Dewey TG, Galas DJ. Duplication models for biological networks. J Comput Biol. 2003; 10(5):677–87.

    CAS  Article  PubMed  Google Scholar 

  31. 31

    Van Noort V, Snel B, Huynen MA. The yeast coexpression network has a small-world, scale-free architecture and can be explained by a simple model. EMBO rep. 2004; 5(3):280–4.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  32. 32

    Jordan IK, Mariño-Ramírez L, Wolf YI, Koonin EV. Conservation and coevolution in the scale-free human gene coexpression network. Mole biol evol. 2004; 21(11):2058–070.

    CAS  Article  Google Scholar 

  33. 33

    Cohen R, Erez K, Ben-Avraham D, Havlin S. Breakdown of the internet under intentional attack. Phys Rev Lett. 2001; 86(16):3682–685.

    CAS  Article  PubMed  Google Scholar 

  34. 34

    Benjamini Y, Yekutieli D. The control of the false discovery rate in multiple testing under dependency. Ann stat. 2001; 29:1165–1188.

    Article  Google Scholar 

  35. 35

    Przulj N, Corneil DG, Jurisica I. Modeling interactome: scale-free or geometric?Bioinforma. 2004; 20(18):3508–515.

    CAS  Article  Google Scholar 

  36. 36

    Ay N, Krakauer DC. Geometric robustness theory and biological networks. Theor Biosci. 2007; 125(2):93–121.

    Google Scholar 

  37. 37

    Horvath S, Dong J. Geometric interpretation of gene coexpression network analysis. PLoS comput biol. 2008; 4(8):1000117.

    Article  CAS  Google Scholar 

  38. 38

    Butts C, Carley K. Multivariate methods for interstructural analysis. CASOS working paper: Carnegie Mellon University, Pittsburgh, PA: Center for the Computational Analysis of Social and Organization Systems; 2001.

  39. 39

    Hubert LJ, Vol. 1. Assignment Methods in Combinatorial Data Analysis. New York: Marcel Dekker; 1987.

    Google Scholar 

  40. 40

    Anderson BS, Butts C, Carley K. The interaction of size and density with graph-level indices. Social Networks. 1999; 21(3):239–68.

    Article  Google Scholar 

  41. 41

    van Wijk BCM, Stam CJ, Daffertshofer A. Comparing brain networks of different size and connectivity density using graph theory. PLoS One. 2010; 5(10):13701.

    Article  CAS  Google Scholar 

  42. 42

    Teschendorff AE, Menon U, Gentry-Maharaj A, Ramus SJ, Weisenberger DJ, Shen H, et al.Age-dependent dna methylation of genes that are suppressed in stem cells is a hallmark of cancer. Genome res. 2010; 20(4):440–6.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  43. 43

    Du P, Kibbe WA, Lin SM. lumi: a pipeline for processing illumina microarray. Bioinforma. 2008; 24(13):1547–1548.

    CAS  Article  Google Scholar 

  44. 44

    Horvath S, Zhang Yf, Langfelder P, Kahn RS, Boks MPM, van Eijk K, et al.Aging effects on dna methylation modules in human brain and blood tissue. Genome Biol. 2012; 13(10):97.

    Article  CAS  Google Scholar 

  45. 45

    Pons P, Latapy M. Computing communities in large networks using random walks. J Graph Algorithms Appl. 2006; 10(2):191–218.

    Article  Google Scholar 

  46. 46

    Beißbarth T, Speed TP. Gostat: find statistically overrepresented gene ontologies within a group of genes. Bioinforma. 2004; 20(9):1464–1465.

    Article  CAS  Google Scholar 

  47. 47

    Diamantis ID, Nair AP, Hirsch HH, Moroni C. Tumor suppression involves down-regulation of interleukin 3 expression in hybrids between autocrine mastocytoma and interleukin 3-dependent parental mast cells. Proc Natl Acad Sci. 1989; 86(23):9299–302.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  48. 48

    Dercksen MW, Hoekman K, ten Bokkel Huinink WW, Rankin EM, Dubbelman R, Van Tinteren H, et al.Effects of interleukin-3 on myelosuppression induced by chemotherapy for ovarian cancer and small cell undifferentiated tumours. Br J Cancer. 1993; 68(5):996.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  49. 49

    Jones P, Baylin S. The fundamental role of epigenetic events in cancer. Nat Rev Genet. 2002; 3(6):415–28.

    CAS  PubMed  Google Scholar 

  50. 50

    Iorio M, Visone R, Di Leva G, Donati V, Petrocca F, Casalini P, et al.Microrna signatures in human ovarian cancer. Cancer res. 2007; 67(18):8699–707.

    CAS  Article  PubMed  Google Scholar 

Download references


This work was partially funded by the EPSRC.

Author information



Corresponding author

Correspondence to Giovanni Montana.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ contributions

Algorithms and experiments were designed by Da Ruan (DR), Alastair Young (AY) and Giovanni Montana (GM). Algorithm code was implemented and tested by DR. The manuscript was written by DR, AY, and GM. All three authors read and approved the final manuscript.

Authors’ information

Not Applicable.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (, 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 ( applies to the data made available in this article, unless otherwise stated.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Ruan, D., Young, A. & Montana, G. Differential analysis of biological networks. BMC Bioinformatics 16, 327 (2015).

Download citation


  • Network comparisons
  • Co-methylation networks