 Methodology article
 Open Access
 Published:
A comparative review of estimates of the proportion unchanged genes and the false discovery rate
BMC Bioinformatics volume 6, Article number: 199 (2005)
Abstract
Background
In the analysis of microarray data one generally produces a vector of pvalues that for each gene give the likelihood of obtaining equally strong evidence of change by pure chance. The distribution of these pvalues is a mixture of two components corresponding to the changed genes and the unchanged ones. The focus of this article is how to estimate the proportion unchanged and the false discovery rate (FDR) and how to make inferences based on these concepts. Six published methods for estimating the proportion unchanged genes are reviewed, two alternatives are presented, and all are tested on both simulated and real data. All estimates but one make do without any parametric assumptions concerning the distributions of the pvalues. Furthermore, the estimation and use of the FDR and the closely related qvalue is illustrated with examples. Five published estimates of the FDR and one new are presented and tested. Implementations in R code are available.
Results
A simulation model based on the distribution of real microarray data plus two real data sets were used to assess the methods. The proposed alternative methods for estimating the proportion unchanged fared very well, and gave evidence of low bias and very low variance. Different methods perform well depending upon whether there are few or many regulated genes. Furthermore, the methods for estimating FDR showed a varying performance, and were sometimes misleading. The new method had a very low error.
Conclusion
The concept of the qvalue or false discovery rate is useful in practical research, despite some theoretical and practical shortcomings. However, it seems possible to challenge the performance of the published methods, and there is likely scope for further developing the estimates of the FDR. The new methods provide the scientist with more options to choose a suitable method for any particular experiment. The article advocates the use of the conjoint information regarding false positive and negative rates as well as the proportion unchanged when identifying changed genes.
Background
The microarray technology permits the simultaneous measurement of the transcription of thousands of genes. The analysis of such data has however turned out to be quite a challenge. In drug discovery, one would like to know what genes are involved in certain pathological processes, or what genes are affected by the intervention of a particular compound. A more basic question is 'How many genes are affected or changed?' It turns out that the answer to this basic question has a bearing on the other questions.
The proportion unchanged
In the twocomponent model for the distribution of the test statistic the mixing parameter p_{0}, which represents the proportion unchanged genes, is not estimable without strong distributional assumptions, see [1]. Assuming this model the probability density function (pdf) f^{t}of a test statistic t may be written as the weighted sum of the null distribution pdf and the alternative distribution pdf
If, on the other hand, we know the value of p_{0} we can estimate e.g. through a bootstrap procedure as described in [1], and thus obtain also .
The mixing parameter p_{0} has attracted a lot of interest lately. Indeed it is interesting for a number of applications. Here follow four examples.

1)
Knowing the proportion changed genes in a microarray experiment is of interest in its own right. It gives an important global measure of the extent of the changes studied.

2)
The next example concerns FDR. Suppose we reject null hypothesis j, and call gene j significantly regulated, when the corresponding pvalue p_{ j }falls below some cutpoint α. The question that motivates the FDR concept, which originates from [2], is: "What proportion of false positives is expected among the selected genes?" A goal would then be to quantify this proportion, and one possible estimate is
where '^' above a quantity (here and henceforth) means that it is a parameter estimate, P_{(L)}is the largest pvalue not exceeding α and p(α) is the proportion significantly regulated genes which equals the proportion of the pvalues not exceeding α, see also [3]. In practice P_{(L)}will be very close to α, and may be replaced by the latter. We thus obtain an estimate of p_{0} × α/p(α), which verbally translates into "the number of true null cases (Np_{0}) multiplied by their probability of ending up on the top list (α) divided by the number of selected cases (Np(α))". Putting p_{0} ≡ 1 above and rejecting hypotheses j with the estimated FDR(p_{ j }) less than or equal to β, will give a test procedure controlling the FDR at the level β, i.e. we may expect that the FDR is no more than β [2–4]. By finding good estimates of p_{0} (and FDR) we may increase the power to detect more true positives at a given FDR bound.

3)
Knowing p_{0}, we may calculate the posterior probability of a gene being a Differentially Expressed Gene (a DEG) as
see [1]. Also, (3) equals one minus the local false discovery rate: 1  p_{1}(x) = LFDR(x) = p_{0} f^{t}_{0}(x) / f^{t}(x) [1].

