# Clustering of time-course gene expression profiles using normal mixture models with autoregressive random effects

- Kui Wang
^{1}, - Shu Kay Ng
^{2}and - Geoffrey J McLachlan
^{1}Email author

**13**:300

https://doi.org/10.1186/1471-2105-13-300

© Wang et al.; licensee BioMed Central Ltd. 2012

**Received: **30 January 2012

**Accepted: **7 November 2012

**Published: **14 November 2012

## Abstract

### Background

Time-course gene expression data such as yeast cell cycle data may be periodically expressed. To cluster such data, currently used Fourier series approximations of periodic gene expressions have been found not to be sufficiently adequate to model the complexity of the time-course data, partly due to their ignoring the dependence between the expression measurements over time and the correlation among gene expression profiles. We further investigate the advantages and limitations of available models in the literature and propose a new mixture model with autoregressive random effects of the first order for the clustering of time-course gene-expression profiles. Some simulations and real examples are given to demonstrate the usefulness of the proposed models.

### Results

We illustrate the applicability of our new model using synthetic and real time-course datasets. We show that our model outperforms existing models to provide more reliable and robust clustering of time-course data. Our model provides superior results when genetic profiles are correlated. It also gives comparable results when the correlation between the gene profiles is weak. In the applications to real time-course data, relevant clusters of coregulated genes are obtained, which are supported by gene-function annotation databases.

### Conclusions

Our new model under our extension of the EMMIX-WIRE procedure is more reliable and robust for clustering time-course data because it adopts a random effects model that allows for the correlation among observations at different time points. It postulates gene-specific random effects with an autocorrelation variance structure that models coregulation within the clusters. The developed R package is flexible in its specification of the random effects through user-input parameters that enables improved modelling and consequent clustering of time-course data.

### Keywords

Time-course data Mixtures of linear mixed models Autoregressive random effects EMMIX-WIRE procedure## Background

DNA microarray analysis has emerged as a leading technology to enhance our understanding of gene regulation and function in cellular mechanism controls on a genomic scale. This technology has advanced to unravel the genetic machinery of biological rhythms by collecting massive gene-expression data in a time course. Time-course gene expression data such as yeast cell cycle data [1] appear to be periodically expressed. To associate the profile of gene expression with a physiological function of interest, it is crucial to cluster the types of gene expression on the basis of their periodic patterns. The identification of co-expressed genes also facilitates the prediction of response to treatment or toxic compounds [2]. Statistical modelling and algorithms play a central role in cataloguing dynamic gene-expression profiles.

Various computational models have been developed for gene clustering based on cross-sectional microarray data [3–5]. Also, considerable attention has been paid to methodological derivations for detecting temporal patterns of gene expression in a time course based on functional principal component analysis or mixture model analysis [6–15], including the applications to identify differentially expressed genes over time [16, 17].

- (1)
there are no replications on any particular entity specifically identified as such and

- (2)
all the observations on the entities are independent of one another,

are violated, multivariate normal mixture models may not be adequate. For example, condition (2) will not hold for the clustering of gene profiles, since not all the genes are independently distributed, and condition (1) will generally not hold either as the gene profiles may be measured over time or on technical replicates. While this correlated structure can be incorporated into the normal mixture model by appropriate specification of the component-covariance matrices, it is difficult to fit the model under such specifications. For example, the M-step may not exist in closed form [19].

Accordingly, Ng et al. [13] have developed the procedure called EMMIX-WIRE (^{2}**EM**-based **MIX**ture analysis **Wi**th **R**andom Effects) to handle the clustering of correlated data that may be replicated. They adopted a mixture of linear mixed models to specify the correlation structure between the variables and to allow for correlations among the observations. It also enables covariate information to be incorporated into the clustering process [13]. Proceeding conditionally on the tissue-specific random effects as formulated in [13], the E- and M-steps can be implemented in closed form. In particular, an approximation to the E-step by carrying out time-consuming Monte Carlo methods is not required. A probabilistic or an outright clustering of the genes into g components can be obtained, based on the estimated posterior probabilities of component membership given the profile vectors and the estimated tissue-specific random effects; see [13].

*k*th order Fourier series expansion is given as

where *a*_{0} is the average value of *g*_{
k
}(*t*). The other coefficients *a*_{
k
}and *b*_{
k
} are the amplitude coefficients that determine the times at which the gene achieves peak and trough expression levels, respectively, and *ω* is the period of the signal of gene expression. While the time-dependent expression value of a gene can be adequately modelled by a Fourier series approximation of the first three orders [14], recent results [13, 14] demonstrate that the first-order Fourier series approximation is sufficient to provide good results in terms of clustering the time-course data into meaningful functional groups. Alternatively, the likelihood ratio test may be used to determine the order of the Fourier series approximation within the nested regression models.

The EMMIX-WIRE procedure of Ng et al. [13] is developed primarily for clustering genes from general microarray experimental designs. On the other hand, Kim et al. [14] focus specifically on clustering periodic gene profiles and propose a special covariance structure to incorporate the correlation between observations at different time points. They also review current methods and compare their method with that of Ng et al. [13]. More recently, Scharl et al. [22] use integrated autoregressive (AR) models to create cluster centers in their simulation study of mixtures of regression models for time-course gene expression data through the new version of software FlexMix in Leisch [23]. Wang and Fan [24] propose mixtures of multivariate linear mixed models with autoregressive errors to analyse longitudinal data. In this paper, we propose a new EMMIX-WIRE normal mixture regression model with AR(1) random effects for the clustering of time-course data. In particular, the model accounts for the correlation among gene profiles and models the dependence between expressions over time via AR(1) random effects.

