Skip to main content

A full Bayesian hierarchical mixture model for the variance of gene differential expression



In many laboratory-based high throughput microarray experiments, there are very few replicates of gene expression levels. Thus, estimates of gene variances are inaccurate. Visual inspection of graphical summaries of these data usually reveals that heteroscedasticity is present, and the standard approach to address this is to take a log2 transformation. In such circumstances, it is then common to assume that gene variability is constant when an analysis of these data is undertaken. However, this is perhaps too stringent an assumption. More careful inspection reveals that the simple log2 transformation does not remove the problem of heteroscedasticity. An alternative strategy is to assume independent gene-specific variances; although again this is problematic as variance estimates based on few replications are highly unstable. More meaningful and reliable comparisons of gene expression might be achieved, for different conditions or different tissue samples, where the test statistics are based on accurate estimates of gene variability; a crucial step in the identification of differentially expressed genes.


We propose a Bayesian mixture model, which classifies genes according to similarity in their variance. The result is that genes in the same latent class share the similar variance, estimated from a larger number of replicates than purely those per gene, i.e. the total of all replicates of all genes in the same latent class. An example dataset, consisting of 9216 genes with four replicates per condition, resulted in four latent classes based on their similarity of the variance.


The mixture variance model provides a realistic and flexible estimate for the variance of gene expression data under limited replicates. We believe that in using the latent class variances, estimated from a larger number of genes in each derived latent group, the p-values obtained are more robust than either using a constant gene or gene-specific variance estimate.


The recent advancement of deoxyribonucleic acid (DNA) microarray technology allows the measurement of expression levels of tens of thousands of genes simultaneously [1, 2]. A DNA microarray experiment measures the abundance of messenger ribonucleic acid (mRNA) present in a set of cells, and a high concentration of mRNA for a given gene indicates a high expression level for that gene [3, 4]. The solution of mRNA is either radiolabelled or fluorescently labelled and then allowed to hybridize to spots on the array. Further information about early DNA microarray experiments can be found in [5]. There is a wide variety of arrays, but the two main kinds are short and long oligonucleotide arrays. In oligonucleotide arrays, there are approximately 20 probes pairs of a perfect match (PM) and a mismatch (MM) for each gene. The PM probe contains a match to a small subsequence of a gene's polynucleotide, about 25 bases long, while the MM probe acts as a control, being a copy of the PM probe with the central position flipped to its complement. The amount of mRNA present in the target gene in a sample is estimated from a combination (usually, the average) of the PM-MM intensity differences over the 20 probe pairs [6].

In a spotted complimentary DNA (cDNA) or long oligonucleotide arrays (the kind featured in this article) thousands of spots of cDNA from the genes are printed onto a glass slide or some other form of substrate. Two different mRNA samples are separately reverse-transcribed into cDNA and labelled with different fluorescent dyes, green (cyanine 3) or red (cyanine 5). The mixture of labelled cDNA is co-hybridized on the same microarray, and the labelled cDNA molecule will bind to the complementary fragments of cDNA sequence on the slide. A laser scanner is then used to measure both fluorescent signals emitted at each spot on the chip. The general idea assumed behind the technology is that if a particular gene is highly expressed in the sample, it produces many molecules of mRNA [4]. These in turn will hybridize to the probes on the microarray and generate a very bright fluorescent area. Genes that are less expressed produce less mRNA, which results in dimmer fluorescent spots. If there is no fluorescence, no messenger molecules have hybridized to the probes, indicating that the gene is inactive. By comparing the intensity levels of the emitted fluorescent lights between the samples, it is hoped that one might be able to identify any differences in the gene expression profiles of the various samples.

In a typical cDNA microarray experiment, we are looking to ascertain whether gene i displays differential expression between two samples T and C, labelled with differential colours red and green. For instance, these experiments include comparing tumor and normal tissue cells, treated and untreated cells, or cells from knockout and wild-type organisms. The samples can be compared on the same slide (i.e. same hybridization), resulting in a direct estimate of differences in expression levels since the measurements come from the same hybridization. An alternative is when expression levels T i and C i are estimated in two different hybridizations, with T together with reference sample R and C with another reference sample R'. This is an indirect estimate of the gene's differential expression since the T and C expression levels are from different hybridizations [7]. Sometimes, common reference samples are hybridized with each mRNA sample of interest (T or C), resulting in what are known as common reference designs. The common reference sample could be tissues from wild-type organisms or control tissue or a pool of all the samples of interest.

Standard statistical analyses

The simplest way, used by many in the field, to ascertain a gene's differential expression, is on the basis of a fold-change criterion, defined by the log-ratio δ i = log2(T i /C i ), under direct comparison or δ i = log2(T i /R i ) - log2(C i / R i MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGsbGugaqbamaaBaaaleaacqWGPbqAaeqaaaaa@2F6C@ ) for indirect comparison. It is expected that the majority of genes will have a δ i value close to 0 [4]. Those genes with a large positive δ i value (δ i > 1) are generally concluded to be overexpressed or upregulated in the T sample, and those whose δ i is negatively large (δ i < -1) are concluded to be underexpressed or downregulated in the T sample. However, the use of fold change is of limited use, as the intensities are associated with some biological, experimental and measurement error, and unless these error distributions can be derived, it is difficult to assess whether a ratio of 1.9, say, is worth noting or whether it has occurred by chance. Furthermore, the boundaries accepted for thresholding these fold-changes seem to be rather arbitrary and very little documentation can be found to support these criteria.

In recent times, the identification of genes that are differentially expressed between two conditions has been based on a standardised fold-change, which is the fold-change divided by an estimate of its standard deviation. A t-test, with a correction for multiple testing, is then used to test for significance of the standardised fold-change. This allows for the assessment of significance of the observed differences in the presence of all the sources of variation, which are not necessarily equal from gene to gene. Our contribution to the problem of identifying genuinely differentially expressed genes is on the estimation of reliable standard deviations of gene expression levels. Modelling of gene expression variability ranges between two extreme cases: a constant variance, which is too stringent an assumption, to independent gene-specific variances. The latter option has low power as it is based on very few replications as a result of the relatively large cost of commercial microarray chips. This makes estimation of the sample standard deviation very unreliable and unstable. An ad-hoc solution to the problem includes discarding genes with a small fold-change and very small standard deviations [4]. A better method, called Significance Analysis of Microarrays (SAM), developed in [8], adds a constant a0 to each gene-specific standard deviation, thus preventing the denominator of the t-statistic from getting too small. This was expounded in [3], using an empirical Bayesian procedure, by taking a0 equal to the 90th percentile of the standard deviations of all the genes. Shrinking the gene-specific standard deviations in this way helps to minimize the false discovery rates (i.e. a large t statistic).

