Detecting differential expression in microarray data: comparison of optimal procedures
 Elena Perelman†^{1},
 Alexander Ploner†^{1},
 Stefano Calza^{1, 2} and
 Yudi Pawitan^{1}Email author
DOI: 10.1186/14712105828
© Perelman et al; licensee BioMed Central Ltd. 2007
Received: 22 August 2006
Accepted: 26 January 2007
Published: 26 January 2007
Abstract
Background
Many procedures for finding differentially expressed genes in microarray data are based on classical or modified tstatistics. Due to multiple testing considerations, the false discovery rate (FDR) is the key tool for assessing the significance of these test statistics. Two recent papers have generalized two aspects: Storey et al. (2005) have introduced a likelihood ratio test statistic for twosample situations that has desirable theoretical properties (optimal discovery procedure, ODP), but uses standard FDR assessment; Ploner et al. (2006) have introduced a multivariate local FDR that allows incorporation of standard error information, but uses the standard tstatistic (fdr2d). The relationship and relative performance of these methods in twosample comparisons is currently unknown.
Methods
Using simulated and real datasets, we compare the ODP and fdr2d procedures. We also introduce a new procedure called S2d that combines the ODP test statistic with the extended FDR assessment of fdr2d.
Results
For both simulated and real datasets, fdr2d performs better than ODP. As expected, both methods perform better than a standard tstatistic with standard local FDR. The new procedure S2d performs as well as fdr2d on simulated data, but performs better on the real data sets.
Conclusion
The ODP can be improved by including the standard error information as in fdr2d. This means that the optimality enjoyed in theory by ODP does not hold for the estimated version that has to be used in practice. The new procedure S2d has a slight advantage over fdr2d, which has to be balanced against a significantly higher computational effort and a less intuititive test statistic.
Background
Highthroughput methods in molecular biology have challenged existing data analysis methods and stimulated the development of new methods. A key example is the gene expression microarray and its use as a screening tool for detecting genes that are differentially expressed (DE) between different biological states. The need to identify a possibly very small number of regulated genes among the 10,000s of sequences found on modern microarray chips, based on tens to hundreds of biological samples, has led to a plethora of different methods. The emerging consensus in the field [1] suggests that a) despite ongoing research on pvalue adjustments [2], false discovery rates (FDR, [3]) are more practical for dealing with the multiplicity problem, and b) classical test statistics requires modification to limit the influence of unrealistically small variance estimates. Nonetheless, many competing methods for detecting DE exist, and even attempts at validation on data sets with known mRNA composition [4] cannot offer definitive guidelines.
In this context, the introduction of the socalled optimal discovery procedure (ODP, [5]) constitutes a major conceptual achievement. Building on the NeymanPearson lemma for testing an individual hypothesis, the author shows that an extension of the likelihood ratio test statistic for multiple parallel hypotheses (or genes) is the optimal procedure for deciding whether any specific gene is in fact DE: for any fixed number of false positive results, ODP will identify the maximum number of true positives. The ODP establishes therefore a theoretical optimum for detecting DE against which any other method can be measured.
Unfortunately, the optimality of ODP is a strictly theoretical result that requires, for all genes, a full parametric specification of the densities under null and alternative hypothesis. In practice, even assuming normality, the genewise means and variances are unknown, and they become nuisance parameters in the hypothesis testing. Consequently, the authors of [6] have suggested an estimated version EODP, which can be implemented in practice. It is, however, not clear how EODP performs compared to the theoretical optimum, or other existing methods, except under the most benign circumstances (no correlation and equal variances between genes).
The main questions of this paper are therefore a) whether the optimality of ODP is retained by EODP, and b) whether we can improve on EODP's performance in practice. Previously, we have introduced a multidimensional extension of the FDR procedure (fdr2d) that combines standard error information with the classical tstatistic. We demonstrated that the fdr2d performs as well or better than the usual modified tstatistics, without requiring extra modeling or model assumptions [7]. In this paper, we show that fdr2d also outperforms EODP on simulated and real data sets. We also demonstrate how a synthesis of the EODP and fdr2d procedures can further improve the power to detect DE.
The twosample problem
We demonstrate the application of EODP and fdr2d in the common situation where we want to detect genes that are DE between two biological states. We assume n_{1} and n_{2} arrays for each group, each containing probes for m genes. For gene i, we observe a vector of expression values x_{ i } of length n_{1} + n_{2}, which consists of the observations x_{ i1 } in the first group, and x_{ i2 } in the second group. We define the groupwise means and standard deviations as usual, and refer to the pooled standard deviation as
Furthermore, we assume that we are dealing with a random mixture of DE and nonDE genes, with a proportion π_{0} of genes being nonDE.
ODP statistics
The theoretical ODP statistic assumes that for all i = 1, ... m genes, the density functions of the expression values under the null hypothesis of no DE, f_{ i }, and under the alternative hypothesis of DE, g_{ i }, are fully known in advance. For the random mixture of DE and nonDE genes outlined above, the ODP statistic for the observed expression values x_{ i } of the ithe gene can then be written as
The procedure then rejects the null hypothesis for all genes i with S_{ i }≡ S(x_{ i }) ≥ λ, i.e. all genes with large S_{ i }are declared to be DE. Using the NeymanPearson Lemma, it can be shown that this procedure is optimal in the sense that for any prespecified false positive rate (which will determine λ), the ODP will have the maximum true positive rate. This optimality property can also be expressed in terms of FDR [5].
Requiring full specification of all null and alternative distributions, however, is impractical. In any realistic application, only an estimated ODP statistic
is feasible, where the densities ${\widehat{f}}_{i}$ and ${\widehat{g}}_{i}$ are estimated from the data. In [6], the authors propose to assume that all genes follow a normal distribution (possibly after suitable transformation); under this assumption, only means and variances have to be estimated from the data. In our twosample situation, this amounts to
where φ(·μ, σ^{2}) is the jointdensity for the normal distribution with mean μ and variance σ^{2}.
Conceptually, under the null hypothesis, we have the usual estimates ${\widehat{\mu}}_{j}={\overline{x}}_{j}$ and ${\widehat{\sigma}}_{j0}^{2}={s}_{j}^{2}$ from the combined data, and under the alternative hypothesis, the corresponding groupwise means ${\widehat{\mu}}_{j1}={\overline{x}}_{j1}$ and ${\widehat{\mu}}_{j2}={\overline{x}}_{j2}$ with the pooled sample variance ${\widehat{\sigma}}_{j1}^{2}={\tilde{s}}_{j}^{2}$. For the practical implementation, we follow [6] and prenormalize all genes to have zero mean.
The second step in applying the ODP to data is the calibration of the procedure. There is no distribution theory for the statistic, so it is not clear how to choose the threshold λ to achieve a desired FDR level. [6] suggest a conventional algorithm that computes the estimated ODP statistic $\widehat{S}$ under random permutations of the group labels; they use the resulting null distribution of $\widehat{S}$ to compute the qvalue for each gene, which represents its global FDR (e.g. [8]). We follow this approach for our implementation, but use the local false discovery rate (fdr, see [9] and below), with essentially identical results as theirs.
Multidimensional local false discovery rate
FDR approaches focus on the distribution of the specific statistic Z used to test the genewise null hypotheses, in contrast to ODP, which is based on the distribution of the data. Given a mixture of DE and nonDE genes as described above, the density f of Z can be written as
f(z) = π_{0}f_{0}(z) + (1  π_{0})f_{1}(z), (2)
where f_{0} and f_{1} are the densities of the test statistic Z for nonDE and DE genes, respectively, and π_{0} the proportion of truly nonDE genes. The local fdr for any observed value z of the test statistic is then
and can be interpreted as the expected rate of false positives among genes with test statistic z, see [9]. Practically, the densities f can be estimated from the histograms of the test statistics computed from the real data, and f_{0} is estimated similarly from the test statistics computed from permuted data.
Formulated as a decision procedure like ODP, we specify a test statistic Z and a desired threshold α for the local fdr; we then compute for each gene the value of the test statistic z_{ i }= Z(x_{ i }) and the decision criterion fdr_{ i }= fdr(z_{ i }) and declare genes with fdr_{ i }<α to be DE.
As the more usual global FDR of a set of test statistics is just the average of their local fdr [9], little seems to be gained by using the local fdr. Note, however, that Equations (2) and (3) still hold if we replace the univariate test statistic Z by a vector Z of test statistics. We have recently shown that for the twosample problem, using a bivariate test statistic and the associated twodimensional fdr is more powerful than conventional FDR for univariate test statistics [7]. Specifically, the test statistic Z = (Z_{1}, Z_{2}) with
Z_{1} = t and Z_{2} = log se, (4)
where t is the usual t statistic, and se the standard error of the mean,
yields smaller fdr not only compared to the conventional tstatistic on its own, but also compared to a number of popular modified tstatistics [10–12].
In the following, we will use the abbreviations fdr1d and fdr2d for local fdr computed based on univariate and bivariate test statistics, respectively. Note that in practice, the fdr2d is estimated in a similar manner as the fdr1d, using twodimensional histograms instead of onedimensional histograms, together with a somewhat more sophisticated binomial smoothing procedure, see [7] for details.
Procedures to be evaluated
 1.