The paper is organized as follow: we first present the development of the extension of the EMMIX-WIRE model to incorporate AR(1) random effects which are fitted under the EM framework. Then in the following section, we conduct a simulation study and the data analysis with three real yeast cell datasets. In the last section some discussion is provided. The technical details of the derivations are provided in the Additional file 1.

## Methods

### EMMIX-WIRE Model with AR(1) Random Effects

*X*denote the design matrix and

*β*the associated vector of regression coefficients for the fixed effects. In the specification of the mixture of mixed linear components as adopted by Ng et al. [13], the vector y

_{ j }for the

*j*th gene conditional on its membership of the

*h*th component of the mixture is expressed as

*β*

_{ h }is a (2

*k*+ 1) vector containing unknown parameters

*a*

_{0}

*a*

_{1},…,

*a*

_{ k }

*b*

_{1},…,

*b*

_{ k }; see (1),

*u*

_{ jh }=(

*u*

_{jh1},…,

*u*

_{ jhm })

^{ T }and

*v*

_{ h }=(

*v*

_{h1},…,

*v*

_{ hm })

^{ T }are the random effects, where

*m*is the number of time points. In (2),

*Z*

_{1}and

*Z*

_{2}are

*m*×

*m*identity matrices. Without loss of generality, we assume

*ε*

_{ jh }and

*v*

_{ h }to be independent and normally distributed,

*N*(0,

*Ω*) and

*N*(0,

*D*), independent of

*u*

_{ jh }. To further account for the time dependent random gene effects, a first-order autoregressive correlation structure is adopted for the gene profiles, so that

*u*

_{ jh }follows a

*N*(0,

*θ*

^{2}

*A*(

*ρ*)) distribution, where

*A*(

*ρ*) can be expressed as

where *I*, *J*, and *K* are all *m*×*m*matrices. Specifically, *I* is the identity matrix; *J* has its sub-diagonal entries ones and zeros elsewhere, and *K* takes on the value 1 at the first and last element of its principal diagonal and zeros elsewhere. The expressions (4) and (5) are needed in the derivation of the maximum likelihood estimates of the parameters.

The assumptions (2) and (3) imply that our new model assumes an autocorrelation covariance structure under which measurements at each time point have a larger variance compared to the model of Kim et al. [14] under an AR(1) autocorrelation residual structure.

*g*-component mixture with probability density function (pdf) as

*f*

_{ h }is the component-pdf of the multivariate normal distribution with mean vector

*X*

_{ h }

*β*

_{ h }and covariance matrix

The vector of unknown parameters is denoted by *Ψ*and can be estimated by maximum likelihood via the EM algorithm.

### Maximum likelihood via the EM algorithm

*y*=(

*y*

_{1},

*y*

_{2},…,

*y*

_{ n })

^{ T }is augmented by the unobservable component labels,

*z*

_{1},

*z*

_{2},…,

*z*

_{ n }of

*y*

_{1},

*y*

_{2},…,

*y*

_{ n }, where

*z*

_{ j }is the

*g*-dimensional vector with

*h*th element

*z*

_{ jh }, which is equal to 1 if

*y*

_{ j }comes from the

*h*th component of the mixture, and is zero otherwise. These unobservable values are considered to be missing data and are included in the so-called complete-data vector. Finally, we take the random effect vectors

*u*

_{ jh }and

*v*

_{ h }(

*j*=1,…,

*n*;

*h*=1,…,

*g*), to be missing and include them too in the complete-data vector. Now the so-called complete-data log-likelihood

*l*

_{ c }is the sum of four terms

*l*

_{ c }=

*l*

_{1}+

*l*

_{2}+

*l*

_{3}+

*l*

_{4}, where

*z*

_{ jh }, and where

*l*

_{2}is the logarithm of the density function of

*y*conditional on

*u*

_{ jh },

*v*

_{ h }, and

*z*

_{ jh }=1, and

*l*

_{3}and

*l*

_{4}is the logarithm of the density function of

*u*and

*v*, respectively, given

*z*

_{ jh }=1,

To maximize the complete-data log likelihood *l*_{
c
}, the above decomposition implies that each of *l*_{1},*l*_{2},*l*_{3}, and *l*_{4} can be maximized separately. The EM algorithm proceeds iteratively until the difference between successive values of the log likelihood is less than some specified threshold. All major derivations are given in the Additional file 1.

## Results

### Simulation study

To illustrate the performance of the proposed model, we present a simulation study based on synthetic time-course data. In the following simulation, we consider an autocorrelation dependence for the periodic expressions and compare our model to that of Kim et al. [14]. Synthetic time-course data from three different parametric models (the full model under our new extended EMMIX-WIRE approach denoted by EM-W in the tables, the extended model of Qin and Self [6], and the model of Kim et al. [14]), assuming a first-order Fourier series of periodicity, are considered in the simulation study. Within each model, we consider two different settings of *θ*^{2}corresponding to low and high autocorrelation among the periodic gene expressions. We also assume that *Ω*and *D* are diagonal matrices, where the common diagonal elements are represented by *σ*^{2} and *d*^{2}, respectively.

*.*00001, with the maximum iteration of 1000. For our model, we started from the true partition; for the model of Kim et al. [14], we started from the true values of the parameters. Alternatively, initialization procedures have been considered for mixtures of regression models with and without random effects [22]. For the comparison, we consider the misclassified error rate, the Rand Index, and the adjusted Rand Index [25], where the latter two assess the degree of agreement between the partition and the true clusters of genes. A larger (adjusted) Rand Index indicates a higher level of agreement.

**Bias and RMSE in brackets from 1000 simulated datasets (generated from new EMMIX-WIRE (EM-W) model with**
${\theta}_{h}^{2}$
**equal to 0.5)**

First component | Second component | Third component | ||||
---|---|---|---|---|---|---|

Parameters | EM-W | Kim | EM-W | Kim | EM-W | Kim |