Mixture models

An intuitive approach to modelling gene expression data is to assume two groups of genes, one group with genes that are differentially expressed and the other with genes that are not differentially expressed. This approach has been used in analyses involving mixture models for gene expression levels. Formally, the basic assumption is that the distribution of the difference δ i can be flexibly modelled as a mixture with two components: a subgroup of genes with δ i around 0 and a subgroup of genes with non zero δ i [3, 4, 9, 10]. Using this approach, Lonnstedt and Speed [4], derived an empirical Bayesian statistic B, which is the log posterior odds of differential expression. Efron et al. [3] and Efron and Tibshirani [10] also consider a two component mixture model to model differential gene expression, the later using a rank-based nonparametric two-sample test statistic. A similar approach was followed-up in [11] based on a fully Bayesian hierarchical model, but with an unknown number of mixture components. The number of components was treated as a random variable and estimated with the other parameters based on the pioneering work of Richardson and Green [12]. Other approaches using mixture models for gene expression data from microarray experiments can be found in [13, 14].

Purpose of the paper

A number of methods, particularly based on full Bayesian hierarchical models, have been used to provide better estimates of variance for gene differential data. These methods provide estimates of gene-specific variance, which are the weighted average of the empirical variance and a prior variance estimate [11, 15, 16]. In particular, Lewin et al. [16] provide a fully Bayesian approach combining estimation of gene differential expression, biological variability and array effects with a hierarchical prior distribution on gene-specific variances. Other than modelling the gene-specific variances with an exchangeable hierarchical prior, Delmar et al. [17] use a mixture model on the distribution of gene-specific variances. Genes are grouped into latent classes based on homogeneity of their variances. A gene is assigned a variance based on its latent class membership and this variance is estimated with high power because of the large number of genes (hence a larger number of replicates) in that latent class. All these methods produce what are called regularized t-tests.

Our work is closely related to that proposed by Delmar et al. [17], who used the EM-algorithm to fit a variance mixture model for gene expression data. We believe our Bayesian approach has certain advantages and adds value in comparison to the EM-algorithm approach. In using a Bayesian hierarchical model, we are able to model various sources of variability in a common model, thus propagating uncertainty. Within a Bayesian hierarchical model framework, it is far easier to borrow and share data across all genes in order to obtain more reliable estimates of their variance and at the same time allowing for some variability. In this approach, variances are stabilized and shrunk towards the average variance within each component of the mixture, in particular some small and large variance estimates that are incompatible with the overall distribution are increased and decreased, respectively.

Furthermore, in complex biological data exhibiting a lot of noise, traditional statistical methods, such as the EM-algorithm, can struggle to cope with complex non-linear models when used to explore such data. In the Bayesian paradigm, on the other hand, all the unknown quantities are treated together in a consistent manner, to give fully probabilistic information on all unobserved variables, even their functions. Our method is based on a Chi-squared (χ2)-mixture model for the gene-specific variances, with the number of components ranging from 1 to 5. In bioinformatics, as in many fields, mixture models have been fitted through the expectation-maximisation (EM) algorithm with different values of the number of mixture components [9, 17, 18]. In this paper, we present a Bayesian analysis of the variance mixture model, which we implement in the Bayesian software package, WinBUGS [19]. The methodology is applied to a dataset on diffuse large B-cell lymphomas. The data contains expression levels of chronic lymphatic leukaemia (CLL) and diffuse large cell (DLCL) malignancies for the 9216 genes under study. The results of applying our model to the data-set are presented in the Results from the mixture model section. A discussion of the model and the results are in the Conclusions section.

It is hoped that the work presented in this paper will contribute to a large volume of current research work aimed at minimizing the risk of false positives in microarray experiments. The two extreme assumptions on the variance of gene expression data are presented in the Standard models for gene variance section and a description of the variance mixture model is contained in A mixture model for gene variance section.

Results and discussion

Description of the data set

We analyse the data described in [20], which investigates the classification of diffuse large B-cell lymphomas into distinct groups by gene expression profiling. Diffuse large B-cell lymphoma is an aggressive malignancy of mature B lymphocytes. It is estimated that, with an annual incidence of over 25,000 cases, it accounts for approximately 40% of all cases of non-Hodgkin's lymphoma. Currently, a combination of clinical parameters is used to provide an assessment of a patient's risk profile and to determine the most suitable clinical course of treatment. Whilst most patients initially respond well to chemotherapy, patients receiving the same diagnosis can have very different final outcomes in terms of remission achieved and their overall survival. It is suspected that the prognostic variables used are in fact proxies for the underlying cellular and molecular variation within diffuse large B-cell lymphomas. Their work considers whether gene expression profiling could subdivide this 'clinically heterogenous diagnostic category into molecularly distinct diseases that would possess more homogeneous clinical behaviours' [20]. The microarrays used in this experiment were specially designed complementary DNA microarrays, called 'Lymphochips', which included those genes with a known or suspected role in processes that are important in immunology or cancer, and those genes known to be preferentially expressed in lymphoid cells. The profiling of gene expression included the three most prevalent adult lymphoid malignancies, in addition to profiling the gene expression in purified normal lymphocyte subpopulations under a range of activation conditions, in normal human tonsil and lymph node, and in a variety of lymphoma and leukaemia cell lines. From each experimental mRNA sample, a cDNA sample was prepared and labelled with red Cy5 dye. Furthermore, a corresponding reference cDNA sample, labelled with green Cy3 dye, was prepared from a pool of mRNAs isolated from nine different lymphoma cell lines. The labelled samples were combined and hybridized to the microarray.

Approximately 1.8-million measurements of gene expression were taken in all, across 96 normal and malignant lymphocyte samples, using 128 of the Lymphochip microarrays. To demonstrate the method proposed in this paper, we use a small subset, containing only eight slides from two conditions. Four slides quantify gene expression relating to chronic lymphatic leukaemia (CLL) malignancies and the other four to diffuse large cell lymphoma (DLCL) malignancies. Each slide contains measurements for 9216 genes. The red-to-green intensity ratio can be quantified for each gene and this reflects the relative abundance of mRNA in the experimental sample compared with the reference mRNA pool. By using a common reference sample, these fluorescent ratios can be considered a comparable measurement of the relative expression level of each gene across all of the samples. We want to compare different gene expression levels between the CLL and DLCL malignancy conditions.