4)
Knowing p_{0}, it is also possible to estimate the number of false positives and false negatives at a given cutpoint α as a proportion of the total number of genes. Call these proportions the falsepositive and falsenegative rates, and denote them by FP(α) and FN(α), respectively. In the samroc methodology [5] one calculates estimates of these quantities as
and
One may choose a pvalue threshold α_{ min }, which minimises the amount of errors FP(α) + FN(α). Alternatively, one may want to finetune the test statistic such that it will minimise the errors at a given threshold. Or, one may try to do both, as suggested in [5], see also [6].
Earlier research providing estimates of p_{0} include [1, 3, 7–13]. Articles that compare methods for estimating p_{0} and FDR include [12, 14]. I will focus on the FDR as the main use of p_{0}.
In this article, the formulation of the theory is in terms of pvalues rather than in terms of test statistics. Two basic assumptions are made concerning their distribution. First, it is assumed that test statistics corresponding to true null hypotheses will generate pvalues that follow a uniform distribution on the unit interval, e.g. [15]. Thus, under the null distribution, the probability that a pvalue falls below some cutpoint α equals α. Second, pvalues are, unless stated otherwise, assumed to be independent. Empirical investigations will assess the effects of deviations from the second assumption.
The use of pvalues means lumping up and downregulated genes together. However, one may look separately at the two tails of the distribution of the test statistic to assess differential expression corresponding to up and downregulation.
This article will not concern how pvalues are calculated, but rather how they are used to calculate estimates of p_{0} and FDR, and draw conclusions based on this evidence. It is assumed that pvalues capture the essence of the research problem. Neither does the article treat the choice of an optimal test statistic. For illustration the ttest will be used repeatedly without regard to whether there are better methods or not. By the ttest we mean the unequal variance ttest: for sample means mean_{1} and mean_{2}, sample variances , , and sample sizes n_{1} and n_{2}. We apply the ttest to simulated normally distributed data and a permutation ttest to real data, where normality may be uncertain. All calculations were performed in R. The methods presented are available within packages for the free statistical software R [16, 17] and take a vector of pvalues as input and output an estimate of p_{0} and of FDR. Emphasis lies on methods available within R packages downloadable from CRAN [18] or Bioconductor [19]. Inevitably any review will exclude interesting work, but time and space limitations will not permit an all comprehensive review. The new and highly interesting concept of a local false discovery rate (LFDR) [1] only receives a cursory treatment.
This article builds on and finds motivation from the experience of the analysis of microarrays, which typically assay the expression of 10,000 or more genes. However, the methods presented apply equally well to other high dimensional technologies, such as fMRI or Mass Spectrometry.
False discovery rate
In the analysis of microarray experiments, the traditional multiple test procedures are often considered too stringent, e.g. [20] and [3]. In the last decade alternatives based on the concept of an FDR have emerged. For more details consult e.g. [2, 3, 9, 11, 21, 22]. There are different definitions proposed, but loosely speaking one would want to measure the proportion of false positive genes among those selected or significant. Loosely put the FDR may be interpreted as the proportion of false positives among those genes judged significantly regulated. Equation (2) is the FDR estimate presented in [3].
Denote by E[X] the expectation (or true mean) of any random variable X. With V the number of false positives given a certain cutoff and R the number of rejected null hypotheses, one may define the FDR as the expectation of the ratio of these quantities, or
,
where care is taken to avoid division by zero.
In [10] and [11] the FDR is estimated as the ratio of the expected proportion of false positives given the cutoff to the expected proportion selected. Viewed as a function of a cutoff α, such that genes g_{i} with p_{ i }less than α are judged significant in terms of pvalues, following the continuous cumulative distribution function (cdf) F, the FDR estimate is
which is nearly equal to (2) with the exception that the P_{(L)}has been replaced by its upper bound, and the stepwise empirical distribution by a smooth version, either a parametric model or a smoothed version of the empirical distribution. Thus, the FDR is now a continuous function instead of piecewise continuous with jumps at each observed pvalue. This ratio of expected values tries to estimate the expectation of a ratio: In general such an approach will give an overestimation, but in practice this will have little effect, see the Additional file.
The related concept of the positive FDR, pFDR = E[V/RR > 0], the expectation conditional on at least one rejection, appears in [2]. Other forms of FDR have been proposed such as the conditional FDR [2], cFDR, defined as the expected proportion of false positives conditional on the event that R = r rejected have been observed : cFDR(r) = E[VR = r]/r. This would answer to the question "What proportion of false positives may I expect in my top list of r genes?". Under independence and identical distribution in a Bayesian setting it is proved in [23], that pFDR, cFDR and the marginal FDR, mFDR = E[V]/E[R] [2], all coincide with p_{0}α/F(α) at the cutpoint α, cf. (6).
Instead of pvalues it has been suggested in to calculate qvalues that verbally have the following meaning for an individual gene [2, 9]:
The qvalue for a particular gene is the minimum false discovery rate that can be attained when calling all genes up through that one significant [9].
These qvalues can be used to determine a cutoff similar to the classic 5% cutoff for univariate tests developed in statistics long ago. But in many applications one should not be too rigid about any particular value, since the emphasis often is on discovery rather than hypothesis testing: we generate hypotheses worthy of further investigation. Thus the balance between false positives and false negatives will be crucial: Rather than keeping the risk of erroneously selecting one individual gene at a fixed level, it is the decision involving thousands of genes given the amount of genes we can follow up on that is the focus, and where both types of error must be considered. The qvalue does not fully address this problem, but nevertheless represents an improvement over the classical multiple test procedures in these applications.
More mathematically the qvalue can be expressed as
Taking minimum in (7) enforces monotonicity in p_{ i }, so that the qvalue will be increasing (nondecreasing) in the observed pvalue. If the FDR is nonincreasing, as it should, then q (p_{ i }) = FDR (p_{ i }).
Additionally, the FDR offers a framework for power and sample size calculations, see [24] and the new developments in [25].
Results
Eight estimates of p_{0} and six of FDR (based on six of the former) were tested on both simulated data and real data. The differing numbers are motivated below.
Next follows a list of six p_{0} estimation methods and the corresponding R functions. The six were

1.
the betauniform model (BUM) [10], which fits a mixture of a uniform and a beta distribution to the observed pvalues; function ext.pi.

2.
spacing LOESS histogram (SPLOSH) [11], which fits a nonparametric spline that estimates the logarithm of the pdf;function splosh.

3.
the Lowest SLope estimator (LSL) [12, 26] ;function fdr.estimate.eta0.

4.
the smoother [9], which fits a spline to a function of a cutoff value, namely the proportion of pvalues greater than that cutoff divided by the expected proportion under the uniform distribution;function qvalue.

5.
the bootstrap least squares estimate (bootstrap LSE) [3], which is related to the previous estimate;function qvalue or estimatep0.

6.
the Successive Elimination Procedure (SEP) [13];selects a subset which represents the null distribution by behaving like a uniform;function twilight.

7.
a new method based on a moment generating function approach (mgf);function p0.mom.

8.
a Poisson regression approach (PRE); an adaptation of [27, 28];function p0.mom.
The bootstrap estimate and mgf did not participate in the calculation of FDR. The smoother gives the basically same value as the bootstrap estimate, and mgf is unnecessarily conservative for lower values of p_{0}, compared to PRE.
The six were

1.
BUM FDR (based on BUM;function bum.FDR)

2.
BH FDR (based on LSL and function fdr.control).

3.
SPLOSH FDR (based SPLOSH;function splosh)

4.
smoother FDR or R function qvalue [9] (based on the smoother)

5.
SEP fdr (based on SEP;function twilight)