| -0.002 | 0.016 | -0.009 | -0.001 | 0.011 | -0.015 |

0.1,0.315) | (0.045) | (0.052) | (0.033) | (0.029) | (0.051) | (0.051) |

| 0.002 | 0.008 | -0.006 | -0.036 | -0.003 | -0.009 |

1,0.2) | (0.135) | (0.137) | (0.175) | (0.186) | (0.186) | (0.182) |

| -0.001 | -0.018 | 0.024 | 0.004 | 0.004 | -0.001 |

1,0.02) | (0.119) | (0.124) | (0.272) | (0.160) | (0.175) | (0.152) |

| 0.009 | -0.015 | -0.164 | 0.031 | 0.027 | 0.008 |

0.9,0.01) | (0.119) | (0.132) | (0.223) | (0.160) | (0.149) | (0.183) |

| 0.055 | 1.543 | 0.089 | 1.346 | 0.110 | 1.443 |

0.5,0.5) | (0.082) | (1.547) | (0.164) | (1.349) | (0.152) | (1.446) |

| -0.023 | -0.395 | -0.043 | -0.372 | -0.043 | -0.392 |

0.6,0.6) | (0.036) | (0.397) | (0.082) | (0.374) | (0.058) | (0.394) |

| 0.0171 | -0.017 | 0.011 | |||

1.0,1.0) | (0.055) | (0.127) | (0.088) | |||

| -0.112 | -0.091 | -0.118 | |||

0.2,0.3) | (0.145) | (0.102) | (0.134) | |||

EM-W | Kim | Proportion | ||||

Mean (RMSE) SD | Mean (RMSE) SD | (EM-W is better) | ||||

Error rate | 0.036 (0.044) 0.026 | 0.099 (0.108) 0.044 | 986/1000 | |||

Rand | 0.954 (0.056) 0.032 | 0.863 (0.149) 0.060 | 993/1000 | |||

Adjusted | 0.906 (0.113) 0.064 | 0.726 (0.299) 0.120 | 993/1000 |

**Bias and RMSE in brackets from 1000 simulated datasets (generated from new EMMIX-WIRE (EM-W) model with**
${\theta}_{h}^{2}$
**equal to 1.3**

First component | Second component | Third component | ||||
---|---|---|---|---|---|---|

Parameters | EM-W | Kim | EM-W | Kim | EM-W | Kim |

| -0.006 | 0.035 | -0.009 | -0.002 | 0.015 | -0.033 |

0.1,0.315) | (0.061) | (0.080) | (0.047) | (0.045) | (0.070) | (0.074) |

| 0.001 | 0.018 | -0.004 | -0.069 | -0.00 | -0.014 |

1,0.2) | (0.137) | (0.147) | (0.173) | (0.197) | (0.186) | (0.178) |

| 0.010 | -0.062 | 0.017 | -0.031 | 0.001 | -0.002 |

1,0.02) | (0.162) | (0.227) | (0.388) | (0.236) | (0.230) | (0.199) |

| 0.009 | -0.042 | -0.180 | 0.073 | 0.032 | 0.009 |

0.9,0.01) | (0.124) | (0.166) | (0.235) | (0.188) | (0.163) | (0.213) |

| -0.042 | 1.671 | -0.030 | 1.449 | 0.008 | 1.549 |

1.3,1.3) | (0.097) | (1.677) | (0.223) | (1.460) | (0.153) | (1.556) |

| 0.009 | -0.249 | -0.001 | -0.228 | 0.002 | -0.250 |

0.6,0.6) | (0.020) | (0.251) | (0.055) | (0.235) | (0.025) | (0.252) |

| 0.131 | 0.121 | 0.141 | |||

1.0,1.0) | (0.155) | (0.219) | (0.186) | |||

| -0.151 | -0.124 | -0.160 | |||

0.2,0.3) | (0.172) | (0.129) | (0.168) | |||

EM-W | Kim | Proportion | ||||

Mean (RMSE) SD | Mean (RMSE) SD | (EM-W is better) | ||||

Error rate | 0.094 (0.102) 0.039 | 0.184 (0.192) 0.053 | 988/1000 | |||

Rand | 0.881 (0.129) 0.049 | 0.758 (0.252) 0.069 | 1000/1000 | |||

Adjusted | 0.760 (0.259) 0.097 | 0.518 (0.500) 0.133 | 1000/1000 |

**Bias and RMSE in brackets from 1000 simlated datasets (generated from new EMMIX-WIRE (EM-W) model with**
${\theta}_{h}^{2}$
**equal to 0.5 and**
d
^{
2
}
**equal to 0)**

First component | Second component | Third component | ||||
---|---|---|---|---|---|---|

Parameters | EM-W | Kim | EM-W | Kim | EM-W | Kim |

| 0.001 | 0.008 | -0.001 | -0.003 | -0.001 | -0.005 |

0.1,0.315) | (0.009) | (0.012) | (0.008) | (0.008) | (0.010) | (0.011) |

| 0.001 | 0.008 | -0.001 | -0.018 | 0.003 | -0.014 |

1,0.2) | (0.017) | (0.019) | (0.018) | (0.026) | (0.016) | (0.016) |

| -0.002 | -0.023 | -0.001 | -0.005 | 0.003 | -0.006 |

1,0.02) | (0.049) | (0.060) | (0.059) | (0.062) | (0.049) | (0.049) |

| -0.001 | -0.014 | 0.016 | 0.019 | 0.002 | 0.004 |

0.9,0.01) | (0.026) | (0.031) | (0.033) | (0.038) | (0.032) | (0.033) |

| 0.071 | 1.162 | 0.081 | 1.158 | 0.078 | 1.159 |

0.5,0.5) | (0.081) | (1.162) | (0.119) | (1.160) | (0.090) | (1.159) |

