- Methodology article
- Open Access
- Published:

# Functional clustering of time series gene expression data by Granger causality

*BMC Systems Biology*
**volume 6**, Article number: 137 (2012)

## Abstract

### Background

A common approach for time series gene expression data analysis includes the clustering of genes with similar expression patterns throughout time. Clustered gene expression profiles point to the joint contribution of groups of genes to a particular cellular process. However, since genes belong to intricate networks, other features, besides comparable expression patterns, should provide additional information for the identification of functionally similar genes.

### Results

In this study we perform gene clustering through the identification of Granger causality between and within sets of time series gene expression data. Granger causality is based on the idea that the cause of an event cannot come after its consequence.

### Conclusions

This kind of analysis can be used as a complementary approach for functional clustering, wherein genes would be clustered not solely based on their expression similarity but on their topological proximity built according to the intensity of Granger causality among them.

## Background

Gene network analysis of complex datasets, such as DNA microarray results, aims to identify relevant structures that help the understanding of a certain phenotype or condition. These networks comprise hundreds to thousands of genes that may interact generating intricate structures. Consequently, pinpointing genes or sets of genes that play a crucial role becomes a complicated task.

Common analyses explore gene-gene level relationships and generate broad networks. Although this is a valuable approach, genes might interact more intensely to a few members of the network, and the identification of these so-called sub-networks should lead to a better comprehension of the entire regulatory process.

Several *in silico* methodologies are available for the identification of sub-networks, or clusters, within a given dataset[1–5]. Most of the times, the identified clusters group genes based on similar patterns of expression in time. In a different manner, the identification of Granger causality[6] within a network allows the clustering of genes based on their topological proximity in the network[7, 8]. Briefly, Granger causality[6] analysis identifies interaction in terms of temporal precedence (the cause comes before its effect)[6] and may generate a set of sub-networks within which Granger causality is intense among genes. As a result, genes are grouped depending on how close they are in terms of Granger causality. Figure1a illustrates the clustering based on the network topological proximity while Figure1b shows the clustering based on similar expression patterns.

The concept of Granger causality[6] has been previously shown to help in the identification and interpretation of regulatory networks in time series gene expression datasets[9–18]. The main advantage of Granger causality analysis in the context of gene expression datasets consists in the fact that each edge of the network represents the information flow from one gene to another[19]. Nevertheless, it is necessary to point out that Granger causality is not effective causality in the Aristothelic sense because it is based on prediction and numerical calculations. Fujita *et al*.[20–22] suggested a concept for the identification of Granger causality between groups of time series. The application was, however, limited to scenarios when clusters could be previously defined based on particular data characteristics. Here, we propose a method to define clusters by their topological proximity in the network. For this purpose we introduce an extension of the concept of *functional clustering*, initially proposed by[23] in neuroscience. In[23], they applied mutual information in order to group the most active brain regions. We are interested in clustering the genes by using the concept of information flow[19] between *sets* of time series[20]. The gene expression time series are grouped depending on the hidden structure underlying the network topology, in a way that genes which are topologically close in terms of Granger causality are clustered (Figure1a). We use the generalization of Granger causality for sets of time series datasets proposed by[20, 21] in order to define concepts of distance, degree and flow useful to determine gene sets that highly interact in terms of Granger causality. In other words, we will derive the Granger causality-based functional clustering directly from the time series gene expression data. For this purpose, an approach that allows the identification of the optimum number of clusters for a given dataset is also presented.

## Materials and Methods

### Granger causality for sets of time series

Granger causality identification is a potential approach for the detection of possible interactions in a data driven framework couched in terms of temporal precedence. The main idea is that temporal precedence does not imply, but may help to identify causal relationships, since a cause never occurs after its effect.

A formal definition of Granger causality for sets of time series[20] can be given as follows.

#### Definition 1

[20]*Granger causality for sets of time series: Suppose that* *ℑ*_{
t
}*is a set containing all relevant information available up to and including time-point* *t*. *Let* **X**_{
t
},\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n i\n \n \n \n*and*\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n j\n \n \n \n*be sets of time series containing* *p*, *m* *and* *n* *time series, respectively, where*\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n i\n \n \n \n*and*\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n j\n \n \n \n*are disjoint subsets of* **X**_{
t
}, *i.e., each time series only belongs to one set, and thus,* *p*≥*m* + *n*. *Let* **X**_{
t
}(*h*|*ℑ*_{
t
}) *be the optimal (i.e., the one which produces the minimum mean squared error (MSE) prediction)* *h* *-step predictor of the set of* *m* *time series*\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n i\n \n \n \n*from the time point* *t*, *based on the information in* *ℑ*_{
t
}. *The forecast MSE of the linear combination of*\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n i\n \n \n \n*will be denoted by* *Ω*_{
X
}(*h*|*ℑ*_{
t
}). *The set of* *n* *time series*\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n j\n \n \n \n*is said to Granger-cause the set of* *m* *time series*\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n i\n \n \n \n*if*

