Skip to main content
EURASIP Journal on Bioinformatics and Systems Biology logoLink to EURASIP Journal on Bioinformatics and Systems Biology
. 2008 Oct 26;2009(1):616234. doi: 10.1186/1687-4153-2009-616234

Assessing the Exceptionality of Coloured Motifs in Networks

Sophie Schbath 1,, Vincent Lacroix 2, Marie-France Sagot 3,4,5
PMCID: PMC3171434  PMID: 19190777

Abstract

Various methods have been recently employed to characterise the structure of biological networks. In particular, the concept of network motif and the related one of coloured motif have proven useful to model the notion of a functional/evolutionary building block. However, algorithms that enumerate all the motifs of a network may produce a very large output, and methods to decide which motifs should be selected for downstream analysis are needed. A widely used method is to assess if the motif is exceptional, that is, over- or under-represented with respect to a null hypothesis. Much effort has been put in the last thirty years to derive Inline graphic-values for the frequencies of topological motifs, that is, fixed subgraphs. They rely either on (compound) Poisson and Gaussian approximations for the motif count distribution in Erdös-Rényi random graphs or on simulations in other models. We focus on a different definition of graph motifs that corresponds to coloured motifs. A coloured motif is a connected subgraph with fixed vertex colours but unspecified topology. Our work is the first analytical attempt to assess the exceptionality of coloured motifs in networks without any simulation. We first establish analytical formulae for the mean and the variance of the count of a coloured motif in an Erdös-Rényi random graph model. Using simulations under this model, we further show that a Pólya-Aeppli distribution better approximates the distribution of the motif count compared to Gaussian or Poisson distributions. The Pólya-Aeppli distribution, and more generally the compound Poisson distributions, are indeed well designed to model counts of clumping events. Altogether, these results enable to derive a Inline graphic-value for a coloured motif, without spending time on simulations.

1. Introduction

Descriptions of biological networks serve two main purposes. On the one hand, it enables to address questions related to the evolution of the network, that is, how such a complex structure has been set up in the course of evolution. On the other hand, structural analysis can be seen as a first necessary step prior to a dynamical analysis which in turn enables to simulate networks and to study their response to perturbation. Usually, three main classes of biological networks are considered [1]: protein interaction, gene regulatory, and metabolic. When analysing their structure, these networks are usually modelled as graphs, where vertices represent molecules (metabolites, genes, and proteins) and edges (directed or undirected) represent interactions between these molecules (the direction, when it is known, indicating which molecule is acting upon the other). For instance, in the case of a gene regulatory network, vertices correspond to genes and there is a directed edge from a gene coding for a transcription factor to every gene that this transcription factor regulates.

The structure of a biological network may be apprehended by using a variety of measures, such as vertex degree [2], degree correlation [3], or average shortest path length [4].

In this paper, we focus on the concept of motif. A network motif has been initially defined as a pattern of interconnections which occurs unexpectedly often in a network [5, 6]. The assumption generally made is that subnetworks sharing the same topology will be functionally similar. Over- (resp., under-) represented subnetworks may therefore correspond to conserved (resp., avoided) and thus important (resp., vital/detrimental) cellular functions. In the context of regulatory networks, simple patterns such as loops may be interpreted as logical circuits controlling the dynamic behaviour of a network. If the over- and under-representations of network motifs are often assessed via simulations of random networks in practice, approximations of the subgraph count distribution in various random graph models have been proposed in the literature. Some of these approximations can be found in the book by Janson et al. [7] or in more recent studies such as those by Stark [8], Itzkovitz et al. [9], Camacho et al. [10], and Picard et al. [11].

A limitation of the notion of topological motif is that in many cases the same subgraph may in fact correspond to different functions, depending on the nature of the vertices that compose it. This is typically the case for metabolic networks whose fullest representation is in terms of a bipartite graph with two sets of vertices, one corresponding to reactions and the other to chemical compounds, those reactions are required as input or produced as output. Topological motifs which neglect vertex labels (for the reactions and/or the compounds) may associate completely different chemical transformations, while motifs that took such labels into account but enforced topological isomorphism would miss the fact that some sets of similar transformations may occur in different order. A biological example of the latter is given in the simple case of linear sets of transformations in Figure 1, where rectangles are reactions and circles are compounds. More complex examples are discussed in Lacroix et al. [12].

Figure 1.

Figure 1

Similar sets of transformations in the metabolic network of the bacterium Escherichia coli.