| -0.032 | -0.337 | -0.037 | -0.339 | -0.036 | -0.339 |

0.6,0.6) | (0.038) | (0.337) | (0.062) | (0.340) | (0.045) | (0.340) |

| -0.059 | -0.069 | -0.064 | |||

1.0,1.0) | (0.068) | (0.106) | (0.077) | |||

| 0 | 0.001 | 0.000 | |||

0,0) | (0.000) | (0.001) | (0.001) | |||

EM-W | Kim | Proportion | ||||

Mean (RMSE) SD | Mean (RMSE) SD | (EM-W is better) | ||||

Error rate | 0.078 (0.078) 0.008 | 0.081 (0.081) 0.009 | 738/1000 | |||

Rand | 0.891 (0.110) 0.012 | 0.886 (0.115) 0.012 | 806/1000 | |||

Adjusted | 0.780 (0.222) 0.023 | 0.769 (0.232) 0.025 | 802/1000 |

Specifically, we first investigate the performance of our new extended EMMIX-WIRE model and that of Kim et al. [14] when the data are generated from the extended EMMIX-WIRE model, in which gene expressions within a cluster are correlated. As listed in Tables 1 and 2, the estimates of the parameters *p* *a*_{0}*a*_{1}*b*_{1}*θ*^{2}*ρ*, and *σ*^{2} in the proposed model are approximately unbiased, except for *d*^{2}, which is slightly underestimated. In contrast, the model of Kim et al. [14] fails to capture the contributions from gene-specific and tissue-specific effects on the autocorrelation among periodic gene expressions at each time point, and thus overestimates the correlation between different time points for each gene. Their method therefore leads to an inferior clustering performance in terms of higher error rates and smaller Rand Indices. From Tables 1 and 2, our proposed method performs better in more than 98% out of 1000 simulated datasets. It also has smaller RMSEs (relative to 0 for error rates and to 1 for Rand Indices) and the difference in performance is significant based on the standard deviation (SD) of the error rates and Rand Indices.

*d*

^{2}= 0), where gene expressions are independent. The results are presented in Tables 3 and 4, where it can be seen that our method provides essentially unbiased estimates of all the parameters. On the other hand, the model of Kim et al. [14] still overestimates the residual variance at different time points and underestimates the correlation between different time points for each gene, as it fails to capture the contribution from gene-specific effects to the autocorrelation among periodic gene expressions at each time point. Their method again produces slightly larger error rates and smaller Rand Indices, though the difference is not significant. From Tables 3 and 4, the proposed method indeed performs better with slightly larger Rand Indices in more than 80% of 1000 simulated datasets.

**Bias and RMSE in brackets from 100 simulated datasets (generated from new EMMIX-WIRE (EM-W) model with**
${\theta}_{h}^{2}$
**equal to 1.3 and**
d
^{
2
}
**equal to 0)**

First component | Second component | Third component | ||||
---|---|---|---|---|---|---|

Parameters | EM-W | Kim | EM-W | Kim | EM-W | Kim |

| -0.001 | 0.024 | 0.002 | -0.005 | -0.001 | -0.019 |

0.1,0.315) | (0.014) | (0.029) | (0.016) | (0.017) | (0.017) | (0.026) |

| -0.001 | 0.018 | 0.003 | -0.046 | 0.000 | -0.005 |

1,0.2) | (0.027) | (0.035) | (0.026) | (0.053) | (0.021) | (0.021) |

| 0.001 | -0.068 | 0.005 | -0.041 | 0.001 | 0.008 |

1,0.02) | (0.085) | (0.146) | (0.108) | (0.127) | (0.086) | (0.085) |

| 0.003 | -0.031 | 0.005 | 0.047 | 0.002 | 0.004 |

0.9,0.01) | (0.042) | (0.063) | (0.054) | (0.072) | (0.050) | (0.054) |

| -0.059 | 1.254 | -0.076 | 1.251 | -0.052 | 1.242 |

1.3,1.3) | (0.087) | (1.254) | (0.178) | (1.257) | (0.104) | (1.243) |

| 0.012 | -0.198 | -0.013 | -0.201 | 0.009 | -0.203 |

0.6,0.6) | (0.019) | (0.199) | (0.039) | (0.206) | (0.023) | (0.204) |

| 0.046 | 0.056 | 0.039 | |||

1.0,1.0) | (0.070) | (0.145) | (0.084) | |||

| 0.000 | 0.001 | 0.000 | |||

0.,0.) | (0.000) | (0.001) | (0.000) | |||

EM-W | Kim | Proportion | ||||

Mean (RMSE) SD | Mean (RMSE) SD | (EM-W is better) | ||||

Error rate | 0.154 (0.154) 0.011 | 0.161 (0.162) 0.012 | 835/1000 | |||

Rand | 0.796 (0.204) 0.014 | 0.783 (0.217) 0.016 | 912/1000 | |||

Adjusted | 0.590 (0.411) 0.028 | 0.566 (0.435) 0.031 | 896/1000 |

**Bias and RMSE in brackets from 1000 simulated datasets (generated from** [14] **with** ${\theta}_{h}^{2}$ **equal to 0.5)**

First component | Second component | Third component | ||||
---|---|---|---|---|---|---|

Parameters | EM-W | Kim | EM-W | Kim | EM-W | Kim |

| -0.003 | 0.000 | -0.008 | 0.001 | 0.010 | -0.000 |

0.1,0.315) | (0.004) | (0.003) | (0.023) | (0.003) | (0.024) | (0.004) |

| 0.002 | 0.000 | 0.003 | 0.001 | 0.001 | 0.001 |

1,0.2) | (0.013) | (0.013) | (0.010) | (0.010) | (0.010) | (0.010) |