*where*\left(\right)close="">\n \n \n \n \u2111\n \n \n t\n \n \n \u2216\n {\n \n \n X\n \n \n s\n \n \n j\n \n \n |\n s\n \u2264\n t\n }\n \n*is the set containing all relevant information except for the information in the past and present of*\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n j\n \n \n \n. *In other words, if*\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n i\n \n \n \n*can be predicted more accurately when the information in*\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n j\n \n \n \n*is taken into account, then*\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n j\n \n \n \n*is said to be Granger-causal for*\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n i\n \n \n \n.

For the linear case,\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n j\n \n \n \n is Granger non-causal for\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n i\n \n \n \n if the following condition holds:

where *ρ* is the largest correlation calculated by Canonical Correlation Analysis (CCA).

In order to simplify both notation and concepts, only the identification of Granger causality for sets of time series in an Autoregressive process of order one is presented. Generalizations for higher orders are straightforward.

### Functional clustering in terms of Granger causality

There are numerous definitions for clusters in networks in the literature[24]. A functional cluster in terms of Granger causality can be defined as a subset of genes that strongly interact among themselves but interact weakly with the rest of the network.

A usual approach for network clustering when the structure of the graph is known is the spectral clustering proposed by[25]. However, in biological data, the structure of the regulatory network is usually unknown.

In order to overcome this limitation, we developed a framework to cluster genes by their topological proximity using the time series gene expression information. We developed concepts of distance and degree for sets of time series based on Granger causality, and combined them to the modified spectral clustering algorithm. The procedures are detailed below.

#### Functional clustering

Given a set of time series\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n 1\n \n \n ,\n \n \n x\n \n \n t\n \n \n 2\n \n \n ,\n \u2026\n ,\n \n \n x\n \n \n t\n \n \n p\n \n \n \n (where *p* is the number of time series) and a definition of similarity *w*_{
ij
} ≥ 0 between all pairs of data points\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n and\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n j\n \n \n \n, the intuitive goal of clustering is to divide the time series into several groups such that time series in the same group are highly connected by Granger causality and time series in different groups are not connected or show few connections to each other. One usual representation of the connectivity between time series is in the form of graph *G* = (*V*,*E*). Each vertex *v*_{
i
} in this graph represents a time series gene expression\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n. Two vertices are connected if the similarity *w*_{
ij
} between the corresponding time series\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n and\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n j\n \n \n \n is not zero (the edge of the graph is weighted by *w*_{
ij
}). In other words, a *w*_{
ij
} > 0 represents existence of Granger causality between time series\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n and\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n j\n \n \n \n and *w*_{
ij
} = 0 represents Granger non-causality. The problem of clustering can now be reformulated using the similarity graph: we want to find a partition of the graph such that there is less Granger causality between different groups and more Granger causality within the group.

Let *G* = (*V*,*E*) be an undirected graph with vertex set *V* = {*v*_{1},…,*v*_{
p
}}(where each vertex represents one time series) and weighted edges set *E*. In the following we assume that the graph *G* is weighted, that is each edge between two vertices *v*_{
i
} and *v*_{
j
} carries a non-negative weight *w*_{
ij
} ≥ 0. The weighted adjacency matrix of the graph is the matrix **W** = *w*_{
ij
}; *i*,*j* = 1,…,*p*. If *w*_{
ij
} = 0, this means that the vertices *v*_{
i
} and *v*_{
j
} are not connected by an edge. As *G* is undirected, we require *w*_{
ij
} = *w*_{
ji
}. Therefore, in terms of Granger causality, *w*_{
ij
} can be set as the distance between two time series\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n and\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n j\n \n \n \n. This distance can be defined as

##### Definition 2

*Distance between two (sets of) time series*\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n*and*\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n j\n \n \n \n:

Notice that\left(\right)close="">\n \n CCA\n (\n \n \n x\n \n \n t\n \n \n i\n \n \n ,\n \n \n x\n \n \n t\n \u2212\n 1\n \n \n j\n \n \n )\n \n is the Granger causality from time series\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n j\n \n \n \n to\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n. In the case of sets of time series, just replace\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n and\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n j\n \n \n \n by the set of time series\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n i\n \n \n \n and\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n j\n \n \n \n[20, 21]. Since absolute value of CCA ranges from zero to one and the higher the CCA, the higher is the quantity of information flow, it is possible to see that the higher the CCA, the shorter the distance is. Furthermore, it is necessary to point out that the average between\left(\right)close="">\n \n CCA\n (\n \n \n x\n \n \n t\n \n \n i\n \n \n ,\n \n \n x\n \n \n t\n \u2212\n 1\n \n \n j\n \n \n )\n \n and\left(\right)close="">\n \n CCA\n (\n \n \n x\n \n \n t\n \n \n j\n \n \n ,\n \n \n x\n \n \n t\n \u2212\n 1\n \n \n i\n \n \n )\n \n is calculated because the distance must be symmetric. The intuitive idea consists on the fact that the higher is the CCA coefficient, the lower is the distance between the time series (or sets of time series) independent of the direction of Granger causality.