6.
the new method pava FDR (based on PRE;function pava.fdr)
For brevity mgf, PRE and pava FDR will all be referred to as new methods. It would be more exhaustive to say that PRE is a minor modification of an existing method [25] applied to pvalues rather than test statistics and provided as a new implementation in R; and that pava fdr is based on [29] with local splines replaced by isotonic regression and provided as a new R function. On the other hand mgf seems quite new. More details follow in Methods.
For reference some graphs include an estimate of the SEP local FDR, defined as LFDR(p) = p_{0}/f(p), estimating the probability that a gene whose pvalue equals p is a false positive. Furthermore, the ouput from R function locfdr applied to the real life data (with nulltype = 0, i.e. a standard normal distribution which has cdf Φ, see Methods) and the transformed ttest statistics : Z = Φ^{1}(F(t)), and F the ttest distribution (details below) gives perspective on the other methods and opens up an alternative route to making inferences. This function produces an estimate of the local FDR as a function of the transformed test statistic Z [25]. In that same reference the author argues in favour of the cutpoint LFDR ≤ 0.2, which implies quite high posterior odds in favour of the nonnull case : (1p_{0})f_{1}/p_{0}f_{0} ≥ 4.
Simulated data
Two simulation models were used: one generating values independent between genes and the other generating observations displaying clumpy dependence [14, 30].
Simulated independent data corresponding to two groups of four samples each were generated 10,000 genes 400 times for each of the true p_{0} values ranging from 0.5 to 0.99 using the R script from [5]. Normal distributions were chosen randomly from the ones in Table 1. The cases of DEGs correspond to the power of 41%, 54% and 97% given a ttest with a significance level of 5% [12]. Briefly, the script generated a mixture of normal distributions and for each run calculated ttests to obtain pvalues.
To generate dependent data the protocol from [14] was followed. This generates data following clumpy dependence in the sense of [30] such that blocks of genes have dependent expression. First a logarithmic normal distribution with mean 1.5 and standard deviation 0.3 generated a profile for each gene. Denoting by N(μ, σ) a normal distribution with mean μ and standard deviation σ, random errors following a standard normal distribution N(0,1) were added. To create dependencies genes were partitioned into sets of 50 and for each sample the same term from a N(0, 1) distribution was added to the expression of each gene in the set. Finally, genes were randomly assigned to become DEGs with probability 1p_{0} and for each gene a regulation term following either N(0.5, 0.2) or N(0.7, 0.2), with equal probabilities, was added to the expression of one of the groups of samples of size 30. The power to detect either of these two alternatives with a ttest at the 5% significance level equals 31% and 50%, respectively. The procedure generated for each of 400 iterations a set of observations of 10,000 genes. The protocol gives rise to high correlation within the blocks of 50 (on average on the order of 0.5). Results for smaller or weakly dependent datasets appear in the Additional file. Here weakly dependent means that the clumpy dependence term follows a N(0,1/20) distribution (correlation within blocks slumps to 0.003 on an average).
With the simulated independent data all methods for estimating p_{0} perform rather well, see Table 2 and 3, and Figure 1.
The new methods mgf and PRE were very competitive on these data, and had both low bias and variation, excluding mgf at the 0.5 and 0.6 level. Since mgf tends to overestimate p_{0} rather much in the lower range, one may prefer PRE. For practical purposes though overestimation is desirable and enables control of the error rate (exact control in the terminology from [31]).
The smoother and the bootstrap had good and quite similar performance. They give more or less the same variation and bias over the whole range. This variation can be a bit high though, especially when comparing to PRE.
In the higher range BUM gives a crude estimate of the true p_{0}. In a certain lower range however it underestimates. As we can see in Figure 1, however, the method considerably overestimates p_{0} in the higher range, which brings down the power to detect DEGs.
SPLOSH has the advantage of fitting the observed distribution quite well, judging from some tests (data not shown), compare also [11]. This enables a Bayesian analysis as in (3). However, it does the fitting of the pvalues close to 0 sometimes at the expense of the accuracy concerning the values at the other end, thus misses the plateau and the minimisation in (10) will give a misleading result. In particular, this tends to happen when there are few DEGs. As we can see in Figure 1 the method underestimates p_{0} at the higher range (p_{0} ≥ 0.9), which is worrisome and may lead to underestimation of the error rate, which is undesirable for a method of statistical inference.
From Tables 2 and 3 we can see that PRE has the best overall performance, followed by the smoother and the bootstrap. This does not however imply that the other methods could not be considered. The results vary quite a lot depending on the value of p_{0}: LSL is quite competitive for p_{0} = 0.99, but too conservative for p_{0} = 0.5.
With simulated data it is possible to calculate the actual false discovery rate. Figure 3 shows boxplots based on the simulated independent data. Here qvalue and pava FDR stand out as most reliable. Especially BUM FDR has severe problems, often over the whole range of cutoffs, while SPLOSH FDR does rather well.
The dependent data gave a slightly different picture. Most importantly, the variation increased considerably. The results concerning p_{0} appear in Figure 2. Interestingly underestimation becomes less of a problem for SPLOSH this time. Relatively speaking BUM did better this time, and BH comes out worst. As far as estimation of p_{0} goes BUM does quite well, see Tables 4 and 5. The method manages to overestimate at high p_{0} by consistently outputting 1. At p_{0} = 0.95 the estimate was nearly always equal to 1. Both qvalue and bootstrap underestimated by a small amount at p_{0} = 0.99. SEP emerges as a sharp contender, but suffers from a small underestimation at p_{0} = 0.99. In fact, all methods except BUM give underestimation at p_{0} = 0.99, and for SPLOSH it amounts to almost 7%.
The results concerning FDR appear in Figure 4. This time the BUM method captures FDR in a competitive way, with the lowest median error but at the same time the second worst mean error. Again the results for pava FDR appear quite stable and accurate, giving the second lowest median error and the lowest mean error.
Results for 300, 5,000 and 10,000 simulated weakly dependent genes appear in the Additional file. Briefly, they resemble those of the independent case. For 300 genes however the variation is such that the value of using these methods seems doubtful.
Real data
Data from Golub et al
These data represent a case where there are many DEGs. The data set concerning two types of leukaemia, ALL and AML, appeared in [32, 33]. Samples of both types were hybridised to 38 Affymetrix HG6800 arrays, representing 27 ALL and 11 AML. In reference [32] 50 genes were identified as DEGs using statistical analysis. The data consisted of Average Difference values and Absolute Calls, giving for each gene (probe set), respectively, the abundance and a categorical assessment of whether the gene was deemed Absent, Marginal or Present. The Average Difference values were preprocessed as in [5], and the proportion of samples where each probe set was scored Present was calculated, giving a present rate. A permutation ttest was used to compare ALL and AML. Figure 5 shows a histogram of ttest statistics revealing a bellshaped region around the origin and large tails, indicating that a substantial part of the genes are DEGs.
Visual inspection of Figure 6 showing the pvalue distribution also suggests that many genes are altered. The methods tested vindicate this : BUM, SPLOSH, bootstrap, qvalue, mgf, PRE, SEP, LSL give the estimates 0.57, 0.62, 0.65, 0.65, 0.69, 0.60, 0.64 and 0.86, respectively. Thus, roughly 35% of the genes are regarded as changed. The function qvalue finds 873 probe sets with a qvalue less than 5%. The estimated of FDR appear in Figures 7 and 8, and show a great deal of concordance between methods. The curves rise to the respective estimate of p_{0} and and in doing so slowly diverge. SEP approaches roughly 0.07 in a vicinity of zero, while the other methods continue the decline.
The function locfdr applied to Z = Φ^{1} (F_{36}(t)) with F_{36} the cdf of the tdistribution with 36 degrees of freedom gives the estimate of p_{0} 0.66 and outputs Figure 9 which bears witness of the skewness and of the different local false discovery rates in the two tails of the distribution.
Removing probe sets with less than 20% present rate will leave us with 2999 probe sets, and qvalue indicates that there are 977 of them that are significant with a qvalue less than 5% (p_{0} = 0.47). In general it is wise to remove probe sets with low presence rate prior to analysis, since this will make the inference more reliable, compare [20]. Doing so will most likely produce more true positives.
Data from Spira et al
Next let us turn to a case where there are rather few DEGs. In [34] the results from a microarray experiment where bronchial epithelial brush biopsies have been hybridised to Affymetrix U133A arrays are presented. The biopsies come from three different subject categories: Current smokers, Never smokers and Former smokers. The cel intensity files were downloaded from the NCBI Gene Expression Omnibus (accession no. GSE994) [35]. The Bioconductor package affy [19] was used to normalise intensities with the quantile method, and to calculate the RMA measure of abundance. The function mas5calls in affy output absolute calls.
Here we will take a brief look at the comparison between Former smokers and Never smokers. The comparison may help identify genes that remain changed after smoke cessation. A fuller analysis would include more analyses, such as the Current smokers vs. Former smokers comparison, and possibly also adjust for the fact that Former smokers tend to be older than Never smokers (Mean Age 45 and 53 years, respectively).
Graphical representations of the results appear in Figures 10 through 14.
Figure 10 suggests that rather few genes are changed. The methods give the following estimates of p_{0} : bootstrap 0.92, mgf 0.97, PRE 0.97, LSL 1.00, SEP 0.98, SPLOSH 0.88, BUM 1.00 and smoother 0.92, compare Figure 11. The estimates of FDR appear in Figures 12 and 13, and show some separation between methods. The trio BH, pava and qvalue largely agree. SEP LFDR and FDR stabilise at a value above 0.8 when the cutoff approaches zero. This is consistent: If the local FDR levels off, then the Averaging Theorem, see Methods, implies that so will the FDR. However, this level may seem incompatible with the assessment of SEP that 2% of the genes are truly changed. A rough calculation, replacing f by a histogram, would yield the estimate of LFDR(p) = p_{0}/f(p) = 0.22 in a vicinity of p = 0.00025. Neither does it agree with locfdr, see Figure 14. Most likely the spline function employed by SEP is playing tricks here. SPLOSH approaches 0.4 in a vicinity of zero. BUM returns the estimate FDR ≡ 1, which is consistent with its estimate of p_{0}, but does not seem to agree with Figure 11. The method may display numerical problems with these data. The function qvalue finds one gene significant with a qvalue less than 5%. However, if we restrict attention to the probe sets with at least 20% present rate (9841 genes) there are fifteen genes fulfilling the criterion.
Figure 14 displays the graphical output from locfdr, where the LFDR seems to approach zero in the tails, contradicting SEP, SPLOSH and BUM, but essentially agreeing with the concordant trio BH, pava and qvalue.
Discussion
Overall results will lump together performance under different conditions and may thus be less relevant for a particular application. For instance, in practice the performance for high p_{0} will probably matter more than that for lower values. When many genes are changed the cutpoint will likely be chosen based on other criteria than FDR, and hence the difference between methods becomes less relevant. However, the detailed results presented here should give the practitioner some guidance as to what methods could be considered. Looking at the pvalue histogram one can find some decision support in the choice of method. Comparing the output from several methods provides further clues.
All the methods performed worse on the dependent data; both the estimate of p_{0} and FDR suffered. To some extent that may be due to the lower mean power of the alternatives in that simulation model. However, the methods were derived under the assumption of independence and the small difference in mean power of 0.08 does not explain the great deterioration in most methods. Indeed, for simulated datasets with weak dependencies the results came close to the independent case, see the Additional file.
Through all tests PRE and pava FDR proved quite successful. Of the methods for estimating FDR, qvalue has the advantage of a welldocumented and good track record, and behaves well here. BUM displays a varying performance, but does handle dependent data well. In practice it will be difficult to know where on the scale from independence to strong clumpy dependence a particular dataset will rate, if indeed it follows clumpy dependence at all. LSL, and BH, have some problems, but on the other hand they arise mainly at low p_{0}, where they probably matter the least. As noted above regarding the Spira et al. data, SEP LFDR and FDR stabilised at a value above 0.8 when the cutoff approaches zero. In other tests SEP performed well, particularly with independent data. BUM in this case produced the estimate FDR ≡ 1 which can hardly reflect the truth.
The locfdr method offers the possibility to choose between three different null type distributions. The choice of the null type N(0,1) produced p_{0} estimates similar to those of the other methods. The need to specify the transform m may seem like an obstacle. But in many situations a parametric test statistic with a known null distribution exists. Alternatively, m could be identified by modelling a bootstrap distribution [25].
All the described methods assume the pvalues were obtained in a reliable fashion, e.g. by a warranted normal approximation, a bootstrap or a permutation method. Reference [10] describes a case when a twoway ANOVA Fdistribution was used when the distributional assumptions were not met. The estimate of p_{0} gave an unrealistic answer. When permutation pvalues were used instead their method gave a more realistic result. One always has to bear this caveat in mind. To further complicate matters, the permutation of sample labels approach is no panacea if the independence between samples assumption does not hold true, as detailed in [27]. (Let us follow the usual convention that genes come in rows of the data matrix, and samples in columns.) Permuting within columns provided some remedy there. Misspecifying the null distribution will jeopardize any simultaneous inference, whether based on FDR or not. It may pay off to consider the correlation structure in data, both in view of this finding and in view of the different performance of methods depending on the strength of correlations.
The qvalue q(p_{ i }) has been criticised for being too optimistic in that it weighs in also genes that are more extreme than i when calculating the measure. Note that a similar criticism could be levied against the classical pvalue: the pvalue gives the probability under the null hypothesis of observing a test statistic at least as extreme as the one observed. Also, there is no clear stable, reliable and tested alternative. This is not to say that the qvalue is unproblematic, but it still has been studied and used much more than e.g. the local FDR, which may suffer from high random variation, see examples in [29]. Other examples from Results section give evidence of stability. Contrary to what one may anticipate the FDR is not always more stable than LFDR [25]. The concept of a local FDR seems quite interesting and may lead the way towards improved inference, and it begs a thorough investigation of the various recently published options.
To avoid pitfalls in the inference one must use the total information obtained from p_{0} and the FDR or qvalue curve, see also Storey in the discussion of [31]. There is not one cutoff in terms of qvalue that will suit all problems. Take the case of Figure 12, where one will have to accept a high FDR in order to find any DEGs. At the other end of the spectre, in Figure 7, the cutoff can be much more restrictive. The choice of cutoff must be made with a view to one's belief regarding p_{0}, and calculating the sum of (4) and (5) to assess to total of false positives and false negatives gives further guidance in this choice. In general it makes sense to choose a cutoff in the region [0, α_{ min }], where α_{ min }is the value which minimises the total relative frequency of errors committed FP(α)+FN(α), see (4) and (5). However, since false positives and false negatives have different consequences with possibly different losses, it is difficult to state an algorithm that would cover all scenarios.
Conclusion
This article deals in the main with a simple frequentist framework for the analysis of microarray experiments. The conclusion is that the concept of the proportion of unchanged genes and the related concept of a qvalue or false discovery rate are practical for such analysis. Furthermore, there exists open source code that implements methods that address the needs of the practitioner in this field. New methods gave evidence of improved performance, allowing better control of the error rate and thus enabling a more careful identification of DEGs. Issues still remain and improvements will probably appear over the next couple of years, but as a provisional solution these methods have much to offer.
Methods
The current article focuses on the twocomponent model. Other points of view exist. In reference [25] the twocomponent model is reshaped into a conceptually attractive onegroup model allowing a continuum of effects.
Denote the pdf of pvalues by f, the proportion of unchanged by p_{0} and the distribution of the pvalues for the changed genes by f_{1}. Then the pdf of pvalues may be written as
f(x) = p_{0} × 1 + (1  p_{0})f_{1}(x) (8)
using the fact that pvalues for the unchanged genes follow a uniform distribution over the interval [0,1]. This model is unidentifiable without further assumptions, e.g. that pvalues in a vicinity of 1 only represent unchanged genes. From the nonnegativity of pdf's, clearly
f(x) ≥ p_{0} (9)
This leads to the estimate based on the minimum of the estimated pdf [1]
see also Figure 6. In most cases the minimum in (10) will occur for some x close to or at 1. Hence (10) will in these cases agree well with an estimate of f(1). If one has reason to believe that p_{0} is close to 1, it may pay off to replace (10) by the 25% percentile or simply put the estimate equal to 1, in order to make overestimation more likely.
LSL
Let R(α) = # {i : p_{ i }≤ α}, the number of rejected given the cutoff α. In [36] the approximation
N  R(α) ≈ E[N  R(α)] ≈ N_{0}(1  α)
for small α and N_{0} = Np_{0} the number of true null hypotheses appears. Consequently, (N  R(p_{(i)})/(1  p_{(i)}) = (N  i)/(1  p_{(i)}) will approximate N_{0}, which lead the pioneering authors to consider plotting 1  p_{(i)}against N  i, thus giving them an estimate of N_{0}. In [26] the Lowest SLope estimator (LSL) of N_{0} based on the slopes S_{ i }= (1  p_{(i)})/(N  i + 1) is presented. Starting from i = 1, the procedure stops at the first occurrence of Si_{0} <Si_{0}1, and outputs the estimate
In [12] the two above estimates are presented, derived and compared together with a method called Mean of Differences Method (MD). MD and LSL are motivated by assuming independence and approximating the gaps d_{(i)}= p_{(i)} p_{(i1)}(define p_{(0)} = 0 and p_{(N+1))}≡ 1) with a Beta(1, N_{0}) distribution, which has expectation 1/(N_{0} + 1). This expectation may be estimated by the inverse of a mean of the form
MD proceeds downward and chooses i_{0} equal to the first j satisfying
Of these three methods LSL and MD give very similar results, and outperform their predecessor [12].
LSL is available as function fdr.estimate.eta0 in package GeneTS [18] with the option method= "adaptive".
The smoother
A method here referred to as the smoother appeared in [9]. This method, like all presented, is based on a comparison of the empirical pvalue distribution to that of the uniform distribution. There will likely be fewer pvalues close to 1 in the empirical than in the null distribution, which is a uniform. The ratio of the proportion of pvalues greater than some η to the expected proportion under the uniform distribution, 1η, will give a measure of the thinning of observed pvalues compared to the null distribution. Thus, with F_{ e }denoting the empirical distribution, the ratio {1F_{ e }(η)}/{1η} will often be a good estimate of p_{0} for an astutely chosen threshold η. A spline is fitted to the function p_{0}(η) = {1F_{ e }(η)}/{1η}, and the resulting function is evaluated at η = 1, yielding the estimate
(tilde '~' above p_{0} denoting the splinesmoothed version of p_{0}(η)) which goes into the calculation of the FDR in (2), see Figure 15. Note the relationship with LSL, p_{0}(p_{(i)}) = (Ni)/{(Ni+1)S_{ i }N}. It can be shown that for fixed η this method offers a conservative point estimate of the FDR:
The qvalue is estimated by combining (2), (7) and (11), and an implementation is provided as the function qvalue in package qvalue available on CRAN [18].
In [30] the authors go to great lengths to prove that for fixed η, as above, the conservativeness remains under various forms of dependency, such as clumpy dependence.
The Bootstrap LSE
Another approach pioneered by Storey in [3] is to use a bootstrap least squares estimate (LSE), which chooses a value of η in p_{0}(η), that minimises the variation of the estimate for random samples of the original pvalues. The bootstrap standard reference [37] provides more theoretical background. Generate B new samples pvalues p*^{b}(b = 1,..., B) by sampling with replacement from the observed ones, calculate a measure of the Mean Squared Error (MSE) of the corresponding estimates p*^{b}_{0}(η) for a lattice of values of η and choose the value minimising the MSE. More formally, the optimal η is obtained through
The version of the bootstrap used in this article uses more samples B than the version available in qvalue (B = 500 instead of B = 100), and seems to perform better (data not shown).
Available in functions qvalue [18] and p0.mom (in package SAGx) [18, 38].
SPLOSH
In [11] a spline function estimates the logtransformed pdf log[f(x)] using a complex algorithm involving splines called spacings LOESS histogram (SPLOSH). To obtain a stable estimate of FDR near zero a technique from mathematical analysis called l'Hospital's rule is used to approximate the ratio in (5) and to yield
,
where the numerator has been estimated as in (4). An R package with the same name is available [39].
The FDR estimate (6) is used with F obtained by the nonparametric estimate of the pdf.
Note that we can now calculate the posterior probability given its pvalue that a gene is a DEG as p_{1}(x) = 1  p_{0}/f(x), compare (3).
The method is available in R function splosh [40].
BUM
In [10] the authors assume a betauniform (BUM) distribution, i.e. in (1) they replace f_{1} by a beta distribution,
f(x) = λ + (1  λ)ax^{a1} (12)
where in addition to λ which corresponds to p_{0} the shape parameter a has to be estimated. Thanks to the simple form of the distribution it is possible to estimate parameters through the maximum likelihood principle, i.e. by choosing values that maximise the likelihood of observing the pvalues that were actually observed. However, due to problem in identifying p_{0} with λ, the authors instead use an upper bound
which corresponds to f(1).
The FDR estimate (5) is used with F the cdf corresponding to (12).
The authors provide R code for the application of their method [39].
A more intricate Hierarchical Bayes model based on the betauniform concept allowing for different parameter values in different intervals appears in [41]. The R function localFDR provides an implementation of the method [42].
Poisson regression
In [28] it is suggested to estimate any empirical distribution by dividing the real axis into intervals and regarding the number of hits in each interval as the result of an inhomogeneous Poisson process, much like counting the number of cars arriving at a crossing during different time intervals. This method was used in [27] to model the distribution of a transformed test statistic, it also appears in function locfdr which estimates a local FDR as a function of a test statistic. In our case, of course, the support of the distribution is the unit interval [0,1]. Then the expected number of hits in each subinterval of [0,1] can be modelled as a polynomial in the midpoints of the subintervals by a technique called Poisson regression (PRE). The approach taken here is to choose a polynomial of low degree so that the plateau representing the uniform distribution is well captured. In doing so the ability the capture the distribution at low pvalues is sacrificed.
A more mathematical description now follows. The PRE method assumes that the counts S_{ k }follow a Poisson distribution whose intensity is determined by the midpoint t_{ k }of the interval I_{ k }, see [28]. To be specific: in the current application it is assumed that the expected frequency of observations in an interval is given by
where μ^{o}_{ k }are the smoothed observed frequencies in each interval I_{ k }. In statistical jargon this is a Poisson regression model with μ^{o}_{ k }as offset. This assumes independence between counts in different intervals. Although this does not hold true the model succeeds to capture the essential features of distributions. Standard functions in e.g. R can fit this model. Normalising the curve by the total number of pvalues we get an estimate of the pdf. Finally, smooth the pdf f(x) with a spline to obtain a more stable result, and use the estimate (10). An implementation of PRE is provided through R function p0.mom in package SAGx [18, 38].
SEP
The Successive Elimination Procedure (SEP) excludes and includes p_{ i }successively such that the similarity of the distribution of the included tends to behave increasingly like a uniform [13]. Finally, an index set J_{ final }will map to a set of pvalues that represent the true null hypotheses. This yields the point estimate
with N_{ J }= # J, the cardinality of the set J. The identification of J_{ final }proceeds by an intricate optimisation algorithm where the objective function consists of two terms : one KolmogorovSmirnov score
for the empirical cdf F_{ J }(based on J), to measure the distance to a uniform, and one penalty term to guard against overfitting
for some tuning parameter λ.
A local FDR is obtained from smoothed histogram estimates based on equidistant bins
,
where the function h_{0} refers to the J_{ final }set and h to the total set of pvalues.
The function twilight in package twilight provides an implementation of SEP [19].
Moment generating function approach
The next approach is based on the moment generating function (mgf), which is a transform of a random distribution, which yields a function M(s) characteristic of the distribution, cf. Fourier or Laplace transforms, e.g. [43]. Knowing the transform means knowing the distribution. It is defined as the expectation (or the true mean) of the antilog transform of s times a random variable X, i.e. the expectation of e^{sX}or in mathematical notation:
M(s) = ∫e^{sx}f(x)dx.
To calculate the mgf for pvalues, we use the fact that the pdf is a mixture of pdf's (8). This yields the weighted sum of two transformed distributions:
,
where we have used the fact that the mgf of a uniform distribution over [0,1] equals g(s) = (e^{s} 1)/s. Denoting the second transform by M_{1}(s) we finally have
M(s) = p_{0}g(s) + (1  p_{0})M_{1}(s). (13)
Now, the idea is to estimate these mgf's and to solve for p_{0}. In the above equation M(s) can be estimated based on an observed vector of pvalues and g(s) can be calculated exactly, respectively, while p_{0} and M_{1}(s) cannot be estimated independently. The estimable transform is, given the observed pvalues p = p_{1},..., p_{ n }, estimated by
Then, one can solve (13) for p_{0}:
Let us do so for s_{ n }> s_{n1}, equate the two ratios defined by the right hand side in (14) and solve for M_{1}(s_{ n }). This gives the recursion
If we can find a suitable start for this recursion we should be in a position to approximate the increasing function M_{1}(s) for s = s_{1} <s_{2} < ... <s_{ m }in (0, 1]. Now, note that 1 ≤ M(s), for any mgf, with close to equality for small values of s. It makes sense to start the recursion with some M_{1}(s_{1}) in I = [1, M(s_{1})]. In general, it will hold true that 1 ≤ M_{1}(s) <M(s) <g(s), since f_{1} puts weight to the lower range of the pvalues at the expense of the higher range, the uniform puts equal weight, and f being a mixture lies somewhere in between. We can calculate g, M and M_{1} for an increasing series of values in [0,1], e.g. for s = (0.01, 0.0101, 0.0102, ..., 1). The output from one data set appears in Figure 16. Since all ratios (14) should be equal, a good choice of M_{1}(s_{1}) will be one that minimises the variation of the ratios. Standard onedimensional optimisation will find the value in I that minimises the coefficient of variation (CV, standard deviation divided by mean)
where s = (s_{1}, ..., s_{ n }). The CV will in contrast to the variance put both small and high values of the ratios on an equal footing and enable comparison.
Finally, these essentially equal ratios provide an estimate of p_{0}.
A heuristic convexity argument suggests that mgf overestimates p_{0}, see the Additional file. Furthermore, the bias seems to decrease as p_{0} grows.
An implementation of mgf appears as function p0.mom in package SAGx [18, 38].
Local FDR and FDR
The concept of a local false discovery rate originates from [1]. Let the (true) local FDR at t be defined as the probability that gene i is unchanged conditional upon that its pvalue equals t, or in formulas : LFDR(t) = Pr(gene i unchanged  p_{ i }= t) = p_{0}/f(t). The Averaging Theorem of [4] states that integrating the local FDR over the rejection region R, such as R = [0, 0.01], yields the FDR : FDR(R) = E[LFDR(y)  y ∈ R]. In [29] it is noted that the estimated qvalue equals the mean of a local FDR
where the local FDR at the i^{th}ordered pvalue p_{(i)}equals
,
where N denotes the total number of genes. This rephrases the theorem in terms of estimators. The local FDR is meant as an approximation of the probability that an individual gene i is a DEG. As remarked in [29] the qvalue does not estimate the probability that a gene is a false positive. Indeed, the theorem shows that it is the mean of that probability for all genes at least as extreme as i. Thus the qvalue will tend to give a lower value than LFDR(i).
Under a wide range of models, where f(x) is nonincreasing, e.g. the BUM model, the expected local LFDR(i) will be nonincreasing, and hence the differences above should tend to increase, see the Additional file. Hence there is a need for enforcing monotonicity as in (7). One tool for enforcing monotonicity is the Pooling of Adjacent Violators (PAVA) algorithm [44]. This algorithm has an intuitive appeal, is less adhoc than the local spline approach presented in [29], and is the nonparametric maximum likelihood estimate under the assumption of monotonicity. As an example of how it works, consider the series (1,2,4,3,5), which PAVA turns into the nondecreasing series (1, 2, 3.5, 3.5, 5) by pooling the violators of monotonicity (4, 3) and replacing them by their mean. Though not equivalent to the qvalue from (2) and (7), the results from applying PAVA to the terms in (15) agreed rather well with the values obtained from function qvalue. In the Results section this approach combined with the PRE estimate of p_{0} is referred to as pava FDR. We could have used mgf for calculating FDR, but it was excluded due to the better overall performance of PRE.
The bootstrap LSE gives a very similar result to the smoother and thus was excluded in comparison of FDR estimates.
The R function pava.fdr in package SAGx provides an implementation of pava FDR, and returns a list of estimates of FDR, LFDR and p_{0} [18, 38].
The reference [25] presents the theory behind the estimation of local false discovery rates provided by R package locfdr [18, 25]. The method procedes by transforming the test statistic t into Z = Φ^{1}(m(t)), where Φ is the cdf corresponding to N(0,1) and m is a transform that for the uninteresting/null class renders the distribution of Z into a N(0,1). Typically, m could equal the cdf of the tdistribution. Assuming the model (1) the method estimates the mixture density f^{t}using Poisson regression, and fits either a theoretical null sub density (from now on suppressing superscript t and denoting the pdf corresponding to Φ by φ) f^{+}_{0}(z) = p_{0} φ(z) around z = 0, or fits an empirical null distribution. Then the procedure estimates the local false discovery rate fdr(z) = f^{+}_{0}(z)/f(z).
References
 1.