Results from the mixture model

We fitted the model:

y i c r c = μ i c + ε i c r c MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacqWG5bqEdaWgaaWcbaGaemyAaKMaem4yamMaemOCai3aaSbaaWqaaiabdogaJbqabaaaleqaaOGaeyypa0dcciGae8hVd02aaSbaaSqaaiabdMgaPjabdogaJbqabaGccqGHRaWkcqWF1oqzdaWgaaWcbaGaemyAaKMaem4yamMaemOCai3aaSbaaWqaaiabdogaJbqabaaaleqaaaaa@41EC@

where y i c r c MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacqWG5bqEdaWgaaWcbaGaemyAaKMaem4yamMaemOCai3aaSbaaWqaaiabdogaJbqabaaaleqaaaaa@33F1@ is gene i's log-ratio of observed intensity for condition c to the reference mRNA pool in replicate r c (i = 1, ..., 9216; c = 1 for CLL, 2 for DLCL; r1 = 1, ..., 4; r2 = 1, ..., 4); μic is the mean log-ratio; and ε i c r c MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaiiGacqWF1oqzdaWgaaWcbaGaemyAaKMaem4yamMaemOCai3aaSbaaWqaaiabdogaJbqabaaaleqaaaaa@3424@ is normally distributed with mean 0.

The mixture weights were estimated as part of the model, where they were assigned a Dirichlet prior distribution, (π1, ..., π k ) ~ Dirichlet(1, ..., 1), where k is the number of mixture components. The χ2 mixture scale parameters ψ j were assigned independent Gamma(0.01, 0.01) prior distributions. For each mixture model, three independent chains were run for 50,000 iterations. We discarded the first 20,000 iterations and used a combined sample of the remaining 60,000 iterations for posterior summaries.

The determination of the number of components to include in a mixture is an important, yet unresolved key issue in finite mixture models. There are a number of approaches for assessing the adequate number of mixture components, and a review of the available approaches is given in Oliveira-Brochado and Martins [21]. Standard χ2 based goodness of fit and likelihood ratio tests are not reliable statistics for deciding the number of mixture components; in particular the likelihood has a tendency to select more complex models, having a higher number of parameters. The widely used selection statistics – Bayesian Information Criterion (BIC) and Akaike Information Criterion (AIC) – impose a penalty on the likelihood to account for the number of parameters estimated in the model. Both BIC and AIC have been shown to be suitable in determining the number of latent classes in the normal-mixture model. However, in some non-normal mixture models, such as beta-mixture, BIC and AIC were shown to perform poorly, by selecting excessive numbers of components whilst an alternative criterion, the Integrated Completed Likelihood (ICL)-BIC selected the right number of mixture components in simulation studies [18]. On the other hand, the ICL-BIC selected too few components in Poisson-mixture models [22], whereby the performance of BIC and AIC criteria were adequate, more so for the BIC in large samples. For the purpose of this Bayesian application, and considering that the underlying distribution of variance is continuous and sample size is relatively large, we chose to use the BIC criterion for model selection. The BIC is defined as: BIC = -2 * log -likelihood + P log g, where P is the number of unknown parameters in the model (P = 2 * k - 1 in our case) and g is the sample size. In the Bayesian context, BIC selects a model that is most probable after conditioning on the data [22]. The model with the smallest BIC value is selected to be the model that best predicts the number of mixture components, bearing in mind that when a set of models estimated on the same data set yield the same log -likelihood value, BIC favours parsimony by selecting the model with the fewer parameters. We present posterior mean and standard deviation (SD) estimates of the model parameters from fitting the proposed model with corresponding values of BIC (see Table 1). The results are shown only up to the four-component mixture model as the BIC value changed by only about 2 when fitting a five-component mixture model. Also provided are comparative results from fitting the EM algorithm [17]. Our Bayesian mixture variance model gives very similar results to those obtained from the EM algorithm. The results seem to imply that there is one small latent class consisting of genes with a large variance.

Table 1 Posterior mean (SD) for various variance mixture models

For each fitted variance mixture model, we assigned each gene i to group j according to the highest estimated posterior classification probability π - ij . In turn, gene i was assigned variance σ ^ i 2 = σ ^ j 2 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaiiGacuWFdpWCgaqcamaaDaaaleaacqWGPbqAcqGHxiIkaeaacqaIYaGmaaGccqGH9aqpcuWFdpWCgaqcamaaDaaaleaacqWGQbGAaeaacqaIYaGmaaaaaa@3749@ where σ ^ j 2 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaiiGacuWFdpWCgaqcamaaDaaaleaacqWGQbGAaeaacqaIYaGmaaaaaa@3102@ is the estimated variance of latent class j. Thus, the derived t-statistic for gene i now becomes:

t i = δ ¯ i / S E ( δ ¯ i ) = δ ¯ i / ( σ ^ i 2 / m 1 + σ ^ i 2 / m 2 ) 1 / 2 .

where m1 and m2 are sample sizes for condition 1 and 2, respectively.

We compared the t-statistics using gene-specific and homogeneous standard errors to the four-component mixture estimated standard errors. It was evident that the majority of genes have t-statistics very close to 0, indicating similar expression levels under the two conditions, CLL and DLCL (see Figure 1). All three have a similar shape; however, the mixture estimated t-statistic is more conservative than the gene-specific t-statistics (with its own problem of not having enough data to estimate the variance) and not as naive as the homogeneous statistic, which is based on overly unrealistic gene variance assumptions. The mixture estimated t-statistic is more informative as it uses standard errors estimated from a larger number of genes based on their variance similarity. In the data set, some genes have larger variances than others and large variance genes that are not differentially expressed are more likely to have large log fold changes. However, when taking variance into account, these genes produce small t-statistics. On the other hand, with only four measurements per group, the estimate of the standard error is not stable and some genes have large t-statistics only because, by chance, the denominator was very small. This relative large disparity in t-statistics is demonstrated in histogram (A) and (C). The histogram (B)is an improvement in that it does give high t-statistics to genes only because they have small sample variances. The statistic presented in histogram (B) is referred to as the modified t-statistic, which are based on borrowed strength across genes in order to obtain more stable estimates of gene variances.

Figure 1
figure 1

Distribution of the t -statistic, using different estimate of gene standard error. Plot (A) is a histogram based on gene-specific standard error, (B) is based on the four-component mixture model estimated standard error and (C) shows a histogram based on homogeneous standard error.