Moreover, notice that the CCA is the Pearson correlation after dimension reduction, therefore,\left(\right)close="">\n \n dist\n (\n \n \n x\n \n \n t\n \n \n i\n \n \n ,\n \n \n x\n \n \n t\n \n \n j\n \n \n )\n \n satisfies three out of four criteria for distances: (i) non-negativity; (ii) identity of indiscernible; and (iii) symmetry; and does not satisfy the (iv) triangular inequality, therefore, Pearson correlation is not a real metric. However, it is commonly used as a distance measure in several gene expression data analysis[26, 27]. The main advantage with this definition of distance is the fact that it is possible to interpret the clustering process by a Granger causality concept.

Another necessary concept is the idea of degree of a time series\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n (vertex *v*_{
i
}) which can be defined as

##### Definition 3

*Degree of*
\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n
*is defined by:*

*where in-degree and out-degree are respectively*

Notice that in-degree and out-degree represent the total information flow that “enters” and “leaves” the vertex *v*_{
i
}, respectively. Therefore, the degree of vertex *v*_{
i
} contains the total information flow passing through vertex *v*_{
i
}.

Without loss of generality, it is possible to extend the concept of degree of a vertex *v*_{
i
} (time series\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n) to a set of time series (sub-network)\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n u\n \n \n \n, where *u* = 1,…,*k* and *k* is the number of sub-networks.

##### Definition 4

*Degree of sub-network*
\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n u\n \n \n \n
*is defined by:*

*where in-degree and out-degree are respectively*

Now, by using the definitions of distance and degrees for time series and sets of time series in terms of Granger causality, it is possible to develop a spectral clustering-based algorithm to identify sub-networks (set of time series that are highly connected within sets and poorly connected between sets) in the regulatory networks. The algorithm based on spectral clustering[25] is as follows:

**Input:** The *p* time series (\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n ;\n i\n =\n 1\n ,\n \u2026\n ,\n p\n \n) and the number *k* of sub-networks to construct.

**Step 1:** Let **W** be the (*p* × *p*) symmetric weighted adjacency matrix where\left(\right)close="">\n \n \n \n w\n \n \n i\n ,\n j\n \n \n =\n \n \n w\n \n \n j\n ,\n i\n \n \n =\n 1\n \u2212\n dist\n (\n \n \n x\n \n \n t\n \n \n i\n \n \n ;\n \n \n x\n \n \n t\n \n \n j\n \n \n )\n ,\n i\n ,\n j\n =\n 1\n ,\n \u2026\n ,\n p\n \n.

**Step 2:** Compute the non-normalized (*p* × *p*) Laplacian matrix **L** as (Mohar, 1991)

where **D** is the (*p* × *p*) diagonal matrix with the degrees *d*_{1},…,*d*_{
p
}(\left(\right)close="">\n \n degree\n (\n \n \n x\n \n \n t\n \n \n i\n \n \n )\n =\n \n \n d\n \n \n i\n \n \n ;\n i\n =\n 1\n ,\n \u2026\n ,\n p\n \n) on the diagonal.

**Step 3:** Compute the first *k* eigenvectors {**e**_{1},…,**e**_{
k
}} (corresponding to the *k* largest eigenvalues) of **L**.

**Step 4:** Let **U** ∈ *ℜ*^{p×k} be the matrix containing the vectors {**e**_{1},…,**e**_{
k
}} as columns.

**Step 5:** For *i* = 1,…,*p*, let **y**_{
i
} ∈ *ℜ*^{k} be the vector corresponding to the *i* th row of **U**.

**Step 6:** Cluster the points (**y**_{
i
})_{i=1,…,p} ∈ *ℜ*^{k} with the *k*-means algorithm into clusters {**X**_{1},…,**X**_{
k
}}. For *k*-means, one may select a large number of initial values to achieve (or to be closer) the global optimum configuration. In our simulations, we generated 100 different initial values.

**Output:** Sub-networks {**X**_{1},…,**X**_{
k
}}.

Notice that this clustering approach does not infer the entire structure of the network.

#### Estimation of the number of clusters

The method presented so far describes a framework for clustering genes (time series) using their topological proximity in terms of Granger causality.

Now, the challenge consists in determining the optimum number of sub-networks *k*. The choice of the number of sub-networks *k* is often difficult depending on what the researcher is interested in. In our specific problem, one is interested in identifying the clusters presenting dense connectivity within a cluster and sparse connectivity between clusters.

In order to determine the most appropriate number of clusters in this specific context, we used a variant of the silhouette method[28].