| 0.015 | 0.001 | -0.236 | -0.002 | 0.047 | 0.003 |

1,0.02) | (0.041) | (0.036) | (0.333) | (0.037) | (0.073) | (0.035) |

| 0.014 | -0.000 | -0.308 | -0.001 | 0.058 | 0.001 |

0.9,0.01) | (0.026) | (0.021) | (0.345) | (0.023) | (0.067) | (0.025) |

| -0.034 | -0.000 | -0.006 | -0.001 | -0.021 | -0.000 |

0.5,0.5) | (0.036) | (0.006) | (0.027) | (0.015) | (0.025) | (0.009) |

| 0.020 | -0.000 | 0.013 | -0.001 | 0.023 | -0.001 |

0.6,0.6) | (0.021) | (0.007) | (0.025) | (0.017) | (0.028) | (0.009) |

| 0.025 | 0.014 | 0.022 | |||

0.0,0.0) | (0.026) | (0.015) | (0.023) | |||

| 0.000 | 0.045 | 0.042 | |||

0,0) | (0.000) | (0.095) | (0.056) | |||

EM-W | Kim | Proportion | ||||

Mean (RMSE) SD | Mean (RMSE) SD | (EM-W is not worse) | ||||

Error rate | 0.018 (0.019) 0.006 | 0.016 (0.017) 0.004 | 422/1000 | |||

Rand | 0.978 (0.023) 0.006 | 0.980 (0.021) 0.005 | 365/1000 | |||

Adjusted | 0.955 (0.046) 0.012 | 0.959 (0.042) 0.011 | 363/1000 |

**Bias and RMSE in brackets from 1000 simulated datasets (generated from** [14] **with** ${\theta}_{h}^{2}$ **equal to 1.3)**

First component | Second component | Third component | ||||
---|---|---|---|---|---|---|

Parameters | EM-W | Kim | EM-W | Kim | EM-W | Kim |

| -0.009 | 0.001 | -0.007 | 0.005 | 0.016 | -0.001 |

0.1,0.315) | (0.013) | (0.010) | (0.012) | (0.011) | (0.020) | (0.013) |

| -0.002 | -0.000 | 0.015 | 0.001 | 0.003 | -0.000 |

1,0.2) | (0.023) | (0.023) | (0.024) | (0.019) | (0.016) | (0.016) |

| -0.005 | -0.001 | 0.054 | -0.000 | 0.003 | 0.000 |

1,0.02) | (0.071) | (0.074) | (0.0928) | (0.083) | (0.068) | (0.064) |

| 0.015 | -0.000 | -0.131 | 0.001 | 0.020 | 0.000 |

0.9,0.01) | (0.036) | (0.036) | (0.135) | (0.045) | (0.041) | (0.043) |

| -0.195 | -0.000 | -0.185 | -0.003 | -0.186 | -0.002 |

1.3,1.3) | (0.196) | (0.016) | (0.192) | (0.049) | (0.189) | (0.025) |

| 0.043 | -0.000 | 0.037 | -0.002 | 0.044 | -0.001 |

0.6,0.6) | (0.043) | (0.007) | (0.042) | (0.022) | (0.045) | (0.010) |

| 0.144 | 0.131 | 0.143 | |||

0.0,0.0) | (0.145) | (0.133) | (0.144) | |||

| 0.000 | 0.000 | 0.001 | |||

0.,0.) | (0.000) | (0.001) | (0.001) | |||

EM-W | Kim | Proportion | ||||

Mean (RMSE) SD | Mean (RMSE) SD | (EM-W is not worse) | ||||

Error rate | 0.103 (0.104) 0.009 | 0.102 (0.103) 0.010 | 426/1000 | |||

Rand | 0.864 (0.137) 0.012 | 0.866 (0.135) 0.012 | 360/1000 | |||

Adjusted | 0.725 (0.276) 0.025 | 0.729 (0.272) 0.025 | 352/1000 |

Our model again provides unbiased estimates for all parameters. In contrast to the model of Kim et al. [14], our model accounts for the correlation among gene profiles via the linear effects modelling. As presented in Tables 1 to 6, our model outperforms the model of Kim et al. [14] when the genetic profiles are correlated. When the genetic profiles are generated independently, our model has slightly better performance in cases where the variability in gene expressions at each time point is large. In cases where the residual covariance structure follows an AR(1) model as in Kim et al. [14], our model still provides comparative results and unbiased estimates as with Kim et al. the model of [14]. The advantage of our model to provide more reliable and robust clustering of time-course data is apparent. With microarray experiments including those time-course studies, gene expression levels measured from the same tissue sample (or time point) are correlated [19], clustering methods which assume independently distributed gene profiles, such as the model of Kim et al. [14], may overlook important sources of variability in the experiments, resulting in the consequent possibility of misleading inferences being made [13].

### Applications: Yeast cell cycle datasets

#### Yeast cell cycle dataset 1

The first example considers the yeast cell cycle data analysed recently by Wong et al. [26]. This dataset (extracted from Cho et al. [27]) is available from Yeung et al. [28]. It contains 237 genes and 17 samples. These genes are categorized with respect to the four categories in the MIPS database (DNA synthesis and replication, organization of centrosome, nitrogen, and sulphur metabolism, and ribosomal proteins). These categories are assumed to represent the true clusters. In this illustration, we fit our new extended EMMIX-WIRE model and the model of Kim et al. [14] to the yeast cell cycle data, with the period of 85 in the Fourier extension [9].

*d*

^{2}in clusters 1 and 4 are large and are greater than the corresponding estimates of

*θ*

^{2}, indicating coregulation in these two clusters. If we ignore such within-cluster coregulation, we will have Rand Indices similar to those for the model of Kim et al. [14]. Our model considers both autocorrelation and coregulation, and thus obtains the best clustering performance.