This classification of genes under the Bayesian mixture model was compared to that obtained under the EM mixture model for the four component model (see Table 2). There is very good agreement between the two models, with only 387 out of 9216 genes classified differently. The measure of agreement, kappa, was 0.929. For all of the 387 genes that were classified differently, their two most likely classes, based on the posterior classification π ij , were the same in both models. In this case, one can conclude that the two models resulted in agreement in classifying genes to the four mixture components.

Table 2 Classification of genes under the Bayesian and EM mixture models, with four components

We identified the top ten ranked genes according to the absolute t-statistic obtained from using various variance models (see Table 3). Only two genes, coded 2143 and 4323 are consistently ranked in the top ten across all variance models. Genes coded 3181, 4069, 4532, 4586 and 8076 are ranked in the top ten in at least two variance models.

Table 3 Top ten ranked genes by different variance models (Genes are listed by their codes)

Finally, other than setting σ ^ i 2 = σ ^ j 2 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaiiGacuWFdpWCgaqcamaaDaaaleaacqWGPbqAcqGHxiIkaeaacqaIYaGmaaGccqGH9aqpcuWFdpWCgaqcamaaDaaaleaacqWGQbGAaeaacqaIYaGmaaaaaa@3749@ , which is outright membership, we also considered a weighted variance estimate σ ^ i w 2 = π i j σ j 2 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaiiGacuWFdpWCgaqcamaaDaaaleaacqWGPbqAcqWG3bWDaeaacqaIYaGmaaGccqGH9aqpdaaeabqaaiab=b8aWnaaBaaaleaacqWGPbqAcqWGQbGAaeqaaOGae83Wdm3aa0baaSqaaiabdQgaQbqaaiabikdaYaaaaeqabeqdcqGHris5aaaa@3E70@ based on a four-component variance mixture model. We ranked genes using this weighted variance estimate to compare the ranking obtained from the other variance estimates (see Table 3). Eight genes coded 2143, 3181, 4069, 4323, 4532, 4586, 8076 and 8903 that appear in the top ten under the weighted variance model, also appear at least once in the top ten of the other variance models. These genes might be interesting, thus requiring further analysis and investigation.

We are aware that different assumptions for the prior distributions for both mixture weights and scales may give different results. We performed some limited sensitivity examination of the results to different specification of the priors. There were slight differences in the results, but the substantive conclusions were not affected.


We have presented a Bayesian variance mixture model for differential gene expression data. This model is a compromise between two extreme models: the too stringent constant gene variance and the overparameterised gene-specific variance models, which are both unrealistic assumptions. Our mixture variance model provides a more realistic and flexible estimate for the variance of gene expression data under limited replicates. We believe that in using the (weighted) latent class variances, estimated from a larger number of genes in each derived latent group, the p-values obtained are more accurate then either using a constant gene variance or gene-specific variance estimate.

In our example data, the results obtained from using our model are in close agreement to those obtained using EM algorithm implementation [17], which had been shown, using simulation studies, to be flexible and reliable in both true and false discovery rates. Our results are based on the assumptions of normally distributed log-ratios and a constant gene-variance between the two conditions. We are working on relaxing these conditions, in particular in using a long-tailed t-distribution as a robust alternative to allow for the possibility of gene-intensity measurement outliers. By varying the degrees of freedom, the t-distribution can also be used to investigate the sensitivity of the posterior results to changes in the prior for the gene intensity measurements.


Notation and variance models

We assume that the intensity level data is background corrected and normalised according to [23], using an arcsinh transformation based on a model for the dependence of the variance on the mean intensity levels with variance stabalizing properties. These are implemented in a variance stabilizing transformation vsn, the title function of the vsn package, part of the Bioconductor project for R [24]. This results in generalised log-transformed expression intensity values. We develop the methodology for unpaired (indirect) data case, where two samples of interest are each co-hybridised with a reference sample. That is, each independent slide is a two-colour microarray experiment. The methodology is easily adapted to paired (direct comparison) data case.