Efron B, Tibshirani R, Storey JD, Tusher VG: Empirical Bayes analysis of a microarray experiment. Journal of the American Statistical Association 2001, 96: 1151–1160. 10.1198/016214501753382129
 2.
Benjamini Y, Hochberg Y: Controlling the false discovery rate : a practical and powerful approach to multiple testing. Journal of the Royal Statistical Society B 1995, 57: 289–300.
 3.
Storey JD: A Direct Approach to False Discovery Rates. Journal of the Royal Statistical Society B 2001, 64: 479–498. 10.1111/14679868.00346
 4.
Efron B, Storey JD, Tibshirani R: Microarrays, Empirical Bayes Methods, and False Discovery Rates. In Technical report. Volume 217. Stanford, Department of Statistics, Stanford University; 2001.
 5.
Broberg P: Statistical methods for ranking differentially expressed genes. Genome Biology 2003, 4: R41. 10.1186/gb200346r41
 6.
Delongchamp RR, Bowyer JF, Chen JJ, Kodell RL: Multipletesting strategy for analyzing cDNA array data on gene expression. Biometrics 2004, 60: 774–782. 10.1111/j.0006341X.2004.00228.x
 7.
Tusher VG, Tibshirani R, Chu G: Significance analysis of microarrays applied to the ionizing radiation response. PNAS 2001, 98: 5116–5121. 10.1073/pnas.091062498
 8.