**Estimation of parameters for the yeast cell cycle dataset 1 (237 genes)**

First cluster | Second cluster | Third cluster | Fourth cluster | |
---|---|---|---|---|

| 0.104 | 0.054 | 0.118 | 0.724 |

| -0.107 | 0.400 | -0.807 | 0.298 |

| 1.009 | -0.119 | -0.053 | 0.079 |

| 0.027 | 0.011 | 0.025 | 0.278 |

| 0.174 | 0.417 | 0.443 | 0.307 |

| 0.278 | 0.717 | 0.435 | 0.053 |

| 0.191 | 0.001 | 0.031 | 0.310 |

| 85 | 85 | 85 | 85 |

#### Yeast cell cycle dataset 2

The second example is the subset of 384 genes from the yeast cell cycle data in Cho et al. [27], corresponding to five functional groups [28].

*d*

^{2}are all very small compared to the estimates of

*θ*

^{2}.

**Estimation of parameters for the yeast cell cycle dataset 2 (384 genes)**

First cluster | Second cluster | Third cluster | Fourth cluster | Fifth cluster | |
---|---|---|---|---|---|

| 0.238 | 0.290 | 0.151 | 0.165 | 0.157 |

| 0.643 | -0.061 | -0.736 | -0.616 | 0.329 |

| -0.062 | 1.019 | 0.285 | -0.772 | -1.001 |

| 0.011 | 0.046 | 0.037 | 0.028 | 0.006 |

| 0.498 | 0.296 | 0.470 | 0.309 | 0.244 |

| 0.503 | 0.269 | 0.364 | 0.379 | 0.550 |

| 0.062 | 0.052 | 0.044 | 0.065 | 0.030 |

| 85 | 85 | 85 | 85 | 85 |

#### A complete Yeast dataset

With this third example, we demonstrate how the proposed method can be adopted to cluster a large amount of yeast genes of which only a small proportion shows periodicity. The original dataset consists of more than 6000 genes, where the yeast cells were sampled at 7 min intervals for 119 min with a total of 18 time points after synchronization [20]. By comparing the ‘aggregate’ numerical score (on the basis of a Fourier algorithm for testing periodicity) for each gene relative to a threshold score, 800 genes were identified as periodically regulated [20]. The threshold score was determined empirically, where 91% of previously known cell cycle-regulated genes have a higher score than the threshold. The number of false positives among these 800 cell cycle regulated genes was estimated to be between 3% and 10% [20]. In this study, we worked with 4489 genes that have no missing expression levels across any of the 18 time points. Of these 4489 genes, 612 are periodically regulated and 3877 are not periodic.

*g*=1 to

*g*=20, where the cell cycle period

*ω*=63 was determined using a global grid search method described in the Discussion section. The optimal number of clusters was determined using the Bayesian Information Criterion (BIC) of Schwarz [29]. The use of BIC for model selection has been considered in the analysis of gene expression data including [8, 13, 28]. Based on the BIC, there are eight clusters of periodically regulated genes. With the 3877 non-periodic genes, we adopted the same mixture model with AR(1) random effects, but replacing the Fourier series approximations (1) by a time-series regression form with B-splines [8]. Model selection via BIC indicated that there are thirteen clusters of non-periodic genes. Figure 3 presents the expression profiles of genes in each of the twenty-one clusters. From Figure 3(a), it can be seen that the genes have very similar expression patterns within each cluster, except in clusters 3 and 8, where there is greater individual variation by some of the genes. In Table 9, we give the composition of the eight clusters with respect to the five phases of peak expression. Our clusters 2 and 6 consist mainly of those genes with typical G1 peak expression, while most genes in cluster 1 show G2/M or S/G2 phases of peak expression. On the other hand, a majority of genes in cluster 5 has a typical M/G1 phase and those in cluster 7 have a G2/M phase.

**Distribution of five phases of peak expression over eight clusters obtained (complete yeast data)**

cluster | G1 | G2/M | M/G1 | S | S/G2 |
---|---|---|---|---|---|

1 | 1 | 40 | 0 | 1 | 42 |

2 | 98 | 0 | 19 | 0 | 1 |

3 | 24 | 24 | 31 | 3 | 2 |

4 | 16 | 1 | 0 | 20 | 13 |

5 | 0 | 7 | 30 | 0 | 0 |

6 | 72 | 1 | 3 | 3 | 1 |

7 | 0 | 51 | 1 | 0 | 2 |

8 | 12 | 34 | 8 | 20 | 31 |

With reference to the findings by Spellman et al. [20], a majority of genes in our identified clusters are coregulated. For example, cluster 1 contains genes previously classified to the “CLB2” cluster of Spellman et al. These genes, including ACE2, BUD4, CDC5, and CLB1, are regulated by the MCM1 and SFF transcription factors that induce genes during mitosis [20]. Cluster 8 contain genes described by Spellman et al. as the “MET” cluster. These genes, such as six MET genes and ECM17, are likely to be involved in methionine metabolism [20]. In addition, genes in our clusters 2 and 5 are the major members of the “CLN2” and “SIC1” clusters described in Spellman et al., respectively. The former cluster includes CLN2, CDC9, CDC45, RNR1, POL12, POL30, and are involved in DNA replication and repair. Cluster 5 contains genes that are strongly cell cycle regulated, such as SIC1, TEC1, ASH1, PIR1, and PIR3 [20].

## Discussion