t1d uses the standard tstatistic with conventional fdr1d and serves as a reference.
 2.
S1d uses the logarithm of $\widehat{S}$ in (1) with fdr1d; this procedure is equivalent to the estimated version of ODP described in [6] and its implementation in the EDGE software.
 3.
t2d uses the test statistic in (4) for calculating fdr2d; this is the same procedure as described in [7].
 4.
S2d is a novel procedure that combines the logarithm of $\widehat{S}$ and the standard error for computing fdr2d, see below.
Results
Feasibility of S2d
We first evaluate the S2d procedure, based on the bivariate test statistic
Z_{1} = log$\widehat{S}$ and Z_{2} = log se,
with $\widehat{S}$ defined as in (1) and se as in (4). The only practical concern is that the smoothing procedure described in [7] may have problems with $\widehat{S}$. Indeed, the reason for taking the logarithms of the test statistics is to facilitate smoothing, by avoiding crowding at the boundary values.
see [7]. Figures 1(c) and 1(d) show S1d (black) overlayed with the averaged S2d (red) for both data sets, with excellent agreement. This indicates that the smoothing required for computing S2d has been successful. This is consistent with the relationship between tstatistics and log$\widehat{S}$ for the data at hand (not shown, but see e.g. Figure 1 in [5]), which is essentially linear for genes with tstatistic t > 1, suggesting that the same general smoothing procedure is applicable.
Performance on simulated data sets
 1.