Let us first define the cluster index *s*(*i*) in the case of dissimilarities. Take any time series\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n in the data set, and denote by **A** the sub-network to which it has been assigned. When sub-network **A** contains other time series apart from\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n, then we can compute:\left(\right)close="">\n \n a\n (\n i\n )\n =\n dist\n (\n \n \n x\n \n \n t\n \n \n i\n \n \n ,\n A\n )\n \n, which is the average dissimilarity of\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n to **A**. Let us now consider any sub-network **C** which is different from **A** and compute:\left(\right)close="">\n \n dist\n (\n \n \n x\n \n \n t\n \n \n i\n \n \n ,\n C\n )\n \n which is the dissimilarity of\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n to **C**. After computing\left(\right)close="">\n \n dist\n (\n \n \n x\n \n \n t\n \n \n i\n \n \n ,\n C\n )\n \n for all sub-networks **C** ≠ **A**, we set the smallest of those numbers and denote it by\left(\right)close="">\n \n b\n (\n i\n )\n =\n mi\n \n \n n\n \n \n C\n \u2260\n A\n \n \n dist\n (\n \n \n x\n \n \n t\n \n \n i\n \n \n ,\n C\n )\n \n. The sub-network **B** for which this minimum value is attained (that is,\left(\right)close="">\n \n dist\n (\n \n \n x\n \n \n t\n \n \n i\n \n \n ,\n B\n )\n =\n b\n (\n i\n )\n )\n \n we call the neighbor sub-network, or cluster of\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n. The neighbor cluster would be the second-best cluster for time series\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n. In other words, if\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n could not belong to sub-network **A**, the best sub-network to belong to would be **B**. Therefore, *b*(*i*) is very useful to know the best alternative cluster for the time series in the network. Note that the construction of *b*(*i*) depends on the availability of other sub-networks apart from **A**, thus it is necessary to assume that there is more than one sub-network *k* within a given network[28].

After calculating *a*(*i*) and *b*(*i*), the cluster index *s*(*i*) can be obtained by combining them as follows:

Indeed, from the above definition we easily see that −1 ≤ *s*(*i*) ≤ 1 for each time series\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n. Therefore, there are at least three cases to be analyzed, namely, when *s*(*i*) ≈ 1 or *s*(*i*) ≈ 0 or *s*(*i*) ≈ −1. For cluster index *s*(*i*) to be close to one we require *a*(*i*) ≪ *b*(*i*). As *a*(*i*) is a measure of how dissimilar *i* is to its own sub-network, a small value means it is well matched. Furthermore, a large *b*(*i*) implies that *i* is badly matched to its neighboring sub-network. Thus, a cluster index *s*(*i*) close to one means that the gene is appropriately clustered. If *s*(*i*) is close to negative one, then by the same logic we see that\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n would be more appropriate if it was clustered in its neighboring sub-network. A cluster index *s*(*i*) near zero means that the gene is on the border of two sub-networks. In other words, the cluster index *s*(*i*) can be interpreted as the fitness of the time series\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n \n to the assigned sub-network.

The average cluster index *s*(*i*) of a sub-network is a measure of how tightly grouped all the genes in the sub-network are. Thus, the average cluster index *s*(*i*) of the entire dataset is a measure of how appropriately the genes have been clustered in a topological point of view and in terms of Granger causality.

#### Estimation of the number of clusters in biological data

In order to estimate the most appropriate number of sub-networks present in the data set, we estimate the average cluster index *s* of the entire dataset for each number of clusters *k*. When the number of identified sub-networks is equal or lower than the adequate number of sub-networks, the cluster index values are very similar. However, when the number of identified sub-networks becomes higher than the adequate number of sub-networks, the cluster index value *s* decreases abruptly. This is due to the fact that one of the highly connected sub-networks is split into two new sub-networks. Notice that these two new sub-networks present high connectivity between them because they are in fact, only one sub-network. In order to illustrate this event, see Figure2 for an example. In Figure2a, genes in cluster 1 are highly interconnected. Now, suppose that one wants to increase the number of clusters by splitting cluster 1 into two clusters namely clusters 1 and 5 (Figure2c). Notice that clusters 1 and 5 are highly connected between them. If the number of clusters is higher than the adequate number of clusters (four, in our case), the value *s* decreases substantially, since the Granger causality between clusters increases and the within cluster decreases. The breakpoint where the value *s* decreases abruptly can be used to determine the adequate number of sub-networks. In fact, this can be visually identified by analyzing the breakpoint at the plot similarly to the standard elbow method used in k-means. However, if one wants to determine the breakpoint in an objective manner, this can be done by adjusting two linear regressions, one with the first *q* dots and another with the remaining dots, thus identifying the breakpoint (the value *q*) that minimizes the sum of squared errors (Figure3).

### Network construction

The network connecting clusters is constructed following procedures previously described[20, 21]. Briefly, after Classification Expectation Maximization (CEM)[29] Principal Component Analysis (PCA) is used to remove redundancy and to extract the eigen-time series from each cluster. PCA allows us to keep only the most significant components leading to variability in the dataset, thus reducing the number of variables for subsequent processing. In this study, we retained only components accounting for more than 5% of the temporal variance in each cluster[22]. The eigen-time series are then clustered as described in the section Functional clustering and the network can be inferred by applying the method proposed by[20, 21].

The Granger causality between cluster is identified by:

where\left(\right)close="">\n \n \n \n \rho \n \n \u0302\n \n \n is the sample canonical correlation between the sets\left(\right)close="">\n \n \n \n X\n \n \n t\n \n \n i\n \n \n \n and\left(\right)close="">\n \n \n \n X\n \n \n t\n \u2212\n 1\n \n \n j\n \n \n \n partialized by all information contained in **X**_{
t
} minus the set\left(\right)close="">\n \n \n \n X\n \n \n t\n \u2212\n 1\n \n \n j\n \n \n \n.

Then, test