As an additional empirical comparison, we applied a simple *k*-means clustering procedure to all the simulated and real datasets considered in the paper. We found that the *k*-means procedure gave higher error rate and smaller adjusted Rand index (and both with higher variability), especially when the correlation between genetic profiles is not small. For example, the mean (SE) of the error rate and adjusted Rand index obtained for the *k*-means procedure for the model in Table 1 are 0.062 (0.057) and 0.849 (0.103), rsepectively. For the model in Table 2, they are 0.357 (0.074) and 0.361 (0.103), respectively. With the model in Table 3, they are 0.187 (0.048) and 0.551 (0.077), respectively, while they are 0.464 (0.038) and 0.153 (0.038), respectively, for the model in Table 4. With the models in Tables 5 and 6, where the degree of correlation is small, the mean (SE) of the error rate and adjusted Rand index obtained for the *k*-means procedure are 0.045 (0.018) and 0.876 (0.041), respectively, in Table 5, while they are 0.443 (0.039) and 0.187 (0.041), respectively, in Table 6. For the Yeast 1 real dataset, the adjusted Rand index is 0.509 for the *k*-means procedure, which is smaller than the two methods that are based on the EMMIX-WIRE model. Using the *k*-means procedure, the error rate and adjusted Rand index are 0.404 and 0.442, respectively, for the Yeast 2 dataset. This error rate is the highest among the methods considered in the paper, while the adjusted Rand index is comparable to the other methods. With the complete yeast dataset, the results obtained using the *k*-means procedure are somewhat different from those for our method. For example, we have identified a majority of yeast genes (81%) in cluster 5 which show a typical M/G1 phase, while the cluster obtained by the *k*-means procedure contains only 69% of genes with a M/G1 phase. Moreover, the clusters obtained by the *k*-means procedure for the non-periodic genes are very different from those presented in Figure 3(b) using our method. These findings indicate that a more complex method is generally required for the clustering of time-course data, especially when the correlation between the expression levels is not weak.

For the purpose of comparison, the periods of the signal of gene expression are assumed to be known in the simulation study and applications to real data. In practice, there are several ways to estimate the periods for each cluster [9, 13, 14, 20]. For example, in Kim et al. [14], the periods are estimated using simplex algorithm at the M-step during the EM algorithm. However, when the periods are estimated during the EM iterations, we find that the periods depend also on other parameters. In addition, when we start from an initial period and get the design matrix X, then with higher possibility the best period will be the initial periods. So we change the strategy to a slow one, and we call it global grid search method, which guarantees the highest maximum log likelihood at the best periods. It is implemented as follows. Let *S* be the space with typical element (a vector) (*ω*_{1}*ω*_{2}, …, *ω*_{
g
})^{
T
}, representing the component periods, where *ω*_{
h
}can take all possible values (grid points). For example, for the yeast cell cycle data, the possible periods are 60,61, …, 90. Then for each fixed (*ω*_{1}*ω*_{2}, …, *ω*_{
g
})^{
T
}, we estimate the parameters as if the periods for each component were known. Finally, we compare the log likelihood and choose the one with the highest log likelihood as the final result. Since it is very slow if there are too many elements in *S* when we have no prior information about the periods, we recommend using other methods to obtain the periods in such cases, such as the weighted least-squares estimation approach considered in [15]. In all the calculations in this paper, we assume the periods are fixed.

The proposed model is very flexible through the different specifications of design matrices or model options as originally available in Ng et al. [13]. For example, besides the full model, it enables us to incorporate the model of Qin and Self [6] as a special case. Specifically, we can obtain their model by assuming zero cluster effects (*v* = 0) and that random effects *u* be autocorrelated for each gene. Furthermore, when both random effects *u* and *v* are assumed to be zero, then we have normal mixture of regression models. In the program we have developed, there are many options and parameters for users to specify the models they want to use in addition to the models we list in our paper. For example, the developed program is applicable to cluster time-course gene expression profiles that are not periodic (see Figure 3(b)). When periodicity is not obvious, Fourier seris approximations (Equation (1)) can be replaced by a time-series regression form (such as cubic or spline function) to model the conditional mean expression profiles for each component. With reference to Equation (2), the proposed mixture model framework with time dependent AR(1) random gene effects is again desriable to capture the dependence between the expression measurements over time. The program is written in an R package and is available in Additional file 2, which also contains the data.

## Conclusions

Our new extended EMMIX-WIRE model is more reliable and robust for clustering time-course data because it postulates gene-specific random effects with an autocorrelation variance structure that models coregulation within the clusters. The developed R package is flexible in its specification of the random effects through user-input parameters that enables improved modelling and consequent clustering of time-course data.

### Availability

An R-program is available on request from the corresponding author.

## Declarations

### Acknowledgements

This research was supported by a grant from the Australian Research Council.

## Authors’ Affiliations

## References