Variances can be 'similar' (effectively the same) across genes, 'balanced', which allows for moderate differences in variance between genes, and 'variable', which allows large differences.
 2.
In the 'symmetric' case, roughly 50% of the DE genes are up and down regulated; in the 'asymmetric' case, only about 20% of all genes are downregulated, the rest is upregulated.
We have included the asymmetric scenario, because this is where ODP is expected to perform better than standard methods in a theoretical setting [5]. All expression values are assumed to follow a normal distribution; see Methods for further details of the simulation procedure.
For each scenario, we generate 100 data sets, for a total of 10^{6} genes. For each procedure, the fdr values are computed by keeping track of the DE status of each gene, grouping the genes in intervals (1d) or grid cells (2d) based on their test statistic, and computing the percentage of false positives in each interval or cell.
There is little or no difference in relative performance between the procedures under the symmetric and asymmetric scenarios in Figure 2. It is also clear that the differences in performance are most pronounced when the variances are similar, less so when the variances are balanced, and minor when the variances are highly variable. The ranking of the different procedures is consistent through all six scenarios: as expected, t1d has the worst performance; equally as expected, S1d does clearly better than t1d. Novel findings of this paper are that a) t2d does still better than S1d, and b) S2d improves over t2d, although only marginally.
Performance on real datasets
We evaluate the performance of the different procedures on two real data sets:

The BRCA data [13] contains 3,170 genes and was collected from 15 patients with hereditary breast cancer, who had mutations either of the BRCA1(n = 7) or the BRCA2 gene (n = 8).