\left(\right)close="">\n \n \n \n H\n \n \n 0\n \n \n :\n CCA\n (\n \n \n X\n \n \n t\n \n \n i\n \n \n ,\n \n \n X\n \n \n t\n \u2212\n 1\n \n \n j\n \n \n |\n \n \n X\n \n \n t\n \n \n \u2216\n {\n \n \n X\n \n \n t\n \u2212\n 1\n \n \n j\n \n \n }\n )\n =\n \n \n \rho \n \n \u0302\n \n =\n 0\n \n (Granger non-causality)

\left(\right)close="">\n \n \n \n H\n \n \n 1\n \n \n :\n CCA\n (\n \n \n X\n \n \n t\n \n \n i\n \n \n ,\n \n \n X\n \n \n t\n \u2212\n 1\n \n \n j\n \n \n |\n \n \n X\n \n \n t\n \n \n \u2216\n {\n \n \n X\n \n \n t\n \u2212\n 1\n \n \n j\n \n \n }\n )\n =\n \n \n \rho \n \n \u0302\n \n \u2260\n 0\n \n (Granger causality) where H_{0} and H_{1} are the null and alternative hypothesis, respectively.

### Simulations

Four sets of Monte Carlo simulations were carried out in order to evaluate the proposed approach under controlled conditions. The first scenario represents four sub-networks without Granger causality between them (Figure4a). The second scenario consists of four sub-networks constituting a cyclic graph (Figure4b). The third scenario presents a feedback loop between sub-networks A and B (Figure4c). The fourth scenario is composed of a network with one sub-network (sub-network D) that only receives Granger causality and one sub-network (sub-network A) that only sends Granger causality (Figure4d). Since biological data usually possess several highly correlated genes (genes which hold the same information from a statistical stand point), we constructed 10 highly correlated time series for each\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n i\n \n \n ,\n i\n =\n 1\n ,\n \u2026\n ,\n 20\n \n. In other words,\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n 1\n \n \n \n is represented by 10 time series with correlation of 0.6 between them,\left(\right)close="">\n \n \n \n x\n \n \n t\n \n \n 2\n \n \n \n is represented by 10 time series with correlation of 0.6 between them and so on. Therefore, instead of 20 time series, each scenario is in fact composed of 200 time series.

For each scenario, time series lengths varied: 50, 75, 1000 and 200 time points. The number of repetitions for each scenario is 1,000. The synthetic gene expression time series data in sub-networks A, B, C and D were generated by the following equations described below.

Simulation 1:

Simulation 2:

Simulation 3:

Simulation 4:

where *β* = 0.6, *γ* = 0.3, *ε*_{i,t}∼*N*(0,**Σ**) with

and

for *i* = 1,…,20.

### Actual biological data

In order to illustrate an application of the proposed approach, a dataset collected by[30] was used. The work presents whole genome gene expression data during the cell division cycle of a human cancer cell line (HeLa) characterized using cDNA microarrays. The dataset contains three complete cell cycles of ∼16 hours each, with a total of 48 time points distributed at intervals of one hour. The full dataset is available at:http://genome-www.stanford.edu/Human-CellCycle/HeLa/.

In order to evaluate our proposed approach, we chose to analyze the same gene set examined in Figure5 of[10], which comprised a set of 50 genes.

## Results

### Simulated data

In order to study the properties of the proposed functional clustering method and to check its consistency, we performed four simulations with distinct network characteristics in terms of structure and Granger causality.

Table1 describes the frequency that each number of clusters was identified as optimal in each simulation and time series length. Notice that the accuracy of the method in identifying the correct number of clusters clearly converges to 100% as the time series length increases (the correct number of clusters is four for all the scenarios). The same result was obtained with varying numbers of sub-networks or when Granger causality within clusters increased, demonstrating the consistency of the method. Moreover, both the cluster indices value and the respective standard deviation for each simulation and time series length are described. The average cluster index value was calculated by using the value at the breakpoint as described in Figure3 in 1,000 repetitions. By analyzing Table1, it is possible to verify that the longer the time series length, the smaller are the standard deviations and the greater is the silhouette width demonstrating that the method is consistent.

Table2 describes the average of the frequency (in percentage) the time series were correctly clustered for each scenario and each time series length given the correct number of clusters. It is important to point out that the number of correctly classified time series increases as the time series length increases.

Table3 represents the frequency (in percentage) each edge of the simulated network was identified when the estimated number of clusters were correctly identified as four. The correctly identified edges are in bold. Since the p-value threshold was set to 0.05, it is expected to identify ≈5*%* of false positive edges where there is indeed no Granger causality. In fact, where there is no Granger causality, the rate of false positives was controlled to 5%, and where there is Granger causality, the number of identified edges is clearly higher than where there is no Granger causality.

### Biological data

By applying the method described in section Functional clustering to the biological dataset, the optimum number of sub-networks was identified as three. Notice in Figure5 that there is a clear breakpoint when the number of clusters is three.