We consider a pair of log-transformed expression measurements (T ir , R ir ) for gene i : i = 1, ..., g in replicate r : r = 1, ..., m T for condition T co-hybridized with reference sample R. Then, y itr = T ir - R ir is the log-ratio of gene i under condition T in replicate r. Similarly, let (C ir' , R i r MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGsbGugaqbamaaBaaaleaacqWGPbqAcuWGYbGCgaqbaaqabaaaaa@30E5@ ) be a pair of expression measurements for gene i in replicate r' : r' = 1, ..., m C for condition C co-hybridized with reference sample R'. The difference y icr' = C ir' - R i r MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGsbGugaqbamaaBaaaleaacqWGPbqAcuWGYbGCgaqbaaqabaaaaa@30E5@ is the log-ratio for gene i under condition C. In such an experiment, we want to compare the log-ratios y itr and y icr' between the T and C samples. We can obtain sample data statistics for each condition, such as averages:

T ¯ i = 1 m T r = 1 m T y i t r C ¯ i = 1 m C r = 1 m C y i c r MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaafaqadeGabaaabaGafmivaqLbaebadaWgaaWcbaGaemyAaKgabeaakiabg2da9maalaaabaGaeGymaedabaGaemyBa02aaSbaaSqaaiabdsfaubqabaaaaOWaaabCaeaacqWG5bqEdaWgaaWcbaGaemyAaKMaemiDaqNaemOCaihabeaaaeaacqWGYbGCcqGH9aqpcqaIXaqmaeaacqWGTbqBdaWgaaadbaGaemivaqfabeaaa0GaeyyeIuoaaOqaaiqbdoeadzaaraWaaSbaaSqaaiabdMgaPbqabaGccqGH9aqpdaWcaaqaaiabigdaXaqaaiabd2gaTnaaBaaaleaacqWGdbWqaeqaaaaakmaaqahabaGaemyEaK3aaSbaaSqaaiabdMgaPjabdogaJjqbdkhaYzaafaaabeaaaeaacuWGYbGCgaqbaiabg2da9iabigdaXaqaaiabd2gaTnaaBaaameaacqWGdbWqaeqaaaqdcqGHris5aaaaaaa@581F@

and variances:

S i T 2 = 1 m T 1 r = 1 m T ( y i t r T ¯ i ) 2 S i C 2 = 1 m C 1 r = 1 m C ( y i c r C ¯ i ) 2 . MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaafaqadeGabaaabaGaem4uam1aa0baaSqaaiabdMgaPjabdsfaubqaaiabikdaYaaakiabg2da9maalaaabaGaeGymaedabaGaemyBa02aaSbaaSqaaiabdsfaubqabaGccqGHsislcqaIXaqmaaWaaabCaeaacqGGOaakcqWG5bqEdaWgaaWcbaGaemyAaKMaemiDaqNaemOCaihabeaakiabgkHiTiqbdsfauzaaraWaaSbaaSqaaiabdMgaPbqabaGccqGGPaqkdaahaaWcbeqaaiabikdaYaaaaeaacqWGYbGCcqGH9aqpcqaIXaqmaeaacqWGTbqBdaWgaaadbaGaemivaqfabeaaa0GaeyyeIuoaaOqaaiabdofatnaaDaaaleaacqWGPbqAcqWGdbWqaeaacqaIYaGmaaGccqGH9aqpdaWcaaqaaiabigdaXaqaaiabd2gaTnaaBaaaleaacqWGdbWqaeqaaOGaeyOeI0IaeGymaedaamaaqahabaGaeiikaGIaemyEaK3aaSbaaSqaaiabdMgaPjabdogaJjqbdkhaYzaafaaabeaakiabgkHiTiqbdoeadzaaraWaaSbaaSqaaiabdMgaPbqabaGccqGGPaqkdaahaaWcbeqaaiabikdaYaaaaeaacuWGYbGCgaqbaiabg2da9iabigdaXaqaaiabd2gaTnaaBaaameaacqWGdbWqaeqaaaqdcqGHris5aOGaeiOla4caaaaa@6DFD@

The selection of differentially expressed genes can proceed simply by a test based on log fold-change criterion, δ ¯ i = T ¯ i C ¯ i MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaiiGacuWF0oazgaqeamaaBaaaleaacqWGPbqAaeqaaOGaeyypa0JafmivaqLbaebadaWgaaWcbaGaemyAaKgabeaakiabgkHiTiqbdoeadzaaraWaaSbaaSqaaiabdMgaPbqabaaaaa@377C@ . However, as pointed out in the Standard statistical analyses section, the use of fold changes is limited because the intensities are associated with biological, experimental and measurement errors. Formally, we consider significance testing by assuming that the observed log-ratios y itr and y itr' are modelled by simple linear models:

y itr = μ iT + ε itr and y icr' = μ iC + ε icr'

where ε itr and ε icr' are normally distributed with mean 0 and equal variance σ i 2 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaiiGacqWFdpWCdaqhaaWcbaGaemyAaKgabaGaeGOmaidaaaaa@30F0@ . For each gene i, we use the usual two-sample t-test H0 : μ iT = μ iC against H1 : μ iT μ iC . This resulting test statistic is based on the standardised fold change:

t i = δ ¯ i / S E ( δ ¯ i ) = δ ¯ i / S i T 2 / m T + S i C 2 / m C ) 1 / 2 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacqWG0baDdaWgaaWcbaGaemyAaKgabeaakiabg2da9GGaciqb=r7aKzaaraWaaSbaaSqaaiabdMgaPbqabaGccqGGVaWlcqWGtbWucqWGfbqrcqGGOaakcuWF0oazgaqeamaaBaaaleaacqWGPbqAaeqaaOGaeiykaKIaeyypa0Jaf8hTdqMbaebadaWgaaWcbaGaemyAaKgabeaakiabc+caViabdofatnaaDaaaleaacqWGPbqAcqWGubavaeaacqaIYaGmaaGccqGGVaWlcqWGTbqBdaWgaaWcbaGaemivaqfabeaakiabgUcaRiabdofatnaaDaaaleaacqWGPbqAcqWGdbWqaeaacqaIYaGmaaGccqGGVaWlcqWGTbqBdaWgaaWcbaGaem4qameabeaakiabcMcaPmaaCaaaleqabaGaeGymaeJaei4la8IaeGOmaidaaaaa@56F6@

whose usefulness depends on an accurate estimate of the standard error (SE) of δ ¯ MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaiiGacuWF0oazgaqeaaaa@2E70@ i . Generally, there will be very few replications; thus the estimation of SE would be very unreliable and unstable. One solution is to discard genes with a small fold-change and very small standard deviations to avoid getting overoptimistic significant results.

Standard models for gene variance

There are two extreme cases to model this variance:

  • Independent gene-specific variance: In this scenario, σ i T 2 = σ i C 2 = σ i 2 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaiiGacqWFdpWCdaqhaaWcbaGaemyAaKMaemivaqfabaGaeGOmaidaaOGaeyypa0Jae83Wdm3aa0baaSqaaiabdMgaPjabdoeadbqaaiabikdaYaaakiabg2da9iab=n8aZnaaDaaaleaacqWGPbqAaeaacqaIYaGmaaaaaa@3DC0@ is estimated by:

    S i 2 = ( ( M T 1 ) S i T 2 + ( m C 1 ) S i C 2 ) ) / m T + m C 2 ) MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacqWGtbWudaqhaaWcbaGaemyAaKgabaGaeGOmaidaaOGaeyypa0JaeiikaGIaeiikaGIaemyta00aaSbaaSqaaiabdsfaubqabaGccqGHsislcqaIXaqmcqGGPaqkcqWGtbWudaqhaaWcbaGaemyAaKMaemivaqfabaGaeGOmaidaaOGaey4kaSIaeiikaGIaemyBa02aaSbaaSqaaiabdoeadbqabaGccqGHsislcqaIXaqmcqGGPaqkcqWGtbWudaqhaaWcbaGaemyAaKMaem4qameabaGaeGOmaidaaOGaeiykaKIaeiykaKIaei4la8IaemyBa02aaSbaaSqaaiabdsfaubqabaGccqGHRaWkcqWGTbqBdaWgaaWcbaGaem4qameabeaakiabgkHiTiabikdaYiabcMcaPaaa@54BC@

which has ν = m T + m C - 2 degrees of freedom. Under the null hypothesis, μ iT = μ iC , the standardised fold-change t i is distributed according to a t-distribution with ν degrees of freedom. This option has low power as it is based on very few replications. This makes estimation of the sample variances very unreliable and unstable, and this results in less powerful t-tests.

  • A constant variance: In this homoscedastic model, all genes are assumed to have the same variance σ2, which is estimated by:

    S 2 = 1 g i = 1 g S i 2 . MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacqWGtbWudaahaaWcbeqaaiabikdaYaaakiabg2da9maalaaabaGaeGymaedabaGaem4zaCgaamaaqahabaGaem4uam1aa0baaSqaaiabdMgaPbqaaiabikdaYaaaaeaacqWGPbqAcqGH9aqpcqaIXaqmaeaacqWGNbWza0GaeyyeIuoakiabc6caUaaa@3DD7@