The Lymphoma data [14] contains 7,399 genes and was collected from 240 patients with diffuse large Bcell lymphoma, comprising n_{1} = 102 survivors and n_{2} = 138 nonsurvivors.
Here, the local fdr estimates are computed based on the mixture model (2). The estimate of f is computed by smoothing the histograms of the observed statistics, and similarly f_{0} from permuted test statistics. The permuted statistics are obtained from permutations of the group labels to generate the null distribution. Technically, we also need an estimate ${\widehat{\pi}}_{0}$ of the proportion of nonDE genes, although for the purpose of comparing the different procedures, it does not matter which estimate, as long as we use the same value for all procedures, see Methods. In fact, in comparing different FDR procedures, it is important that this parameter is set to the same value.
For each procedure, we rank the genes by their estimated fdr, and compute their estimated global FDR among the topranked genes as the cumulative mean of their local fdrs. The global FDR is then plotted as a function of the percentage of genes declared DE. For comparison purposes, we also include the FDR as computed by the EDGE software.
Discussion
The main motivation for using the FDR has been that it offers a way of dealing with multiplicity that is less restrictive and more powerful than traditional pvalue adjustments. The challenge is how to explicitly exploit the multiplicity by pooling information across genes in order to make the FDR even more powerful.
In the case of t1d, the test statistic is computed genebygene and does not use information shared with other genes. Moderated tstatistics [10–12], which borrow strength across genes for estimating standard errors, are more powerful than simple tstatistics. The ODP appears to be the ultimate in combining information, where to some extent all genes contribute to the statistic for each other gene. The fdr2d approach on the other hand augments the grouping of genes based on individual test statistics by subgrouping them based on their variability. In all cases we find that when there are few instances of genes with similar variability, the performance of the different methods tends to converge towards the simple t1d (Figures 2(e) and 2(f)).
From a practical point of view, it seems that the smoothing procedure underlying our implementation of fdr2d seems to work as well for the statistic log$\widehat{S}$ in S2d as for the tstatistics in t2d, and arguably even better: when comparing Figures 1(c) and 1(d) in this paper with Figures 4(a) and 4(b) in [7], we find in the former less of a tendency to underestimate the fdr for genes with small effect sizes, as discussed in the previous paper.
At first glance, the empirical ODP statistic seems to rely on the assumption that the expression values for all genes are normally distributed. From a practical point of view, however, the empirical ODP procedure works even if the normal assumption does not hold, because it relies on the permutation algorithm. In this sense, the normal densities in (1) only represent a scoring function that exponentially downweights contributions from genes with different mean structure and/or large variability. However, the performance of the empirical ODP will depend on how precisely the normal assumption holds for the data at hand. Some loss of the optimality property in the real data applications is probably due to nonnormality. But even in the simulations, the empirical ODP is not better than t2d. This can only mean that the presence of large number of nuisance parameters degrades the performance of ODP.
Conclusion
The estimation of the nuisance parameters required to apply the ODP in practice makes the procedure described in [6] no longer optimal. We have shown in this paper that the combination of a conventional tstatistic with the standard error of the mean as described in [7] can outperform the empirical ODP. Further improvements can be made by combining the ODP test statistic with standard error information, but the gains are comparatively small.
The ODP procedure exploits similarities in the distribution for a collection of genes, for example similarity in variance. When variances between genes are dissimilar, there is little gain by the ODP compared to the standard tstatistic. One advantage of the ODP over the modified tstatistics is that the adaption is done automatically, without calculating a modelbased or heuristic fudge factor for the denominator.
The computational demand of calculating the ODP statistic is a serious practical disadvantage: each density term f(x) or g(x) requires computation across the whole dataset, so a single ODP statistic already involves substantial computations. Doing this for the whole collection of genes and for repeated permutations of the group labels is an order of magnitude more laborious than the computation required for the standard statistics.
Methods
Simulation scenarios
Our model for simulating microarray data is based on the model described in [12]. We assume that the expression values for all m genes are normally distributed (possibly after suitable transformation), and that their variances ${\tilde{s}}_{i}^{2}=\frac{({n}_{1}1){s}_{i1}^{2}+({n}_{2}1){s}_{i2}^{2}}{{n}_{1}+{n}_{2}2}.$${\sigma}_{i}^{2}$ vary randomly between genes, following the scaled inverse of a χ^{2}distribution. Values are simulated for two groups of n_{1} and n_{2} arrays. Each gene i = 1, ... m to is selected randomly with probability π_{0} to be DE. For genes that are picked as nonDE, the mean value in both groups is set to zero; for genes that are selected as DE, the mean in the first group is set to zero, and the mean in the second group is drawn randomly from a normal distribution whose variance is proportional to the genespecific variance ${\sigma}_{i}^{2}$.
 1.