Moreover, in some situations, as, for example, in the case of protein interaction networks, the topology of the network is not fully known. Indeed, high-throughput experiments used to obtain large-scale protein interaction data are notoriously noisy, that is, they may detect interactions when there is none (false positive) and they may miss existing interactions (false negative). In this context, it may be inadequate to look for exact repetitions of a pattern. An alternative definition has thus been proposed, where a motif is defined by using the labels of its vertices and only connectedness of the induced subgraph is required [12].

A coloured motif is defined as a multiset of colours (vertex labels), that is, a motif may contain colours whose multiplicity are greater than 1. The cardinality of a motif, that is, of the multiset, will be called the size of a motif. An occurrence of a motif is defined as a connected subgraph whose labels match the motif.

The enumeration of coloured motifs is a nontrivial task which has been the subject of several works [12, 13] which allowed to establish the complexity of the problem and provide algorithms to efficiently detect all the occurrences of a motif in a graph. In practice, current methods now allow to enumerate all the motifs of size 7 of a graph representing the metabolic network of a bacterium in less than two hours. Beyond the time complexity of the task, a major challenge that remains open is to make sense of the potentially very large output of such an enumeration procedure, especially when the focus is not on a single motif but on all motifs of a given size. Ideally, one would need a method to rank the motifs according to their biological relevance in order to prioritise a small number of motifs for downstream analysis. However, the notion of biological relevance is generally ill defined, and a classically used approximation is its statistical significance (or exceptionality).