This has a large number of replicates, totalling (m T + m C )g. The degrees of freedom of the variance estimate are now ν = (m T + m C - 2)g, which makes the statistic t i behave like a standard Normal (0,1) variate. However, a constant variance over all the genes is too unrealistic an assumption, and it increases the risk of a false positive result for a gene with a larger variance. On the other hand, there is a high risk of missing out on a truly differentiated gene having a small variance, and a large differential effect.

A mixture model for gene variance

Assuming that the log -ratios y itr and y icr' follow a normal distribution, then under the null hypothesis μ iT = μ iC the observed scaled gene-specific residual sum of squares w i = ν S i 2 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaiiGacqWF9oGBcqWGtbWudaqhaaWcbaGaemyAaKgabaGaeGOmaidaaaaa@3214@ is a scaled Chi-squared (χ2) variate with ν degrees of freedom, denoted by w i ~ ψ i 1 χ ν 2 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacqWG3bWDdaWgaaWcbaGaemyAaKgabeaakiabc6ha+HGaciab=H8a5naaDaaaleaacqWGPbqAaeaacqGHsislcqaIXaqmaaGccqWFhpWydaqhaaWcbaGae8xVd4gabaGaeGOmaidaaaaa@3B00@ with density:

g ( w i | ψ i , ν ) = ( ψ i ) ν / 2 2 ν / 2 Γ ( ν / 2 ) w i ν / 2 1 exp ( 1 2 ψ i w i ) MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacqWGNbWzcqGGOaakcqWG3bWDdaWgaaWcbaGaemyAaKgabeaakiabcYha8HGaciab=H8a5naaBaaaleaacqWGPbqAaeqaaOGaeiilaWIae8xVd4MaeiykaKIaeyypa0ZaaSaaaeaacqGGOaakcqWFipqEdaWgaaWcbaGaemyAaKgabeaakiabcMcaPmaaCaaaleqabaGae8xVd4Maei4la8IaeGOmaidaaaGcbaGaeGOmaiZaaWbaaSqabeaacqWF9oGBcqGGVaWlcqaIYaGmaaGccqqHtoWrcqGGOaakcqWF9oGBcqGGVaWlcqaIYaGmcqGGPaqkaaGaem4DaC3aa0baaSqaaiabdMgaPbqaaiab=17aUjabc+caViabikdaYiabgkHiTiabigdaXaaakiGbcwgaLjabcIha4jabcchaWjabcIcaOiabgkHiTmaalaaabaGaeGymaedabaGaeGOmaidaaiab=H8a5naaBaaaleaacqWGPbqAaeqaaOGaem4DaC3aaSbaaSqaaiabdMgaPbqabaGccqGGPaqkaaa@670B@

with mean ν/ψ i . Thus, the mean of the sample gene-specific variance S i 2 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacqWGtbWudaqhaaWcbaGaemyAaKgabaGaeGOmaidaaaaa@3055@ is 1/ψ i . However, the constant ψ i is unknown and must be estimated from the data. Instead of estimating ψ i separately for each gene, we consider modelling w i as independent observations from a finite mixture of χ2 distributions:

g ( w i | π , ψ , ν ) ~ j = 1 k π j g ( w i | ψ j , ν ) MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacqWGNbWzcqGGOaakcqWG3bWDdaWgaaWcbaGaemyAaKgabeaakiabcYha8HGaciab=b8aWjabcYcaSiab=H8a5jabcYcaSiab=17aUjabcMcaPiabc6ha+naaqahabaGae8hWda3aaSbaaSqaaiabdQgaQbqabaGccqWGNbWzcqGGOaakcqWG3bWDdaWgaaWcbaGaemyAaKgabeaakiabcYha8jab=H8a5naaBaaaleaacqWGQbGAaeqaaOGaeiilaWIae8xVd4MaeiykaKcaleaacqWGQbGAcqGH9aqpcqaIXaqmaeaacqWGRbWAa0GaeyyeIuoaaaa@5480@

where k is the number of latent components (classes); π = (π1, ..., π k ) are the mixture proportions with π j being the probability that a gene belongs to latent class j (π1 + + π k = 1); ψ = (ψ1, ..., ψ k ) are the component-specific χ2 distribution scaling constants and g(w i |ψ j , ν) are χ2 distributions with the scaled constant ψ j being specific to component j and ν = m T + m C - 2 is the common degrees of freedom, common for all components. The variance of the class j is σ j 2 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaiiGacqWFdpWCdaqhaaWcbaGaemOAaOgabaGaeGOmaidaaaaa@30F2@ = 1/ψ j , the variance of all the genes in class j.

In mixture modelling, it is convenient to formulate the model using a missing data problem, where each observation w i is assumed to arise from a specific but unknown component z i of the mixture. The model can be written in terms of the missing data z = z1, ..., z g , otherwise known as allocation variables, which are assumed to be independent realizations of discrete random variables Z1, ..., Z g with

Pr(Z i = j|π, ψ, ν) = π j (i = 1, ..., g; j = 1, ..., k).

Now, conditional on Z1, ..., Z g , the observed data w1, ..., w g are independent observations from g(w i |Z i = j, π, ψ, ν) ~ g(w i |ψ j , ν). Furthermore, summing over all the unknown Z1, ..., Z g , we get g ( w i | π , ψ , ν ) = j = 1 k P r ( Z i = j | π , ψ , ν ) g ( w i | Z i = j , π , ψ , ν ) = j = 1 k π j g ( w i | ψ j , ν ) MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacqWGNbWzcqGGOaakcqWG3bWDdaWgaaWcbaGaemyAaKgabeaakiabcYha8HGaciab=b8aWjabcYcaSiab=H8a5jabcYcaSiab=17aUjabcMcaPiabg2da9maaqadabaacbiGae4huaaLae4NCaihaleaacqWGQbGAcqGH9aqpcqaIXaqmaeaacqWGRbWAa0GaeyyeIuoakiabcIcaOiabdQfaAnaaBaaaleaacqWGPbqAaeqaaOGaeyypa0JaemOAaOMaeiiFaWNae8hWdaNaeiilaWIae8hYdKNaeiilaWIae8xVd4MaeiykaKIaem4zaCMaeiikaGIaem4DaC3aaSbaaSqaaiabdMgaPbqabaGccqGG8baFcqWGAbGwdaWgaaWcbaGaemyAaKgabeaakiabg2da9iabdQgaQjabcYcaSiab=b8aWjabcYcaSiab=H8a5jabcYcaSiab=17aUjabcMcaPiabg2da9maaqadabaGae8hWda3aaSbaaSqaaiabdQgaQbqabaGccqWGNbWzcqGGOaakcqWG3bWDdaWgaaWcbaGaemyAaKgabeaakiabcYha8jab=H8a5naaBaaaleaacqWGQbGAaeqaaOGaeiilaWIae8xVd4MaeiykaKcaleaacqWGQbGAcqGH9aqpcqaIXaqmaeaacqWGRbWAa0GaeyyeIuoaaaa@820A@ , which is just (10). We are interested in allocating gene i to component j based on its posterior classification probability π ij = Pr(Z i = j|w i , π, ψ, ν), the posterior probability of gene i belonging to the jthcomponent. This is given as :