Allison DB, Gadbury GL, Moonseong H, Fernandez JR, CheolKoo L, Prolla TA, Weindruch RA: A mixture model approach for the analysis of microarray gene expression data. Computational Statistics and Data Analysis 2002, 39: 1–20. 10.1016/S01679473(01)000469
 9.
Storey JD, Tibshirani R: Statistical significance for genomewide studies. PNAS 2003, 100: 9440–9445. 10.1073/pnas.1530509100
 10.
Pounds S, Morris SW: Estimating the occurrence of false positives and false negatives in microarray studies by approximating and partitioning the empirical distribution of pvalues. Bioinformatics 2003, 19: 1236–1242. 10.1093/bioinformatics/btg148
 11.
Pounds S, Cheng C: Improving false discovery rate estimation. Bioinformatics 2004, 20: 1737–1745. 10.1093/bioinformatics/bth160
 12.
Hsueh H, Chen JJ, Kodell RL: Comparison of Methods for Estimating the Number of True Null Hypotheses in Multiplicity Testing. Journal of Biopharmaceutical Statistics 2003, 13: 675–689. 10.1081/BIP120024202
 13.
Scheid S, Spang R: A Stochastic Downhill Search Algorithm for Estimating the Local False Discovery Rate. IEEE Transactions on Computational Biology and Bioinformatics 2004, 1: 98–108. 10.1109/TCBB.2004.24
 14.