- Wichert S, Fokianos K, Strimmer K: Identifying periodically expressed transcripts in microarray time series data. Bioinformatics. 2004, 20: 5-20. 10.1093/bioinformatics/btg364.View ArticlePubMedGoogle Scholar
- Hafemeister C, Costa IG, Schönhuth A, Schliep A: Classifying short gene expression time-courses with Bayesian estimation of. Bioinformatics. 2011, 27: 946-952. 10.1093/bioinformatics/btr037.View ArticlePubMedGoogle Scholar
- McLachlan GJ, Bean RW, Peel D: A mixture model based approach to the clustering of microarray expression data. Bioinformatics. 2002, 18: 414-422.View ArticleGoogle Scholar
- Ramoni MF, Sebastiani P, Kohane IS: Cluster analysis of gene expres-sion dynamics. Proc Natl Acad Sci USA. 2002, 99: 9121-9126. 10.1073/pnas.132656399.PubMed CentralView ArticlePubMedGoogle Scholar
- Fan J, Ren Y: Statistical analysis of DNA microarray data in cancer research. Clin Cancer Res. 2006, 12: 4469-4473. 10.1158/1078-0432.CCR-06-1033.View ArticlePubMedGoogle Scholar
- Qin LX, Self SG: The clustering of regression models method with applications in gene expression data. Biometrics. 2006, 62: 526-533. 10.1111/j.1541-0420.2005.00498.x.View ArticlePubMedGoogle Scholar
- Xu XL, Olson JM, Zhao LP: A regression-based method to identify differentially expressed genes in microarray time course studies and its application in an inducible Huntingtons disease transgenic model. Human Mol Genet. 2002, 11: 1977-1985. 10.1093/hmg/11.17.1977.View ArticleGoogle Scholar
- Luan Y, Li H: Clustering of time-course gene expression data using a mixed-effects model with B-splines. Bioinformatics. 2003, 19: 474-482. 10.1093/bioinformatics/btg014.View ArticlePubMedGoogle Scholar
- Luan Y, Li H: Model-based methods for identifying periodically ex-pressed genes based on time course microarray gene expression data. Bioinformatics. 2004, 20: 332-339. 10.1093/bioinformatics/btg413.View ArticlePubMedGoogle Scholar
- Storey JD, Xiao W, Leek JT, Tompkins RG, Davis RW: Significant analysis of time course microarray experiments. Proc Natl Acad Sci USA. 2005, 102: 12837-12842. 10.1073/pnas.0504609102.PubMed CentralView ArticlePubMedGoogle Scholar
- Hong F, Li H: Functional hierarchical models for identifying genes. Biometrics. 2006, 62: 534-544. 10.1111/j.1541-0420.2005.00505.x.View ArticlePubMedGoogle Scholar
- Ma P, Castillo-Davis CI, Zhong W, Liu JS: A data driven clustering method for time course gene expression data. Nucleic Acids Res. 2006, 34: 1261-1269. 10.1093/nar/gkl013.PubMed CentralView ArticlePubMedGoogle Scholar
- Ng SK, McLachlan GJ, Wang K, B T Jones L, Ng SW: A mixture model with random-effects components for clustering correlated gene-expression profiles. Bioinformatics. 2006, 22: 1745-1752. 10.1093/bioinformatics/btl165.View ArticlePubMedGoogle Scholar
- Kim BR, Zhang L, Berg A, Fan J, Wu R: A computational approach to the functional clustering of periodic gene-expression profiles. Genetics. 2008, 180: 821-834. 10.1534/genetics.108.093690.PubMed CentralView ArticlePubMedGoogle Scholar
- Booth JG, Casella G, Hobert JP: Clustering using objective functions and stochastic search. J R Statist Soc. 2008, 70: 119-139. 10.1111/j.1467-9868.2007.00629.x.View ArticleGoogle Scholar
- Park T, Yi SG, Lee S, Lee SY, Yoo DH, et al: Statistical tests for identifying differentially expressed genes in time-course microarray experiments. Bioinformatics. 2003, 19: 694-703. 10.1093/bioinformatics/btg068.View ArticlePubMedGoogle Scholar
- Sun W, Wei Z: Multiple testing for pattern identification, with applications to microarray time-course experiments. J Am Stat Assoc. 2011, 106: 73-88. 10.1198/jasa.2011.ap09587.View ArticleGoogle Scholar
- McLachlan GJ, Peel D: Finite Mixture Models. 2000, New York: John Wiley & SonsView ArticleGoogle Scholar
- McLachlan GJ, Do KA: Analyzing Microarray Gene Expression Data. 2004, New Jersey: WileyView ArticleGoogle Scholar
- Spellman PT, Sherlock S, Zhang MO, Iyer VR, Aners K, et al: Comprehensive identification of cell cycle-regulated genes of the yeast Sac-charomyces cerevisiae by microarray hybridization. Mol biol cell. 1998, 9: 3273-3297.PubMed CentralView ArticlePubMedGoogle Scholar
- Kim BR, Littell RC, Wu RL: Clustering the periodic pattern of gene expression using Fourier series approximations. Curr Genomics. 2006, 7: 197-203. 10.2174/138920206777780229.View ArticleGoogle Scholar
- Scharl T, Grun B, Leisch F: Mixtures of regression models for time-course gene expression data: evaluation of initialization and random effects. Bioinformatics. 2010, 26: 370-377. 10.1093/bioinformatics/btp686.View ArticlePubMedGoogle Scholar
- Leisch F: FlexMix: A general framework for finite mixture models and latent class regression in R. J Stat Software. 2004, 11 (8): 1-18.View ArticleGoogle Scholar
- Wang W, Fan T: ECM-based maximum likelihood inference for multivariate linear mixed models with autoregressive errors. Comput Stat Data Anal. 2010, 54: 1328-1341. 10.1016/j.csda.2009.11.021.View ArticleGoogle Scholar
- Hubert L, Arabie P: Comparing partitions. J Classif. 1985, 2: 193-218. 10.1007/BF01908075.View ArticleGoogle Scholar
- Wong DSV, Wong FK, Wood GR: A multi-stage approach to clus-tering and imputation of gene expression profiles. Bioinformatics. 2007, 23: 998-1005. 10.1093/bioinformatics/btm053.View ArticlePubMedGoogle Scholar
- Cho RJ, Huang M, Campbell MJ, Dong H, Steinmetz L, Sapinoso L, Hampton G, Elledge SJ, Davis RW, Lockhart DJ: Transcriptional regulation and function during the human cell cycle. Nat Genet. 2001, 27: 48-54.PubMedGoogle Scholar
- Yeung KY, Fraley C, Murua A, Raftery AE, Ruzzo WL: Model-based clustering and data transformations for gene expression data. Bioinformatics. 2001, 17: 977-987. 10.1093/bioinformatics/17.10.977.View ArticlePubMedGoogle Scholar
- Schwarz G: Estimating the dimension of a model. Ann Stat. 1978, 6: 461-464. 10.1214/aos/1176344136.View ArticleGoogle Scholar

## Copyright

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.