π i j = P r ( Z i = j | w i , π , ψ , ν ) P r ( Z i = j | π , ψ , ν ) g ( w i | Z i = j , π , ψ , ν ) . MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaafaqadeGabaaabaacciGae8hWda3aaSbaaSqaaiabdMgaPjabdQgaQbqabaGccqGH9aqpieGacqGFqbaucqGFYbGCcqGGOaakcqWGAbGwdaWgaaWcbaGaemyAaKgabeaakiabg2da9iabdQgaQjabcYha8jabdEha3naaBaaaleaacqWGPbqAaeqaaOGaeiilaWIae8hWdaNaeiilaWIae8hYdKNaeiilaWIae8xVd4MaeiykaKcabaGaeyyhIuRae4huaaLae4NCaiNaeiikaGIaemOwaO1aaSbaaSqaaiabdMgaPbqabaGccqGH9aqpcqWGQbGAcqGG8baFcqWFapaCcqGGSaalcqWFipqEcqGGSaalcqWF9oGBcqGGPaqkcqWGNbWzcqGGOaakcqWG3bWDdaWgaaWcbaGaemyAaKgabeaakiabcYha8jabdQfaAnaaBaaaleaacqWGPbqAaeqaaOGaeyypa0JaemOAaOMaeiilaWIae8hWdaNaeiilaWIae8hYdKNaeiilaWIae8xVd4MaeiykaKIaeiOla4caaaaa@7126@

This simplifies to:

P r ( Z i = j | w i , π , ψ , ν ) = π j g ( w i | ψ j , ν ) l = 1 k π i l ( w i | ψ l , ν ) . MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaieGacqWFqbaucqWFYbGCcqGGOaakcqWGAbGwdaWgaaWcbaGaemyAaKgabeaakiabg2da9iabdQgaQjabcYha8jabdEha3naaBaaaleaacqWGPbqAaeqaaOGaeiilaWccciGae4hWdaNaeiilaWIae4hYdKNaeiilaWIae4xVd4MaeiykaKIaeyypa0ZaaSaaaeaacqaHapaCdaWgaaWcbaGaemOAaOgabeaakiabdEgaNjabcIcaOiabdEha3naaBaaaleaacqWGPbqAaeqaaOGaeiiFaWNae4hYdK3aaSbaaSqaaiabdQgaQbqabaGccqGGSaalcqGF9oGBcqGGPaqkaeaadaaeWaqaaiab+b8aWnaaBaaaleaacqWGPbqAcqWGSbaBaeqaaOGaeiikaGIaem4DaC3aaSbaaSqaaiabdMgaPbqabaGccqGG8baFcqGFipqEdaWgaaWcbaGaemiBaWgabeaakiabcYcaSiab+17aUjabcMcaPaWcbaGaemiBaWMaeyypa0JaeGymaedabaGaem4AaSganiabggHiLdaaaOGaeiOla4caaa@6CEB@

The allocation of gene i to component j is based on the highest posterior probability π ij over all the components. Genes in the same latent class j share the same variance 1/ψ j , the mean variance of all the n j genes in component j, estimated from a larger number of replicates than purely those per gene (n1 + … + n k = n). Parameters of the model can be estimated by the EM algorithm as shown in [17].