Scheid S, Spang R: A False Discovery Approach to Separate the Score Distributions of Induced and Noninduced Genes. In Proceedings of the 3rd International Workshop on Distributed Statistical Computing (DSC 2003). Edited by: Hornik K, Leisch F and Zeilis A. Vienna, Austria, Technische Universität Wien. Institut für Statistik; 2003.
 15.
Lehmann EL: Testing Statistical Hypotheses. New York, Wiley; 1953.
 16.
R Foundation for Statistical Computing: R Development Core Team. R: A language and environment for statistical computing.[http://www.Rproject.org]
 17.
Ihaka R, Gentleman R: R: A language for data analysis and graphics. Journal of Computational and Graphical Statistics 1996, 5: 299–314.
 18.
The Comprehensive R Archive Network[http://www.cran.rproject.org]
 19.
Bioconductor[http://www.bioconductor.org]
 20.
Yang YH, Speed T: Design and analysis of comparative microarray experiments. In Statistical Analysis of Gene Expression Microarray Data. Edited by: Speed T. London, Chapman & Hall/CRC; 2003.
 21.
Simes R: An improved Bonferroni Procedure for Multiple Tests of Significance. Biometrika 1986, 73: 751–754.
 22.
Reiner A, Yekutieli D, Benjamini Y: Identifying differentially expressed genes using false discovery rate controlling procedures. Bioinformatics 2003, 19: 368–375. 10.1093/bioinformatics/btf877
 23.
Tsai CA, Hsueh H, Chen JJ: Estimation of False Discovery Rates in Multiple Testing: Application to Gene Microarray Data. Biometrics 2003, 59: 1071–1081. 10.1111/j.0006341X.2003.00123.x
 24.
Yang MCK, Yang JJ, McIndoe RA, She JX: Microarray experimental design: power and sample size considerations. Physiol Genomics 2003, 16: 24–28. 10.1152/physiolgenomics.00037.2003
 25.
Efron B: Selection and Estimation for LargeScale Simultaneous Inference. In Technical report. , Department of Statistics, Stanford University; 2004.
 26.
Benjamini Y, Hochberg Y: On the adaptive control of the false discovery rate in multiple testing with independent statistics. Journal of Educational and Behavioural Statistics 2000, 25: 60–83.
 27.
Efron B: Largescale simultaneous hypothesis testing : the choice of a null hypothesis. Journal of the American Statistical Association 2004, 99: 96–104.
 28.
Efron B, Tibshirani R: Using specially designed exponential families for density estimation. The Annals of Statistics 1996, 24: 2431–2461. 10.1214/aos/1032181161
 29.
Aubert J, BarHen A, Daudin JJ, Robin S: Determination of the differentially expressed genes in microarray experiments using local FDR. BMC Bioinformatics 2004, 5: 125. 10.1186/147121055125
 30.
Storey JD, Tibshirani R: Estimating false discovery rates under dependence, with applications to DNA microarrays. Technical Report 2001–28, Department of Statistics, Stanford University 2001.
 31.
Ge YC, Dudoit S, Speed TP: Resampling based multiple testing for microarray data analysis. Test 2003, 12: 1–77.
 32.
Golub TR, Slonim DK, Tamayo P, Huard C, Gaasenbeek M, Mesirov JP, Coller H, Loh ML, Downing JR, Caligiuri MA, Bloomfield CD, Lander ES: Molecular Classification of Cancer: Class Discovery and Class Prediction by Gene Expression Monitoring. Science 1999, 286: 531–537. 10.1126/science.286.5439.531
 33.
Affymetrix web site[http://www.affymetrix.com]
 34.
Spira A, Beane J, Shah V, Liu G, Schembri F, Yang X, Palma J, Brody JS: Effects of cigarette smoke on the human airway epithelial cell transcriptome. PNAS 2004, 101: 10143–10148. 10.1073/pnas.0401422101
 35.
Gene Expression Omnibus[http://www.ncbi.nlm.nih.gov/geo]
 36.
Schweder T, Spjotvoll E: Plots of pvalues to evaluate many tests simultaneously. Biometrika 1982, 69: 493–502.
 37.
Efron B, Tibshirani R: An Introduction to the Bootstrap. London, Chapman & Hall; 1993.
 38.
The SAG homepage[http://home.swipnet.se/pibroberg/expression_hemsida1.html]
 39.
BUM software[http://www.stjuderesearch.org/depts/biostats/BUM/index.html]
 40.
SPLOSH web page[http://www.stjuderesearch.org/depts/biostats/documents/sploshcode3.ssc]
 41.
Liao JG, Lin Y, Selvanayagam ZE, Shih WJ: A mixture model for estimating the local false discovery rate in DNA microarray analysis. Bioinformatics 2004, 20: 2694–2701. 10.1093/bioinformatics/bth310
 42.
localFDR web site[http://www.geocities.com/jg_liao]
 43.
Feller W: An Introduction to Probability Theory and Its Applications. Volume 2. Second edition. New York, John Wiley; 1971.
 44.
Ayer M, Brunk HD, Ewing GM, Reid WT, Silverman E: An empirical distribution function for sampling with incomplete information. Annals of Mathamatical Statistics 1955, 26: 641–647.
Acknowledgements
Thanks are due to Niclas Sjögren at AstraZeneca R&D Södertälje for valuable comments. Furthermore, suggestions made by the three reviewers improved both content and presentation.
Author information
Affiliations
Corresponding author
Electronic supplementary material
12859_2004_524_MOESM1_ESM.doc
Additional File 1: contains further results concerning weakly dependent data and smaller datasets, as well as some mathematical details supporting points made in the article. (DOC 152 KB)
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
About this article
Cite this article
Broberg, P. A comparative review of estimates of the proportion unchanged genes and the false discovery rate. BMC Bioinformatics 6, 199 (2005). https://doi.org/10.1186/147121056199
Received:
Accepted:
Published:
Keywords
 False Discovery Rate
 Null Distribution
 True Null Hypothesis
 False Discovery Rate Estimate
 Local False Discovery Rate