The exceptionality of a coloured motif, that is the over- or under-representation of the motif with respect to a null model, can be assessed by comparing the observed count of occurrences of a motif to the expected count of the same motif under a null hypothesis. Up to now, this procedure was performed (e.g., in MOTUS [14], http://pbil.univ-lyon1.fr/software/motus/) using simulations: a large number of random graphs were generated and the motif of interest was sought in each one, generating an empirical distribution of the motif count to which the observed count could be compared in order to derive a Inline graphic-score and a Inline graphic-value. The main limitation of this procedure is that it adds a multiplicative factor to the time complexity of the algorithm. Moreover, it is not trivial to choose the optimal number of simulations to perform in order to get a satisfactory estimation of the Inline graphic-value. As a rule of thumb, in order to estimate quite accurately a Inline graphic-value of 1 over Inline graphic, at least Inline graphic simulations should be performed.

In this paper, we propose a new approach for assessing the exceptionality of coloured motifs which do not require simulations and therefore circumvents the previously mentioned limitations. We were able to establish exact analytical formulae for the mean and the variance of the count of a coloured motif in an Erdös-Rényi (ER) random graph model. Thanks to these results, one can now derive a Inline graphic-score for each motif and therefore rank them according to their exceptionality. We then worked on modelling the complete distribution of the count of a coloured motif in an ER random graph model. To this purpose, we performed a large number of simulations, using different colour frequencies for the motif and different number of vertices and edges for the graph. We could establish that the Poisson distribution was not appropriate whereas the Pólya-Aeppli distribution was a good and better approximation than the commonly used Gaussian distribution. The choice of a Pólya-Aeppli distribution was driven by the following facts: (i) motif occurrences overlap in a network, as shown in Figure 1; (ii) compound Poisson distributions are particularly adapted to model counts of clumping events [15, Chapter 9]; (iii) Pólya-Aeppli approximations are efficient for the count of words in letter sequences [16]. These results can in turn be used to derive a Inline graphic-value for each motif, and, therefore, to introduce a cut-off for deciding which motifs should be selected for downstream analysis.

To our knowledge, there has been no previous work on the significance of coloured motifs in random graphs. This is the reason why we started by focusing on the more general random graph model that is available. We are aware that this may not be the most suitable model to describe the structure of a biological network. However, we argue that this work provides a first necessary basis which can later be extended to richer models, such as the promising mixture of Erdös-Rényi models proposed by Daudin et al. [17].

2. Definitions and Notations

Coloured Random Graph Model

We consider a random graph Inline graphic with Inline graphic vertices Inline graphic. We assume that random edges are independent and distributed according to a Bernoulli distribution with parameter Inline graphic (the so-called Erdös-Rényi model). Moreover, vertices are randomly and independently coloured as follows. Let Inline graphic be a finite set of Inline graphic different colours and Inline graphic a probability measure on Inline graphic: Inline graphic is then the probability for a vertex to be coloured with Inline graphic.

In a metabolic network, the colours of reaction vertices can represent classes of chemical transformations; in regulation networks, the colours of gene vertices can represent functional classes. For defining these classes, the EC number hierarchy (http://www.chem.qmul.ac.uk/iubmb/enzyme/) or Gene Ontology (http://www.geneontology.org/GO.doc.shtml) is classically used.

Coloured Motif

We consider motifs as introduced in Lacroix et al. [12]: a (coloured) motif Inline graphic of size Inline graphic is a multiset of Inline graphic colours Inline graphic. Colours from a motif may not be different, that is, one may have Inline graphic for some Inline graphicInline graphic. We then denote by Inline graphic the multiplicity of the colour Inline graphic in Inline graphic. When there is no ambiguity, Inline graphic will simply be denoted by Inline graphic. The notion of multiplicity of a single colour in Inline graphic will be extended to a multiset of colours in Section 3.2.

Motif Occurrences

We now define an occurrence of such a coloured motif. To this purpose, we introduce the following notation. If Inline graphic are Inline graphic different indices from Inline graphic then Inline graphic represents the subgraph of Inline graphic induced by the vertices Inline graphic. Let Inline graphic be the set of all the subsets of size Inline graphic from Inline graphic. We say that a motif Inline graphic occurs at position Inline graphic if and only if Inline graphic is connected and the colours of Inline graphic, denoted by Inline graphic, are exactly Inline graphic. Inline graphic corresponds, then, to the set of possible positions for the occurrence of a motif of size Inline graphic. Figure 2 gives an example of a motif and its occurrences.

Figure 2.

Figure 2

Example of a graph and a motif. The motif Inline graphic occurs three times in the graph, at positions Inline graphic and Inline graphic.

Number of Occurrences

We introduce the random indicator variable Inline graphic which equals one if motif Inline graphic occurs at position Inline graphic in Inline graphic and zero, otherwise

graphic file with name 1687-4153-2009-616234-i58.gif (1)

where Inline graphic is then a Bernoulli random variable whose expectation is denoted by Inline graphic:

graphic file with name 1687-4153-2009-616234-i61.gif (2)

The probability Inline graphic for Inline graphic to occur at position Inline graphic will be given in Section 3.1.

The number of occurrences of the motif Inline graphic in the graph Inline graphic, denoted by Inline graphic, is defined by

graphic file with name 1687-4153-2009-616234-i68.gif (3)

3. Mean and Variance for the Count

This section will provide analytical formulae for the mean and the variance of the number of occurrences of a coloured motif in a random graph. It involves the computation of some probabilities of connectedness. The generalisation to the number of occurrences of a set a coloured motifs will be done in the supplementary material.

3.1. Mean Number of Occurrences

The mean number of occurrences of the motif Inline graphic in the graph Inline graphic simply follows from the count expression (3):

graphic file with name 1687-4153-2009-616234-i71.gif (4)

where Inline graphic is the occurrence probability of the motif and is given below by (6).

Occurrence Probability

The probability Inline graphic for Inline graphic to occur at position Inline graphic is simply equal to the product of two probabilities: the probability that Inline graphic is connected and the probability to assign colours Inline graphic to vertices Inline graphic. The latter, denoted by Inline graphic, follows from the multinomial distribution

graphic file with name 1687-4153-2009-616234-i80.gif (5)

leading to

graphic file with name 1687-4153-2009-616234-i81.gif (6)

where Inline graphic denotes the probability for a random graph (Erdös-Rényi model) with Inline graphic vertices and edge probability Inline graphic to be connected (by definition, Inline graphic).

Connectivity Probability

The probability Inline graphic is calculated recursively [18] as follows:

graphic file with name 1687-4153-2009-616234-i87.gif (7)

where Inline graphic. For instance, for Inline graphic, which is typically the range for the motif size in practice, we have

graphic file with name 1687-4153-2009-616234-i90.gif (8)

3.2. Variance of the Number of Occurrences

Getting the variance is much more involved. We start from Inline graphic and we have to compute the moment of order two

graphic file with name 1687-4153-2009-616234-i92.gif (9)

First, the sums over Inline graphic and Inline graphic are calculated according to the number Inline graphic of vertices shared by the subgraphs Inline graphic and Inline graphic:

graphic file with name 1687-4153-2009-616234-i98.gif (10)

Second, we use the fact that Inline graphic and Inline graphic are indicator variables which lead to Inline graphic. These random variables are not independent but the above probability can be written as

graphic file with name 1687-4153-2009-616234-i102.gif (11)

with

graphic file with name 1687-4153-2009-616234-i103.gif (12)

The terms Inline graphic and Inline graphic are now separately calculated.

Computation of Inline graphic

Let Inline graphic; the subgraphs Inline graphic and Inline graphic have thus Inline graphic vertices in common, with Inline graphic. Let Inline graphic such that Inline graphic and denote Inline graphic; Inline graphic represents the colours of the Inline graphic vertices shared by Inline graphic and Inline graphic. The multiplicity of colour Inline graphic in Inline graphic (resp., in Inline graphic) is denoted by Inline graphic (resp., Inline graphic). To calculate Inline graphic, we start by choosing the Inline graphic colours Inline graphic of Inline graphic (event with probability Inline graphic), then the Inline graphic remaining colours Inline graphic are spread over both Inline graphic (event with probability Inline graphic) and Inline graphic (event with probability Inline graphic). Finally, one just has to sum over all possible differentInline graphic which is equivalent to summing over all Inline graphic and dividing each term by the multiplicity of Inline graphic in Inline graphic. This leads to

graphic file with name 1687-4153-2009-616234-i139.gif (13)

where Inline graphic is the multiplicity of Inline graphic in Inline graphic. For instance, if Inline graphic, Inline graphic and Inline graphic then the multiplicity of Inline graphic in Inline graphic equals 2 whereas the multiplicity of Inline graphic equals 1.

Computation of Inline graphic

Let again Inline graphic. If Inline graphic (i.e., Inline graphic and Inline graphic are disjoint) or Inline graphic (i.e., Inline graphic and Inline graphic have a unique vertex in common) then the events Inline graphic and Inline graphic are independent leading to

graphic file with name 1687-4153-2009-616234-i159.gif (14)

Another easy case is when Inline graphic because it means that Inline graphic and therefore

graphic file with name 1687-4153-2009-616234-i162.gif (15)

For the other cases, no general formulae have been found so far but for small values of Inline graphic one can automatically enumerate all the solutions thanks to the edge binary tree, as described below. As an illustration, the case Inline graphic (and Inline graphic) will be detailed.

The principle is to work conditionally to the subgraph Inline graphic

graphic file with name 1687-4153-2009-616234-i167.gif (16)

where Inline graphic is any subgraph of Inline graphic vertices. Since Inline graphic is typically small, both probabilities can be computed by enumerating all possible subgraphs Inline graphic and Inline graphic. This can be done by traversing the complete edge binary tree associated to the Inline graphic potential edges of Inline graphic that is, to the binary tree whose branches are labelled according to the presence or absence of edges in the subgraph Inline graphic. This tree is composed of Inline graphic levels, one for each potential edge and each internal vertex in this tree has two sons: the left one corresponds to the presence of the corresponding edge in the graph whereas the right one corresponds to its absence. It follows that each path from the root to a leaf corresponds to one of the Inline graphic possible graphs of size Inline graphic. Figure 3 gives an example for Inline graphic. Vertices are labelled Inline graphic, the higher level corresponds to the edge Inline graphic, the middle one corresponds to the edge Inline graphic and the lower level corresponds to the edge Inline graphic. Leaves corresponding to connected graphs are drawn with a square. In practice, the connectedness of a graph can be checked thanks to its adjacency matrix to the power Inline graphic. Indeed, a graph of size Inline graphic with adjacency matrix Inline graphic is connected if and only if Inline graphic contains no zero (every vertex can be reached from any vertex in at most Inline graphic steps). Additionally, the binary tree is built such that all pairs of common vertices between Inline graphic and Inline graphic are at the top levels. The probability of each connected graph of size Inline graphic can then be easily calculated when traversing the tree and likewise for both probabilities appearing in (16).

Figure 3.

Figure 3

Complete edge binary tree for vertices Inline graphic, Inline graphic and Inline graphic. Branches are labelled according to the presence or absence of edges: label Inline graphic for instance, means that Inline graphic and Inline graphic are connected, whereas Inline graphic means the opposite. Leafs which correspond to connected subgraphs are represented by a square.

As an illustration, we now detail the computation for Inline graphic and Inline graphic. Let Inline graphic and Inline graphic be the two common vertices between Inline graphic and Inline graphic, and let Inline graphic be the third vertex of Inline graphic (Inline graphic). The edge binary tree is given by Figure 3. In this case, there are only two subgraphs Inline graphic with Inline graphic vertices: either Inline graphic and Inline graphic are connected (probability Inline graphic) or they are not connected (probability Inline graphic). In Figure 3, we indicate with a dashed horizontal line the separation between edges in Inline graphic (the conditioning event) and edges in Inline graphic. Overall, with Inline graphic, there are four possible connected subgraphs Inline graphic: the triangle (labelled by "a") and the three possible "Vs" (labelled by "b", "c", and "d"). The probability that Inline graphic is connected given Inline graphic is obtained from cases "a" (probability Inline graphic), "b" (probability Inline graphic), and "c" (probability Inline graphic)

graphic file with name 1687-4153-2009-616234-i216.gif (17)

The probability that Inline graphic is connected given that Inline graphic is not connected with Inline graphic is obtained from case "d" (probability Inline graphic), leading to

graphic file with name 1687-4153-2009-616234-i221.gif (18)

Using this algorithm, we find the following results for Inline graphic and Inline graphic (Inline graphic can be processed with the trivial formulae (14) or (15)):

graphic file with name 1687-4153-2009-616234-i225.gif (19)

Finally, we obtained analytical formulae for the variance.

4. Towards the Motif Count Distribution: A Simulated Approach

Aim

No theoretical results exist so far on the distribution of coloured motifs in random graphs. In this paper, we propose an approximation for this distribution. Thanks to simulations, we first studied the quality of the normal approximation which is classically assumed, especially when using Inline graphic-scores [5, 12]. However, network motif occurrences tend to overlap in networks. It is well known from probability theory that compound Poisson distributions are more relevant than Gaussian distributions to model the count of rare and clumping events. Besides, a compound Poisson approximation for the count of particular subgraphs (topological network motifs) has been proposed by Stark [8] under certain asymptotic conditions on the ER random graph model. Moreover, by analogy with pattern occurrences in letter sequences [16], Picard et al. [11] recently investigated a particular compound Poisson approximation, namely, a Pólya-Aeppli approximation, and concluded that this distribution fits well the count of topological network motifs. The Pólya-Aeppli distribution (denoted by Inline graphic) with parameters Inline graphic is the distribution of Inline graphic, where the number of clumps Inline graphic is Poisson distributed (Inline graphic) and the size Inline graphic of the clumps is geometrically distributed (Inline graphic). Its mean is equal to Inline graphic and its variance equals Inline graphic. We have then also considered the Pólya-Aeppli approximation. We did not investigate the Poisson approximation because, as we can see on Table 1, the variance of the count (whatever the coloured motif) is quite different from the mean count.

Table 1.

Quality of approximation of the count distribution for Inline graphic and Inline graphic. The empirical mean Inline graphic, variance Inline graphic, and cumulative distribution function Inline graphic have been obtained thanks to 10 000 random graphs. Inline graphic are the parameters of the Pólya-Aeppli distribution. Inline graphic and Inline graphic are the Kolmogorov-Smirnov distances. For Inline graphic then Inline graphic, Inline graphic is the Inline graphic quantile of the normal distribution (idem for the Pólya-Aeppli distribution).

Inline graphic Inline graphic
Motif Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic (%) Inline graphic (%) Inline graphic Inline graphic (%) Inline graphic Inline graphic (%) Inline graphic Inline graphic (%) Inline graphic Inline graphic (%)
111 1023.65 27462.66 1021.97 27446.53 0.93 73.37 2.40 0.78 1407.4 1.6 1436 1.1 1533.9 0.23 1591 0.12
122 767.74 14941.43 766.05 14660.79 0.90 76.08 2.14 0.65 1047.7 1.5 1068 1.0 1140.2 0.25 1181 0.07
123 614.19 8546.68 615.26 8493.22 0.86 83.12 1.75 0.68 829.6 1.4 845 0.8 900.0 0.18 929 0.08
114 307.09 5729.89 307.77 5807.09 0.90 30.98 3.20 0.71 485.0 1.5 505 0.8 543.3 0.28 583 0.08
134 122.84 1305.02 123.06 1311.64 0.83 21.11 3.43 0.78 207.3 1.8 219 0.9 235.0 0.37 257 0.12
115 61.41 1180.68 61.72 1147.95 0.90 6.30 5.72 0.98 140.5 2.3 160 0.8 166.4 0.57 205 0.06
244 15.35 85.99 15.29 85.57 0.70 4.63 8.73 1.07 36.8 2.4 43 0.8 43.9 0.81 55 0.12
245 6.14 27.76 6.20 28.45 0.64 2.22 12.72 1.27 18.6 2.5 23 0.8 22.7 1.09 32 0.10
345 2.46 6.63 2.51 6.58 0.45 1.39 17.97 0.53 8.5 1.9 11 0.5 10.4 0.77 15 0.09
155 1.23 6.94 1.22 6.74 0.69 0.37 34.23 5.75 7.2 3.3 12 0.6 9.2 1.56 20 0.05
444 1.02 2.46 1.02 2.51 0.42 0.59 27.39 3.80 4.7 2.4 7 0.5 5.9 1.48 10 0.09
355 0.25 0.50 0.25 0.50 0.34 0.16 48.47 0.43 1.9 2.5 3 0.4 2.4 0.96 6 2e-05
455 0.12 0.20 0.13 0.20 0.23 0.09 51.63 0.16 1.2 0.6 2 0.1 1.5 0.65 4 0.03
555 0.008 0.01 0.007 0.008 0.035 0.007 52.61 2e-03 0.2 0.03 0 0.03 0.3 0.03 1 2e-05

Simulation Design

We have simulated 10 000 Erdös-Rényi random graphs with Inline graphic vertices (Inline graphic) and edge probability Inline graphic. Vertices have been randomly coloured with 5 colours (Inline graphic) and according to the following colour frequencies: Inline graphic. These choices for Inline graphic, Inline graphic, and Inline graphic allow to get coloured motifs of size 3 with a wide range of expected counts. We have then selected 14 motifs of size 3 to cover both this variety of counts and different multiplicity pattern: Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic and Inline graphic.

For each motif and each couple Inline graphic, we then obtained an empirical distribution which has been compared with both the normal distribution Inline graphic and the Pólya-Aeppli distribution Inline graphic with Inline graphic and Inline graphic (see Figure 4 for 4 representative examples).

Figure 4.

Figure 4

Empirical distributions for the count of motifs Inline graphic, Inline graphic, Inline graphic and Inline graphic in random graphs with Inline graphic and Inline graphic. The empirical means are, respectively, 615, 61, 15, and 2. The red (resp., green) curves correspond to the ad hoc normal distributions (resp., Pólya-Aeppli distributions).

Quality of Approximation

To measure this quality, we adopted two criteria: (1) the Kolmogorov-Smirnov distance which measures the maximal difference between the empirical cumulative distribution function (cdf) Inline graphic and the cdf of the normal or the Pólya-Aeppli distribution. The closer to 0 the KS distance, the better the approximation. (2) 1 minus the empirical cdf calculated at the Inline graphic and Inline graphic quantiles of the normal or of the Pólya-Aeppli distribution. The closer to 1% and 0.1% these values, the better the approximation.

Results

Results for different values of Inline graphic and Inline graphic are very similar. We only present here the ones corresponding to Inline graphic and Inline graphic because these values are very close to those observed in real cases such as the metabolic network of E. coli as considered in Lacroix et al. [12]. Nevertheless, all results are presented in the supplementary material.

We can first notice just by eye (see Figure 4) that the normal distribution seems satisfactory for frequent motifs but the rarer the motif, the worse the goodness-of-fit. The Pólya-Aeppli distribution seems to fit quite correctly the count distribution whatever the motif. These initial impressions are emphasised when we look at the Kolmogorov-Smirnov distances (see Table 1). The ones for the Pólya-Aeppli distribution are always smaller than those for the normal distribution and sometimes much smaller. In fact, the distance to the normal distribution is quite large for very rare motifs (typically when Inline graphic). If we now concentrate on the distribution tails by looking at the empirical probabilities to exceed the 99% or 99.9% quantiles Inline graphic and Inline graphic, we can also notice that they are closer to 1% or 0.1% for the Pólya-Aeppli distribution than for the normal distribution. For extremely rare motifs, quantiles Inline graphic for both 99% and 99.9% could not be correctly calculated because the corresponding Pólya-Aeppli distribution is both discrete and concentrated around 0. The values for the empirical tails provided in the table are therefore not meaningful in such cases, but thanks to the very small KS distances, we can check that the approximation is still good. Finally, observe that most of the time the normal distribution underestimates the quantile (the empirical right tail is overestimated) leading to false positives.

5. Discussion and Conclusion

In this paper, we proposed a new way to assess the exceptionality of coloured motifs in networks which do not require to perform simulations. Indeed, we were able to establish analytical formulae for the mean and the variance of the count of a coloured motif in an Erdös-Rényi random graph model. Furthermore, using simulations, we showed that the motif count distribution can be quite accurately approximated with a Pólya-Aeppli distribution, and that neither the Gaussian nor the Poisson distributions are relevant. Altogether, these results now allow to derive a Inline graphic-value for a coloured motif without performing simulations. Clearly, when several motifs have to be tested, which is the case in the context of motif discovery, one has to control for multiple testing. A conservative strategy that is classically used and that we would recommend is then to apply a Bonferroni correction.

In this work, we did not investigate the case of long motifs, but we can anticipate that motifs containing submotifs which are exceptional will tend to be exceptional themselves. This type of phenomenon is also observed for patterns in sequences and a classical way to deal with it is to control for the number of sequence patterns of size Inline graphic (by using a Markov model of order Inline graphic), when assessing the exceptionality of patterns of size Inline graphic. However, in the case of networks, the problem is far from trivial and it is unclear, even for small values of Inline graphic if the space of random graphs verifying these constraints will not be too small. In the worst case, this space may even be reduced to the observed graph itself.

Also in the case of very rare motifs, the expected distribution of the count is essentially concentrated around 0. Therefore, a single occurrence of such a motif will often be sufficient for it to be considered as exceptional. If we now consider the extreme case of a coloured graph, where each vertex is assigned a different colour, then all possible motifs will be very rare and, therefore, they may all be detected as exceptional. In practical cases, such as for the network representing the metabolic network of the bacterium E. coli, the situation is less dramatic but indeed many colours are present only once. This issue may be partially addressed by considering a random graph model, where the colours and the topology are not independent anymore. This would allow to discriminate between infrequent poorly connected colours and infrequent highly connected colours. Motifs containing the latter type of colours would be expected to have more occurrences and should therefore not be systematically considered as exceptional when they have a single occurrence.

More generally, we considered in this paper a very simple random graph model. Even though we think this work was necessary to establish a framework for accessing the exceptionality of coloured motifs, an important step is now to extend these results to other models of random graphs which better represent the structure of real networks. Different types of models have been proposed in the literature for this purpose, for instance, small-world networks, scale-free networks, preferential attachment models, and fixed degree distribution models. However, these models do not provide the probabilistic distribution on edges which is required to compute the occurrence probability of a motif and the probability of two nondisjoint occurrences. Moreover, it has been shown that subnetworks of scale-free networks lose the scale-free property [19]. This is a real drawback for modelling biological networks because they usually correspond to the partial knowledge we have of a system and are therefore far from complete. An interesting issue would be to generalise our work to a mixture of ER random graph models. These models seem indeed very flexible and are able to fit nicely biological networks [17].

Finally, we think there is still room for improvement on the approximation of the motif count distribution. Indeed, no theoretical evidence has been found so far supporting the use of a geometric distribution for the clump size. Analytically, getting the third moment and eventually the fourth moment of the count could certainly allow to investigate other distributions.

Contributor Information

Sophie Schbath, Email: sophie.schbath@jouy.inra.fr.

Vincent Lacroix, Email: lacroix@biomserv.univ-lyon1.fr.

Marie-France Sagot, Email: sagot@biomserv.univ-lyon1.fr.

Acknowledgments

The authors would like to thank Etienne Birmelé, Jean-Jacques Daudin, Catherine Matias, and Stéphane Robin for helpful discussions about the moment calculations. They particularly thank Jean-Jacques Daudin for providing a MATLAB program to automatically compute the term Inline graphic. They also thank the anonymous reviewers for their helpful comments and suggestions for improving the manuscript. This work has been supported by the ANR (NEMO Project BLAN08-1_318829, REGLIS Project NT05-3_45205, and MIRI Project BLAN08-1_335497) and the ANR-BBSRC (MetNet4SysBio Project ANR-07-BSYS 003 02).

References

  1. Alm E, Arkin AP. Biological networks. Current Opinion in Structural Biology. 2003;13(2):193–202. doi: 10.1016/S0959-440X(03)00031-9. [DOI] [PubMed] [Google Scholar]
  2. Jeong H, Tombor B, Albert R, Oltvai ZN, Barabási A-L. The large-scale organization of metabolic networks. Nature. 2000;407(6804):651–654. doi: 10.1038/35036627. [DOI] [PubMed] [Google Scholar]
  3. Maslov S, Sneppen K. Specificity and stability in topology of protein networks. Science. 2002;296(5569):910–913. doi: 10.1126/science.1065103. [DOI] [PubMed] [Google Scholar]
  4. Wagner A, Fell DA. The small world inside large metabolic networks. Proceedings of the Royal Society B. 2001;268(1478):1803–1810. doi: 10.1098/rspb.2001.1711. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Milo R, Shen-Orr SS, Itzkovitz S, Kashtan N, Chklovskii D, Alon U. Network motifs: simple building blocks of complex networks. Science. 2002;298(5594):824–827. doi: 10.1126/science.298.5594.824. [DOI] [PubMed] [Google Scholar]
  6. Shen-Orr SS, Milo R, Mangan S, Alon U. Network motifs in the transcriptional regulation network of Escherichia coli. Nature Genetics. 2002;31(1):64–68. doi: 10.1038/ng881. [DOI] [PubMed] [Google Scholar]
  7. Janson S, Łuczak T, Ruciński A. Random Graphs. Wiley-Interscience, New York, NY, USA; 2000. [Google Scholar]
  8. Stark D. Compound Poisson approximations of subgraph counts in random graphs. Random Structures & Algorithms. 2001;18(1):39–60. doi: 10.1002/1098-2418(200101)18:1<39::AID-RSA4>3.0.CO;2-B. [DOI] [Google Scholar]
  9. Itzkovitz S, Milo R, Kashtan N, Ziv G, Alon U. Subgraphs in random networks. Physical Review E. 2003;68(2) doi: 10.1103/PhysRevE.68.026127. [DOI] [PubMed] [Google Scholar]
  10. Camacho J, Stouffer DB, Amaral LAN. Quantitative analysis of the local structure of food webs. Journal of Theoretical Biology. 2007;246(2):260–268. doi: 10.1016/j.jtbi.2006.12.036. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Picard F, Daudin J-J, Koskas M, Schbath S, Robin S. Assessing the exceptionality of network motifs. Journal of Computational Biology. 2008;15(1):1–20. doi: 10.1089/cmb.2007.0137. [DOI] [PubMed] [Google Scholar]
  12. Lacroix V, Fernandes CG, Sagot M-F. Motif search in graphs: application to metabolic networks. IEEE/ACM Transactions on Computational Biology and Bioinformatics. 2006;3(4):360–368. doi: 10.1109/TCBB.2006.55. [DOI] [PubMed] [Google Scholar]
  13. Fellows MR, Fertin G, Hermelin D, Vialette S. Sharp tractability borderlines for finding connected motifs in vertex-colored graphs. Proceedings of the 34th International Colloquium on Automata, Languages and Programming (ICALP '07), July 2007, Wroclaw, Poland, Lecture Notes in Computer Science. pp. 340–351.
  14. Lacroix V, Cottret L, Rogier O, Fernandes C, Jourdan F, Sagot M-F. Motus: a software and a webserver for the search and enumeration of node-labelled connected subgraphs in biological networks. submitted.
  15. Johnson NL, Kotz S, Kemp AW. Univariate Discrete Distributions. John Wiley & Sons, New York, NY, USA; 1992. [Google Scholar]
  16. Schbath S. Compound Poisson approximation of word counts in DNA sequences. ESAIM: Probability and Statistics. 1995;1:1–16. doi: 10.1051/ps:1997100. [DOI] [Google Scholar]
  17. Daudin J-J, Picard F, Robin S. A mixture model for random graphs. Statistics and Computing. 2008;18(2):173–183. doi: 10.1007/s11222-007-9046-7. [DOI] [Google Scholar]
  18. Gilbert EN. Random graphs. The Annals of Mathematical Statistics. 1959;30(4):1141–1144. doi: 10.1214/aoms/1177706098. [DOI] [Google Scholar]
  19. Stumpf MPH, Wiuf C, May RM. Subnets of scale-free networks are not scale-free: sampling properties of networks. Proceedings of the National Academy of Sciences of the United States of America. 2005;102(12):4221–4224. doi: 10.1073/pnas.0501179102. [DOI] [PMC free article] [PubMed] [Google Scholar]

Articles from EURASIP Journal on Bioinformatics and Systems Biology are provided here courtesy of Springer

RESOURCES