Once clusters were obtained, the cluster-cluster network (Figure6) was modeled by applying the method described in[20, 21]. Two of the depicted clusters, clusters one and two, provide interesting material for biological interpretation. Genes belonging to cluster two highlight expected interconnections in cell cycle regulation. For instance, aberrant activation of signal transcription factors NF-*κ* B or STAT3, and alterations in p53 status, have each been reported to affect cell survival individually. The presence of the three genes in the same cluster is in agreement with a recent study which examined the hypothesis that alterations in a signal network involving NF-*κ* B, STAT3 and p53 could modulate expression of proapoptotic BAX and antiapoptotic BCL-XL proteins, promoting cell survival[31]. The authors show that over-expression of p53 together with inhibition of NF-*κ* B or STAT3 induced greater increase in the BAX/BCL-XL ratio than modulation of these transcription factors individually. As discussed earlier in this paper, this is a situation in which similar patterns of gene expression are not sufficient to comprehend the biological process.

In[10], a network depicting Granger interaction among genes from this same gene dataset was presented. The authors analyzed the network in the context of tumor progression and identified gene-gene connections associated with NF-*κ* B, p53, and STAT3. Here, cluster 1 groups not only NF-*κ* B, p53, and STAT3, but also the functionally associated gene BCL-XL, NF-*κ* B regulator A20 and targets IAP and i*κ* B*α*. The presence of NF-*κ* B and fibroblast growth factors (FGFs) and receptors (FGFRs) in the same cluster is also in agreement with the previous work. Members of the FGF family and NF-*κ* B have been shown to interact in various contexts and, despite distinct roles, are involved in cell proliferation, migration and survival[32, 33].

Even though MCL-1 and P21 play important roles in cell survival, and BAI1 is transcriptionally regulated by P53, the analysis run here clustered them separately from P53 containing cluster. This result suggests that, in the context of this dataset, their interaction is stronger with genes such as c-JUN, also functionally related to cell survival, proto-oncogene MET and tumor suppressor MASPIN, for instance. Also worth noticing is the interaction of this cluster with the two members of cluster 3: FGF5 and FOP. Like the other members of FGF family grouped in cluster 2, FGF5 is involved in cell survival activities, while FOP was originally discovered as a fusion partner with FGFR1 in oncoproteins that give raise to stem cell myeloproliferative disorders. It would be interesting to identify specific details regarding the intensity and direction of the information flow within this cluster for a clearer understanding of their relationship in the context of cell cycle progression.

## Discussions

Fujita *et al*.[20, 21] suggested both a concept of Granger causality for sets of time series and a method for its identification with a statistical test to control the rate of false positives. Although this method is useful for the identification of Granger causality between sets of time series in Bioinformatics and Neuroscience[22], the application was limited to pre-defined clusters, i.e., the time series composing each cluster needed to be previously known. We developed an objective method to define clusters based on the intuitive concept that a gene cluster should interact more intensely in terms of Granger causality within itself than with neighboring clusters.

Krishna *et al*.[34] proposed a Granger causality clustering method based on the structure of a pair-wise network. Their method consists in identifying pairwise Granger causality between gene expression time series and then, by applying the method proposed by Bader and Hogue (2003), to detect dense regions in the network. The difference between their approach and ours is that they take into account the number of edges, and the density of the network which is given by the number of estimated edges divided by the total number of possible edges. The presence of an edge is determined by the p-value’s threshold. Notice that depending on the threshold, the results can change. In our framework, we take into account the weight of Granger causality between sets of time series in order to identify how close two sets are. Consequently, it is possible to obtain a notion of distance between two clusters based on Granger causality, i.e., a continuous measure (distance in terms of Granger causality) instead of a discrete measure (presence or absence of an edge). Moreover, by using the concept of Granger causality between sets of time series proposed by[20], the concept of density of a network can be easily defined in terms of Granger causality instead of a density based on the number of edges as proposed by[34].

A disadvantage of our method is that it cannot be applied for very large datasets. The larger is the number of time series (genes), or the higher the order of the autoregressive process to be analyzed, the higher the chance to generate non-invertible covariance matrices in the calculation of distance (definition 2) and degree (definition 4) between clusters. We believe that this drawback can be overcome through sparse canonical correlation analysis[35], recently proposed in the literature. However, this topic deserves further studies before it can be used in both clustering and identification of Granger causality between sets of time series, since penalized methods relying on L1 penalization[35] or kernel[36] may present biased estimators.

We only analyzed the autoregressive process of order one because gene expression time series data, possibly due to experimental limitations, are typically not large. However, if one is interested in analyzing greater orders, one minus the maximum canonical correlation analysis value among all the tested autoregressive orders can be used as the distance measure between two time series.

The clustering algorithm used here is based on the well-known spectral clustering. Although results were satisfactory, other graph clustering methods may be used. The normalized cuts algorithm proposed by[37], for instance, presents better results in non Gaussian data sets.

Finally, which biological process underlie time series datasets correlation, remains a difficult question to be answered. Studies suggest that correlated genes may belong to common pathways or present the same biological function. However, it is also known that methods based exclusively on correlation cannot reconstruct entire gene networks. Further studies in the field of systems biology might be able to answer this question in the future.

## Conclusions

We propose a time series clustering approach based on Granger causality and a method to determine the number of clusters that best fit the data. This method consists of (1) the definition of degree and distance, usually used in graph theory but now generalized for time series data analysis in terms of Granger causality; (2) a clustering algorithm based on spectral clustering and (3) a criterion to determine the number of clusters. We demonstrate, by simulations, that our approach is consistent even when the number of genes is greater than the time series’ length.