Initialize the design with m = 10,000 genes, proportion of nonDE genes π_{0} = 0.8, and two groups with n_{1} = n_{2} = 7.
 2.
For each gene i = 1, ... m, draw a genespecific variance from
 3.
For each gene i = 1,... m, determine randomly with probability π_{0} whether it is to be DE or not.
 (a)
In case of nonDE, set μ_{1} = μ_{2} = 0.
 (b)
In case of DE, set μ_{1} = 0 and draw μ_{2} randomly from
D_{ i }~ N(0, v_{0}${\sigma}_{i}^{2}$),
 i.
In case of an asymmetric scenario, set the sign of μ_{2} to positive with probability 0.8, and to negative otherwise.
 4.
Simulate n_{1} and n_{2} values in the first and second group, respectively, following normal distributions
X_{.i 1}~ N(μ_{1}, ${\sigma}_{i}^{2}$),
X_{.i 2}~ N(μ_{2}, ${\sigma}_{i}^{2}$).
Following [12], we set the constants to ${s}_{0}^{2}$ = 4 and v_{0} = 2 in our simulations. The amount of variability of the genewise variances is controlled via the parameter d_{0}: the three scenarios described in the Results section correspond to d_{0} = 1000 (similar variances across genes), d_{0} = 12 (balanced, with moderate differences between genes), and d_{0} = 2 (variable, with large variability in variances).
For each scenario, we then generate 100 data sets, for a total of 10^{6} genes. For each procedure, the true local fdr of the genes is estimated from the known DE status of each simulated gene, simply as the proportion of false positives in each histogram interval or grid cell. This means specifically that no permutation, smoothing, or estimation of π_{0} is required.
Real data sets
The permutation and smoothing approach used for estimating the fdr values for real data has been described in detail in [9] and [7]. The estimates ${\widehat{\pi}}_{0}$ for the proportion of nonDE genes are based on a mixture model for the observed distribution of tstatistics, consisting of one central and several noncentral tdistributions; we have shown previously that the weight of the central tdistribution can be a less biased estimate of π_{0} in the presence of genes with small effects than the usual estimate based on the distribution of pvalues ([17]). The same estimates have been used previously in [7].
The BRCA data set [13] was collected from patients with hereditary breast cancer who had mutations either of the BRCA1(n = 7) or the BRCA2 gene (n = 8). Expression was originally reported for 3,226 genes, but following [8], we removed 56 extremely variable genes and analysed only the remaining 3,170 genes. For all four procedures, we used ${\widehat{\pi}}_{0}$ = 0.61, and we evaluated 500 permutations of the group labels.
The Lymphoma data set [14] was collected from 240 patients with diffuse large Bcell lymphoma, n_{1} = 102 of whom survived the study period, and n_{2} = 138 of whom did not. We used all 7,399 genes reported in the original article. For all four procedures, we used ${\widehat{\pi}}_{0}$ = 0.59, and we evaluated 500 permutations of the group labels.
All expression values were logged prior to analysis.
Software
Methods t1d and t2d are implemented in the R package OCplus, which is freely available at the Bioconductor website [18]. R code implementing S1d and S2d is available from the authors on request. EDGE, the official implementation of EODP described in [19], is available at [20].
Declarations
Acknowledgements
This work was partially supported by a research grant from the Swedish Cancer Foundation.
Authors’ Affiliations
References
 Allison DB, Cui X, Page GP, Sabripour M: Microarray data analysis: from disarray to consolidation and consensus. Nat Rev Genet 2006, 7: 55–65. 10.1038/nrg1749View ArticlePubMed
 Datta S, Datta S: Empirical Bayes screening of many pvalues with applications to microarray studies. Bioinformatics 2005, 21(9):1987–94. 10.1093/bioinformatics/bti301View ArticlePubMed
 Benjamini Y, Hochberg Y: Controlling the false discovery rate – A practical and powerful approach to multiple testing. J Roy Stat Soc B 1995, 57: 289–300.
 Choe S, Boutros M, Michelson A, Church G, Halfon M: Preferred analysis methods for Affymetrix GeneChips revealed by a wholly defined control dataset. Genome Biology 2005, 6(2):R16. 10.1186/gb200562r16PubMed CentralView ArticlePubMed
 Storey JD: The Optimal Discovery Procedure: A New Approach to Simultaneous Significance Testing. UW Biostatistics Working Paper Series Working Paper 259 2005. [http://www.bepress.com/uwbiostat/paper259]
 Storey JD, Dai JY, Leek JT: The Optimal Discovery Procedure for LargeScale Significance Testing, with Applications to Comparative Microarray Experiments. UW Biostatistics Working Paper Series Working Paper 260 2005. [http://www.bepress.com/uwbiostat/paper260]
 Ploner A, Calza S, Gusnanto A, Pawitan Y: Multidimensional local false discovery rate for microarray studies. Bioinformatics 2006, 22(5):556–565. 10.1093/bioinformatics/btk013View ArticlePubMed
 Storey JD, Tibshirani R: Statistical significance for genomewide studies. Proc Natl Acad Sci USA 2003, 100(16):9440–5. 10.1073/pnas.1530509100PubMed CentralView ArticlePubMed
 Efron B, Tibshirani R, Storey J, Tusher V: Empirical Bayes Analysis of a Microarray Experiment. J Am Stat Soc 2001, 96(456):1151–1160.View Article
 Efron B, Tibshirani R, Chu GossGV: Microarrays and their use in a comparative experiment. Technical report Stanford University; 2000. [http://wwwstat.stanford.edu/~tibs/research.html]
 Tusher V, Tibshirani R, Chu G: Significance analysis of microarrays applied to the ionizing radiation response. PNAS 2001, 98(9):5116–5121. 10.1073/pnas.091062498PubMed CentralView ArticlePubMed
 Smyth G: Linear Models and Empirical Bayes Methods for Assessing Differential Expression in Microarray Experiments. Statistical Applications in Genetics and Molecular Biology 2004, 3: Article 3. [http://www.bepress.com/sagmb/vol3/issl/art3] 10.2202/15446115.1027View Article
 Hedenfalk I, Duggan D, Chen Y, Radmacher M, Bittner M, Simon R, Meltzer P, Gusterson B, Esteller M, Kallioniemi OP, Wilfond B, Borg A, Trent J: Geneexpression profiles in hereditary breast cancer. N Engl J Med 2001, 344(8):539–48. 10.1056/NEJM200102223440801View ArticlePubMed
 Rosenwald A, Wright G, Chan WC, Connors JM, Campo E, Fisher RI, Gascoyne RD, MullerHermelink HK, Smeland EB, Giltnane JM, Hurt EM, Zhao H, Averett L, Yang L, Wilson WH, Jaffe ES, Simon R, Klausner RD, Powell J, Duffey PL, Longo DL, Greiner TC, Weisenburger DD, Sanger WG, Dave BJ, Lynch JC, Vose J, Armitage JO, Montserrat E, LApezGuillermo A, Grogan TM, Miller TP, LeBlanc M, Ott G, Kvaloy S, Delabie J, Holte H, Krajci P, Stokke T, Staudt LM, Project LMP: The use of molecular profiling to predict survival after chemotherapy for diffuse largeBcell lymphoma. N Engl J Med 2002, 346(25):1937–47. 10.1056/NEJMoa012914View ArticlePubMed
 Pounds S, Cheng C: Improving false discovery rate estimation. Bioinformatics 2004, 20(11):1737–45. 10.1093/bioinformatics/bth160View ArticlePubMed
 Pounds S, Cheng C: Robust estimation of the false discovery rate. Bioinformatics 2006, 22(16):1979–1987. 10.1093/bioinformatics/btl328View ArticlePubMed
 Pawitan Y, Murthy KRK, Michiels S, Ploner A: Bias in the estimation of false discovery rate in microarray studies. Bioinformatics 2005, 21(20):3865–3872. 10.1093/bioinformatics/bti626View ArticlePubMed
 Bioconductor[http://www.bioconductor.org]
 Leek JT, Monsen E, Dabney AR, Storey JD: EDGE: extraction and analysis of differential gene expression. Bioinformatics 2006, 22(4):507–508. 10.1093/bioinformatics/btk005View ArticlePubMed
 EDGE[http://www.biostat.washington.edu/software/jstorey/edge]
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.