Quantities of interest, such as the posterior classification probabilities in (12), are estimated by plugging-in the point estimates π ^ MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaiiGacuWFapaCgaqcaaaa@2E80@ and ψ ^ MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaiiGacuWFipqEgaqcaaaa@2E91@ of π and ψ, respectively. Such plug-in estimates do not account for all the variability in estimating the model parameters and, as such, are more likely to underestimate the variance of the model parameters, which might inflate the significance levels. Aside from the problems associated with estimating the variability, the EM algorithm can sometimes have computational problems, not least in finding local maximum of the likelihood surface among several possible local maxima instead of the global maximum. In order to avoid the possibility of such problems, we propose a Bayesian hierarchical structure for the mixture model of the gene differential variance. We use an exchangeable gamma(ς, τ) prior on ψ i and a dirichlet(α1, ..., α k ) prior on π. The hyperparameters ς and τ can be influential, and therefore in our full Bayesian analysis, these are not fixed, but given vague hyper-priors.


  1. Amaratunga D, Cabrera J: Exploration and Analysis of DNA Microarray and Protein Array Data. 2004, New Jersey: Wiley

    Google Scholar 

  2. Brown PO, Bolstein D: Exploring the new world of the genome with microarrays. Nature Genetics. 1999, 21 (suppl 1): 33-37. 10.1038/4462.

    CAS  Article  PubMed  Google Scholar 

  3. Efron B, Tibshirani R, Storey JD, Tusher V: Empirical Bayes analysis of a microarray experiment. Journal of the American Statistical Association. 2001, 96: 1152-1160. 10.1198/016214501753382129.

    Article  Google Scholar 

  4. Lonnstedt I, Speed T: Replicated microarray data. Statist Sin. 2002, 12: 203-218.

    Google Scholar 

  5. Schena M, Heller RA, Theriault TP, Konrad K, Lachenmeier E, Davis RW: Microarrays: Biotechnology's Discovery Platform for Functional Genomics. Trends in Biotechnology. 1998, 16: 301-306. 10.1016/S0167-7799(98)01219-0.

    CAS  Article  PubMed  Google Scholar 

  6. Li C, Tseng GC, Wong WH: Model-based analysis of oligonucleotide arrays and issues in CDNA microarray analysis. Statistical Analysis of Gene Expression Microarray Data. Edited by: Speed T. 2003, Boca Raton, Florida: Chapman & Hall, 1-34.

    Google Scholar 

  7. Yang YH, Speed T: Design and analysis of comparative microarray experiments. Statistical Analysis of Gene Expression Microarray Data. Edited by: Speed T. 2003, Boca Raton, Florida: Chapman & Hall, 35-91.

    Google Scholar 

  8. Tusher V, Tibshirani R, Gilbert C: Significance analysis of microarrays applied to the ionizing radiation response. Proceedings of the National Academy of Sciences, USA. 2001, 98: 5116-5121. 10.1073/pnas.091062498.

    CAS  Article  Google Scholar 

  9. Dean N, Raftery AE: Normal uniform mixture differential gene expression detection for cDNA microarrays. BMC Bioinformatics. 2005, 6: 173-10.1186/1471-2105-6-173.

    PubMed Central  Article  PubMed  Google Scholar 

  10. Efron B, Tibshirani R: Empirical Bayes methods and false discovery rates for microarrays. Genetic Epidemiology. 2002, 23: 70-86. 10.1002/gepi.1124.

    Article  PubMed  Google Scholar 

  11. Broet P, Richardson S, Radvanyi F: Bayesian hierachical model for identifying changes in gene expression from microarray experiments. Journal of Computational Biology. 2002, 9: 671-683. 10.1089/106652702760277381.

    CAS  Article  PubMed  Google Scholar 

  12. Richardson S, Green PJ: On Bayesian analysis of mixtures with an unknown number of components (with discussion). Journal of the Royal Statistical Society, Ser. B. 1997, 59: 731-792. 10.1111/1467-9868.00095.

    Article  Google Scholar 

  13. Newton MA, Kendziorski CM, Richmond CS, Blattner FR, Tsui KW: On differential variability of expression ratios: Improving statistical inference about gene expression changes from microarray data. Journal of Computational Biology. 2001, 8: 37-52. 10.1089/106652701300099074.

    CAS  Article  PubMed  Google Scholar 

  14. Pan W, Lin J, le Delmar CT: A mixture model approach to detecting differentially expressed genes with microarray data. Fund Integr Genomics. 2003, 3: 117-1402. 10.1007/s10142-003-0085-7.

    CAS  Article  Google Scholar 

  15. Baldi P, Long AD: A Bayesian framework for the analysis of microarray expression data: regularised t-test and statistical inferences of gene expression changes. Bioinformatics. 2001, 17: 509-519. 10.1093/bioinformatics/17.6.509.

    CAS  Article  PubMed  Google Scholar 

  16. Lewin A, Richardson S, Marshall C, Glazier A, Aitman T: Bayesian modelling of differential gene expression. Biometrics. 2005, 62: 10-18. 10.1111/j.1541-0420.2005.00394.x.

    Article  Google Scholar 

  17. Delmar P, Robin S, Roux DT, Daudin JJ: Mixture model on the variance for differential analysis of gene expression data. Journal of the Royal Statistical Society, C. 2005, 54: 31-50. 10.1111/j.1467-9876.2005.00468.x.

    Article  Google Scholar 

  18. Ji Y, Wu C, Liu P, Wang J, Coombes KR: Applications of beta-mixture models in bioinformatics. Bioinformatics. 2005, 21:

    Google Scholar 

  19. Spiegelhalter D, Thomas A, Best N, Lunn D: BUGS: Bayesian Inference Using Gibbs Sampling, Version 1.4. 2003, MRC Biostatistics Unit: Cambridge

    Google Scholar 

  20. Alizadeh AA, Eisen MB, Davis RE, Ma C, Lossos IS, Rosenwald A, Boldrick JC, Sabet H, Tran T, Yu X, Powell JI, Yang L, Marti GE, Moore T, Hudson J, Lu L, Lewis DB, Tibshirani R, Sherlock G, Chan WC, Greiner TC, Weisenburger DD, Armitage JO, Warnke R, Levy R, Wilson W, Grever MR, Byrd JC, Botstein D, Brown PO, Staudt LM: Distinct types of diffuse large B-cell lymphoma identified by gene expression profilling. Nature. 2000, 403: 503-511. 10.1038/35000501.

    CAS  Article  PubMed  Google Scholar 

  21. Oliveira-Brochado A, Martins FV: Assessing the number of components in mixture models: a review. Research-Work In Progress – n. 194. Faculty de Economia. University of Porto

  22. Brame R, Nagin DS, Wasserman L: Exploring some analytical characterictics of finite mixture modes. Journal of Quantitative Criminology. 2006, 22: 31-59. 10.1007/s10940-005-9001-8. 2118–2122

    Article  Google Scholar 

  23. Huber W, von Heydebreck A, Sultmann H, Poustka A, Vingron M: Variance stabilization applied to microarray data calibration and to the quantification of differential expression. Bioinformatics. 2002, 18: S96-S104.

    Article  PubMed  Google Scholar 

  24. Gentleman RC, Carey VJ, Bates DM, Bolstad B, Dettling M, Dudoit S, Ellis B, Gautier L, Ge Y, Gentry J, Hornik K, Hothorn T, Huber W, Iacus S, Irizarry R, Leisch F, Li C, Maechler M, Rossini AJ, Sawitzki G, Smith C, Smyth G, Tierney L, Yang JYH, Zhang J: Bioconductor: open software development for computational biology and bioinformatics. Genome Biology. 2004, 5 (10): R80-10.1186/gb-2004-5-10-r80. Sep 15

    PubMed Central  Article  PubMed  Google Scholar 

Download references


SOMM gratefully acknowledges the support of the Medical Research Council (MRC) (Grant Ref G0400908). REW was funded by the Engineering and Physical Sciences Research Council (EPSRC) on a postgraduate fellowship and MSG was funded by the Higher Education Funding Council of England (HEFCE). We thank two anonymous referees for their very helpful and constructive comments.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Samuel OM Manda.

Additional information

Competing interests

The funding bodies were not involved at all at any stage of the manuscript preparation. There are no competing interests and the authors have nothing to declare.

Authors' contributions

SOMM and MSG conceived the original idea. SOMM researched, developed the methodology, designed and fitted the Bayesian model, interpreted the analyses, and wrote the first and subsequent drafts. REW extracted and prepared the data and ran the EM algorithm macro supplied by [17]. MSG reviewed and commented on the drafts. All authors read and approved the final version.

Authors’ original submitted files for images

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

Authors’ original file for figure 1

Authors’ original file for figure 2

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 (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and Permissions

About this article

Cite this article

Manda, S.O., Walls, R.E. & Gilthorpe, M.S. A full Bayesian hierarchical mixture model for the variance of gene differential expression. BMC Bioinformatics 8, 124 (2007).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI:


  • Mixture Model
  • Bayesian Information Criterion
  • Latent Class
  • Bayesian Hierarchical Model
  • Chronic Lymphatic Leukaemia