We believe that this approach can be useful to understand how gene expression time series relate to each other, and therefore help in the functional interpretation of data.

## References

- 1.
Ng SK, McLachlan GJ, Wang K, Jones LB-T, Ng S-W: A mixture model with random-effects components for clustering correlated gene-expression profiles. Bioinformatics. 2006, 22: 1745-1752. 10.1093/bioinformatics/btl165.

- 2.
Segal E, Shapira M, Regev A, Pe’er D, Botstein D, Koller D, Friedman N: Module networks: identifying regulatory modules and their condition-specific regulators from gene expression data. Nat Genet. 2003, 34: 166-176. 10.1038/ng1165.

- 3.
Shiraishi Y, et al.: Inferring cluster-based networks from differently stimulated multiple time-course gene expression data. Bioinformatics. 2010, 26: 1073-1081. 10.1093/bioinformatics/btq094.

- 4.
Stuart JM, Segal E, Koller D, Kim SK: A gene co-expression network for global discovery of conserved genetics modules. Science. 2003, 302: 249-55. 10.1126/science.1087447.

- 5.
Yamaguchi R, Yoshida R, Imoto S, Higuchi T, Miyano S: Finding module-based networks with state-space models - mining high-dimensional and short time-course gene expression data. IEEE Signal Process Mag. 2007, 24: 37-46.

- 6.
Granger CWJ: Investigating causal relationships by econometric models and cross-spectral methods. Econometrica. 1969, 37: 424-438. 10.2307/1912791.

- 7.
Ahmed HA, Mahanta P, Bhattacharyya DK, Kalita JK: GERC: tree based clustering for gene expression data. 11th IEEE Int Conference Bioinf Bioeng. 2011, 299-302.

- 8.
Bandyopadhyay S, Bhattacharyya M: A biologically inspired measure for coexpression analysis. IEEE/ACM Trans comput biol bioinf. 2011, 8: 929-942.

- 9.
Fujita A, Sato JR, Garay-Malpartida HM, Morettin PA, Sogayar MC, Ferreira CE: Time-varying modeling of gene expression regulatory networks using wavelet dynamic vector autoregressive method. Bioinformatics. 2007a, 23: 16253-1630.

- 10.
Fujita A, Sato JR, Garay-Malpartida HM, Yamaguchi R, Miyano S, Sogayar MC, Ferreira CE: Modeling gene expression regulatory networks with the sparse vector autoregressive model. BMC Syst Biol. 2007b, 1: 39-10.1186/1752-0509-1-39.

- 11.
Fujita A, Sato JR, Garay-Malpartida HM, Sogayar MC, Ferreira CE, Miyano S: Modeling nonlinear gene regulatory networks from time-series gene expression data. J Bioinf Comput Biol. 2008, 6: 961-79. 10.1142/S0219720008003746.

- 12.
Fujita A, Patriota AG, Sato JR, Miyano S: The impact of measurement error in the identification of regulatory networks. BMC Bioinf. 2009, 10: 412-10.1186/1471-2105-10-412.

- 13.
Guo S, Wu J, Ding M, Feng J: Uncovering interactions in the frequency domain. PLoS Comput Biol. 2008, 4: e1000087-10.1371/journal.pcbi.1000087.

- 14.
Kojima K, Fujita A, Shimamura T, Imoto S, Miyano S: Estimation of nonlinear gene regulatory networks via L1 regularized NVAR from time series gene expression data. Genome Informatics. 2008, 20: 37-51.

- 15.
Lozano AC, Abe N, Liu Y, Rosset S: Grouped graphical Granger modeling for gene expression regulatory networks discovery. Bioinformatics. 2009, 25: i110-i118. 10.1093/bioinformatics/btp199.

- 16.
Mukhopadhyay ND, Chatterjee S: Causality and pathway search in microarray time series experiments. Bioinformatics. 2007, 23: 442-449. 10.1093/bioinformatics/btl598.

- 17.
Nagarajan R: A note on inferring acyclic network structures using Granger causality tests. Int J Biostatistics. 2009, 5: 10-

- 18.
Shojaie A, Michailidis G: Discovering graphical Granger causality using the truncating lasso penalty. Bioinformatics. 2010, 26: i517-i523. 10.1093/bioinformatics/btq377.

- 19.
Baccala LA, Sameshima K: Partial directed coherence: A new concept in neural structure determination. Biol Cybernetics. 2001, 84: 463-474. 10.1007/PL00007990.

- 20.
Fujita A, Sato JR, Kojima K, Gomes LR, Nagasaki M, Sogayar MC, Miyano S: Identification of Granger causality between gene sets. J Bioinf Comput Biol. 2010a, 8: 679-701. 10.1142/S0219720010004860.

- 21.
Fujita A, Kojima K, Patriota AG, Sato JR, Severino P, Miyano S: A fast and robust statistical test based on Likelihood ratio with Bartlett correction to identify Granger causality between gene sets. Bioinformatics. 2010b, 26: 2349-2351. 10.1093/bioinformatics/btq427.

- 22.
Sato JR, Fujita A, Cardoso EF, Thomaz CE, Brammer MJ, Amaro E: Analyzing the connectivity between regions of interest: An approach based on cluster Granger causality for fMRI data analysis. NeuroImage. 2010, 52: 1444-1455. 10.1016/j.neuroimage.2010.05.022.

- 23.
Tononi G, McIntosh AR, Russel DP, Edelman GM: Functional clustering: identifying strongly interactive brain regions in neuroimaging data. NeuroImage. 1998, 7: 133-149. 10.1006/nimg.1997.0313.

- 24.
Edachery J, Sen A, Brandenburg F: Graph clustering using distance-k cliques. Proceedings of the Seventh International Symposium on Graph Drawing. Lecture Notes in Computer Science. vol. Edited by: Smith Y. 1731, Berlin, Heidelberg, Germany: Springer-Verlag GmbH, 1999-1999.

- 25.
Ng A, et al.: Advances in Neural Information Processing Systems. 2002, New York: MIT Press

- 26.
Bhattacharya A, De RK: Divisive correlation clustering algorithm (DCCA) for grouping of genes: detecting varying patterns in expression profiles. Bioinformatics. 2008, 24: 1359-1366. 10.1093/bioinformatics/btn133.

- 27.
Ihmels J, Bergmann S, Berman J, Barkai N: Comparative gene expression analysis by differential clustering approach: applications to the Candida albicans transcription program. PLoS Genet. 2005, 1: e39-10.1371/journal.pgen.0010039.

- 28.
Rousseeuw PJ: Silhouettes: a graphical aid to the interpretation and validation of cluster analysis. J Comput Appl Math. 1987, 20: 53-65.

- 29.
Celeux G, Govaert G: A classification EM algorithm for clustering and two stochastic versions. Comput Stat Data Anal. 1992, 14: 315-332. 10.1016/0167-9473(92)90042-E.

- 30.
Whitfield ML, Sherlock G, Saldanha AJ, Murray JI, Ball CA, Alexander KE, Matese JC, Perou CM, Hurt MM, Brown PO, Botstein D: Identification of genes periodically expressed in the human cell cycle and their expression in tumors. Mol Biol Cell. 2002, 13: 1977-2000. 10.1091/mbc.02-02-0030..

- 31.
Lee TL, Yeh J, Friedman J, Yan B, Yang X, Yeh NT, Waes CV, Chen Z: A signal network involving coactivated NF-κB and STAT3 and altered p53 modulates BAX/BCL-XL expression and promotes cell survival of head and neck squamous cell carcinomas. Int J Cancer. 2008, 122: 1987-1998. 10.1002/ijc.23324.

- 32.
Lungu G, Covaleda L, Mendes O, Martini-Stoica H, Stoica G: FGF-1-induced matrix metalloproteinase-9 expression in breast cancer cells is mediated by increased activities of NF-κB and activating protein-1. Mol Carcinog. 2008, 47: 424-435. 10.1002/mc.20398.

- 33.
Drafahl KA, McAndrew CW, Meyer AN, Haas M, Donoghue DJ: The Receptor Tyrosine Kinase FGFR4 Negatively Regulates NF-kappaB Signaling. PLoS ONE. 2010, 5: e14412-10.1371/journal.pone.0014412.

- 34.
Krishna R, Li CT, Buchanan-Wollaston V: A temporal precedence based clustering method for gene expression microarray data. BMC Bioinf. 2010, 11: 68-10.1186/1471-2105-11-68.

- 35.
Witten DM, Tibshirani R, Hastie T: A penalized matrix decomposition, with applications to sparse principal components and canonical correlation analysis. Biostatistics. 2010, 10: 515-534.

- 36.
Hardoon DR, Shawe-Taylor J: Sparse canonical correlation analysis. Machine Learning. 2011, 83: 331-353. 10.1007/s10994-010-5222-7.

- 37.
Shi J, Malik J: Normalized cuts and image segmentation. IEEE Trans Pattern Anal Machine Intelligence. 2000, 22: 888-905. 10.1109/34.868688.

## Acknowledgements

The supercomputing resource was provided by Human Genome Center (Univ. of Tokyo). This work was supported by FAPESP and CNPq - Brazil and RIKEN - Japan.

## Author information

### Affiliations

### Corresponding author

## Additional information

### Competing interests

The authors declare that they have no competing interests.

### Authors’ contributions

AF has made substantial contributions to the conception and design of the study, analysis and interpretation of data. KK, AGP and JRS contributed to the analysis and interpretation of mathematical results. PS contributed to the analysis and interpretation of biological data. AF and PS have been involved in drafting of the manuscript. SM directed the work. All authors read approved the final manuscript.

## Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

## Rights and permissions

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

## About this article

### Cite this article

Fujita, A., Severino, P., Kojima, K. *et al.* Functional clustering of time series gene expression data by Granger causality.
*BMC Syst Biol* **6, **137 (2012). https://doi.org/10.1186/1752-0509-6-137

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/1752-0509-6-137

### Keywords

- Time Series
- Granger Causality
- Canonical Correlation Analysis
- Spectral Cluster
- Functional Cluster