BMC Bioinformatics

, 5:125 | Cite as

Determination of the differentially expressed genes in microarray experiments using local FDR

Open Access
Research article



Thousands of genes in a genomewide data set are tested against some null hypothesis, for detecting differentially expressed genes in microarray experiments. The expected proportion of false positive genes in a set of genes, called the False Discovery Rate (FDR), has been proposed to measure the statistical significance of this set. Various procedures exist for controlling the FDR. However the threshold (generally 5%) is arbitrary and a specific measure associated with each gene would be worthwhile.


Using process intensity estimation methods, we define and give estimates of the local FDR, which may be considered as the probability for a gene to be a false positive. After a global assessment rule controlling the false positive error, the local FDR is a valuable guideline for deciding wether a gene is differentially expressed. The interest of the method is illustrated on three well known data sets. A R routine for computing local FDR estimates from p-values is available at


The local FDR associated with each gene measures the probability that it is a false positive. It gives the opportunity to compute the FDR of any given group of clones (of the same gene) or genes pertaining to the same regulation network or the same chromosomic region.


False Discovery Rate Counting Process Smoothing Method Local False Discovery Rate Family Wise Error Rate 


Microarrays are part of a new class of biotechnologies that allow the monitoring of the expression level of thousands of genes simultaneously. Among the applications of microarrays, an important task is the identification of differentially expressed genes, i.e genes whose expressions are associated with the status of the patient (treatment/control for example).

The biological question of the identification of differentially expressed genes can be restated as a one (for paired data) or two-sample (for unpaired data) hypothesis testing procedure: is the gene differentially expressed between the two situations? However, when thousands of genes in a microarray data set are evaluated simultaneously by fold changes or significance tests approach, multiple testing problems immediately arise and lead to many false positive genes. In this 'one-by-one gene' approach the probability of detecting false positives rises sharply.

The False Discovery Rate (FDR), is defined as the expected fraction of false rejections among those hypotheses rejected. In their seminal paper Benjamini & Hochberg [1] provided a distribution free procedure (BH) for choosing a threshold on p-values that guarantees that the FDR is less than a target level α. The same paper demonstrated that the BH procedure is more powerful than the Bonferroni method that controls the familywise error rate.

The FDR gives an idea of the expected number of false positive hypotheses that a practitioner can expect if the experiment is done an infinite number of time. As usual with expectation, it gives very little information about the number of false discovery hypotheses in a given experiment.


The value of 1, 5 or 10% for the FDR, which determines the threshold t, is arbitrary. Storey and Tibshirani [2] stressed the importance of assessing to each feature its own measure of significance. They proposed to use the q-value,

where P i is the p-value of the ordered gene i, R i is the total number of rejected genes whose p-values are less than the threshold t = P i and Open image in new window is an estimate of the total number of non differentially expressed genes, m0.

The q-value is appealing because it gives a measure of significance that can be attached to each gene, but it must be stressed that it is not an estimate of the probability for the gene to be a false positive. The q-value is generally lower than the latter because it is computed using all the genes that are more significant than gene i. Obviously a gene whose p-value is near to the threshold t does not have the same probability to be differentially expressed than a gene whose p-value is close to zero. Therefore the q-value gives a too optimistic view of the probability for the gene to be a false positive.

Therefore it is interesting to obtain an estimate of the FDR attached to each gene, called local FDR, from an inferential point of view and without any assumption about the distribution of the p-values under H1.



H0(i) = {gene i is not differentially expressed}.

Let the local FDR be the probability that a given gene is not differentially expressed. More specifically, FDR(i) is the probability that a gene, whose p-value is P i , is not differentially expressed, taking into account the whole set of tests. A raw local FDR estimate is defined in a first step. In a second step the local FDR estimate is defined as a smoothed value based on the raw values.

Let P1 < … <P m denote the ordered p-values for testing H0(i). The raw local FDR estimate for gene i is:


where λ is a tuning parameter and W(λ) = #{i, P i > λ}, see Storey [3].

Assume that the p-values for the non-differentially expressed genes are independent. The raw local FDR estimate has the following properties:

(i, λ) is generally a very variable estimator. Moreover the local FDR should increase with the p-value. This is not the case for the raw local FDR. Therefore it is necessary to use a smoothed estimate.

The smoothed local FDR(i) is

where f i is a smoothing function of the Open image in new window (j, λ) for j = 1, m, computed at position P i .

(i, λ) gives a very valuable guideline for the choice of a threshold. One may consider the curve of the local FDR versus the index of the gene ordered by their p-values: a good candidate for the threshold should be a point with a high second order derivative, which corresponds to an abrupt change in the slope of the curve (see the examples of the following section). The second order derivative of the smoothed local FDR can be computed numerically using finite differences.

As an interesting application of the local FDR, it is possible to compute the FDR associated with a class of genes or clones by summing up the local FDR estimate of each clone or gene: one may consider for example clones corresponding to the same gene, genes known involved in a given regulatory network, or gene from the same chromosomic region, and associate a FDR with the whole class. These genes do not need to have consecutive p-values. The following sections demonstrate how the local FDR can be useful using the data of well known experiments.

Local FDR on Golub data set

Golub [4] were interested in identifying genes that are differentially expressed in patients with two types of leukemias (ALL, AML). Gene expression levels were measured using Affymetrix high-density chips containing 6817 human genes. The learning set comprises 27 ALL cases and 11 AML cases.

Data are available in the R multtest package. We used the preprocessing proposed by the authors and the p-values based on random permutations of the ALL/AML labels on Welch t-statistics for each gene, Dudoit [5], on the 3051 remaining genes. m0 is estimated with bootstrap method as suggested by Storey and Tibshirani and implemented in the library GeneTS of software R.

Figure 1(a) presents the Open image in new window (i) for ordered genes and 1(b) presents the smooth curves obtained using lowess with a span of 0.2 and an adaptative moving average method.
Figure 1

Plots of the local FDR estimate for Golub data x-axis: index of genes ordered along their p-values, y-axis: local FDR estimate. (a): raw values, (b): smooth estimates: moving average (discrete jumps), lowess (smooth curve), (c): zoom on the first 600 genes of (b): moving average (discrete jumps), lowess (upper smooth curve), q-value (lower thick smooth curve).

We can see that there is an abrupt change of the smoothed local FDR around gene number 500 which corresponds to a threshold t = 0.15 for the p-value. This may be an indication about the threshold. The Figure 1(c) presents a zoom of the Figure 1(b) for the first 600 p-values. We can see in Figure 1(c) that if we select the 438 (14%) top genes, we obtain a q-value equal to 0.0078 while the 438 th gene has a local FDR equal to 0.027. It must be noticed that there is a big difference between the two measures of FDR because the numerous regulated genes with very small p-values have a great influence on the q-value, which is not the case of the local FDR (see Figure 1(c)).

The p-values have been obtained using random permutations. Therefore the p-values are discrete with several genes possessing the same p-value. Therefore the values of Open image in new window (i, λ) may be equal to 0 because the difference between two successive p-values is 0. The discrete structure of the p-values implies a departure from the theoretical continuous uniform distribution. This explains why the moving average smoothing creates discrete jumps which appear in Figure 1(c).

If the distribution of the statistics under H0 is correct, the p-values are distributed as a uniform distribution over [0, 1]. The empirical distribution of the high observed p-values (say above 0.5) is far from the uniform distribution. There are several non-exclusive possibilities to explain this: more than 50% of the genes are differentially expressed, the gene results for non-differentially expressed are correlated or there is a technical problem in the random permutations of the Welch t-statistics.

Local FDR on Breast Cancer data set

Storey and Tibshirani [2], have analysed in detail data from Hedenfalk [6] on 15 microarrays on breast cancer. Using the same p-values, we have computed local FDR estimates. The three genes which have been analysed in detail by Storey and Tibshirani [2] are presented in Table 1.
Table 1

p-value, q-value and local FDR estimates for three genes in Hedenfalk data.





raw local FDR

smoothed local FDR



















One can see that the smooth local FDR estimate is generally greater than the q-value and gives a better idea of the probability that a gene is a false positive. For example, at the level of 5%, CTGF will be considered as differentially expressed on the basis of the q-value while it will be considered as non differentially expressed using the local FDR.

Figure 2(a) presents the Open image in new window (i) for ordered genes and 2(b) presents the smooth curves obtained using lowess with a span of 0.2 and moving average methods. The two smoothing methods give similar results.

Setting λ = 0.5, Storey and Tibshirani [2] estimate that 67% of the 3170 genes in the data are not differentially expressed. The asymptote near 1 of the smooth curve supports this estimation.
Figure 2

Plots of the local FDR estimate for Hedenfalk data x-axis: index of genes ordered along their p-values, y-axis: local FDR estimate. (a): raw values, (b): smooth estimates: moving average (discrete jumps), lowess (smooth curve), (c): zoom on the first 200 genes of (b): raw values (discrete jumps), moving average and lowess (smooth curves), q-value (lower thick smooth curve).

Local FDR on ApoAi data

The goal of the study is to identify genes with altered expression in the livers of two lines of mice with very low HDL cholesterol levels compared to inbred control mice. The mouse model is the apolipoprotein AI (ApoAI) knock-out mice. ApoAI is a gene known to play a pivotal role in HDL metabolism. The statistical analysis is described in Dudoit [7]. Height clones are expected to be differentially expressed between the control and the knock-out mices because they are clones of the ApoAI gene or of genes coregulated with ApoAI. The height clones are actually the 8 top clones detected by the statistical tests. However there are other following clones which seem statistically significant if we consider the q-value. We can see on the Figure 3(c) that the local FDR values are much higher than the q-values.
Figure 3

Plots of the local FDR estimate for Apo-AI data x-axis: index of clones ordered along their p-values, y-axis: local FDR estimate. (a): raw values, (b): smooth estimates: moving average (small discrete jumps), lowess (smooth curve), (c): zoom on the 50 first genes of (b): raw values (discrete jumps), moving average (smooth curve) lowess (upper rectangular curve), q-value (lower thick smooth curve).

Figure 3(a) presents the Open image in new window (i) for ordered clones and Figure 3(b) presents the smooth curves obtained using lowess with a span of 0.2 and moving average methods. The two smoothing methods give different results at the two ends of the [0, 1] interval. The moving average method which uses a special adaptative algorithm for the ends gives a better smoothing. This is particularly important for the clones with a small p-value for which it is crucial to obtain good estimates of the probability of being false positives. The lowess smoothing does not work well for the 50 first clones. In this particular case the default smoothing parameter f = 0.2 is not well suited and should be lower. However if it is chosen too low, the smoothing will not fit well the rest of the curve.

There are two clones of the gene Apo-AI. If we want to estimate the FDR of these two clones taken in a whole, we compute the mean of the smoothed local FDR of the two clones (the first and the height top clones) and obtain a local FDR for the gene Apo-AI, which is equal to . This example shows that it is possible to estimate the local FDR of any group of clones. This opportunity provided by the local FDR is certainly one of its major advantage with many potential applications.


The curve of the smoothed local FDR is an efficient tool to summarize the information about the number and the statistical significance of differentially expressed genes, and may also be used to give an indication about the validity of the statistical assumptions. Moreover it is a valuable tool to choose the threshold for separating the differentially expressed genes from the non-differentially expressed one: one can choose a value of t maximizing the second derivative. Alternatively one can use a cost function and choose the threshold that minimizes the mean cost for a given cost function: using cost of the experiment, cost of false positive gene validation and the profit of discovering a differentially expressed gene, it is direct to compute the optimal strategy for choosing the threshold.

Note that a decision rule based on the local FDR would lead to a different set of selected genes than the usual one obtained by controlling the FDR. Consider the set of tests for which the local FDR is below 0.05, say. This set is not identical to the set identified by the standard criterion that FDR < 0.05. The local FDR is higher than the q-value. Therefore the first set is strictly included in the second one. The local FDR rule is therefore more conservative than the usual FDR one.


The p-value gives the probability that a non differentially expressed gene would be as or more extreme than the gene under concern. The q-value indicates the estimated proportion of genes as or more extreme than the gene under concern that are a false positive. The local FDR gives the estimated proportion of genes around the gene under concern which are false positive. The latter may be used as the probability that the gene under concern is a false positive, taking into account the multiplicity of the test. One of the major interest of the local FDR is that it gives the opportunity to compute the FDR of any given group of clones (of the same gene) or genes pertaining to the same regulatory network or the same chromosome.



Basically, the various procedures proposed in the literature aim to test the null hypothesis

H0(i) = {gene i is not differentially expressed}.

Let consider a particular experiment. We observed the differential expression of the genes and compute the associated ordered p-values P i . In the following we will use the classical property: the p-values corresponding to non differentially expressed genes are uniformly distributed over [0, 1]. Furthermore, we will assume, as often, that these p-values are independent. However, the independence of the p-values of differentially expressed genes is not required. Consider a multiple testing situation in which m tests are being performed. Let m0 be the number of non differentially expressed genes. Let I(t) be the set of the genes having a p-value lower than t: I(t) = {i : P i t} and R(t) = #I(t), its cardinal. Let

V(t) = #[I(t) ∩ (iH0)]


S(t) = #[I(t) ∩ (iH1)].

Using a threshold t, the m genes can be classified according to the following 2 × 2 table 2:
Table 2

Classification of m genes using threshold


H0 accepted

H0 rejected


H0 true



m 0

H0 false



m 1





The Family Wise Error Rate (FWER) is defined to be

FWER = P [V(t) ≥ 1].

A classical way to control FWER is given by the Bonferroni inequality. This quantity corresponds to the most direct extension from a test hypothesis procedure but can be very restrictive in a multiple testing procedure.

The status of the gene associated with the P i is an unobserved value. It is the same framework as point process (see for example [8]). In fact we observe R(t) = V(t) + S(t) the sum of two counting processes. The first one V(t) is a counting process associated with non differentially expressed gene. Since the p-values under H0 are uniformly distributed, V(t) has a binomial distribution with parameter m0 and t. The intensity of V(t) is constant and proportional to m0. S(t) is the counting process associated with gene under H1 and very few can be said about its distribution. One may expect the intensity of S(t) to be decreasing with t. The false discovery rate is defined as:

It corresponds to the expected proportion of rejections that are incorrect.

The BH procedure works as follows. Let P1 < … <P m denote the ordered p-values. Calculate k = max i {P i ≤ αi/m}. The procedure rejects all null hypotheses for which P i P k . If the tests are independent, this procedure ensures that

Let FDR(t) be the FDR when rejecting all null hypotheses with P i t. Because the p-values of non-differentially expressed genes are uniformly distributed over [0, 1], a natural estimate of FDR(t) is

Therefore the problem is to estimate m0. Storey [3], proposed to estimate m0 with

where λ is a tuning parameter. In particular the case λ = 0 leads to . This is the most conservative case and corresponds to the BH procedure. Since the practical implementation of Storey method gives reasonably good results, we used it in the examples.

FDR is defined as the expectation of the ratio of two counting processes V(t) and R(t): FDR(t) = E[V(t)/max(R(t), 1)]. The expectation of V(t) is m0t and R(t) is observed. Therefore, Storey [3] propose to use the following estimate:

The ratio of the expectations differs from the expectation ratio but Storey [3] proved that E( Open image in new window (t, λ)) ≥ FDR(t) using a convexity argument.

Definition and Estimation of the Local FDR

As stated before, V(t) and R(t) are counting (i.e. cumulative) processes. It would be very interesting to estimate the ratio of the local intensities of the two processes at point t. The intensity of process V(t) is equal to m0 and thus is known, provided that we know m0. The intensity of process R(t) is unknown, but R(t) is observed. Therefore, using point process methods it is possible to estimate its intensity at each point t.

We first define the cumulative processes from t1 to t2:

Let 0 ≤ t1 <t2, I(t1, t2) = {i : t1 <P i t2},

R(t1, t2) = #I(t1, t2),

V(t1, t2) = #[I(t1, t2) ∩ (iH0)]


S(t1, t2) = #[I(t1, t2) ∩ (iH1)].

FDR (t1, t2) is defined as the expected ratio of V (t1, t2) and R(t1, t2):

It is a generalization of the usual FDR: if t1 = 0 and t2 = t then FDR(t1, t2) = FDR(t). So, the natural estimate of FDR(t1, t2) is:

The substitution of 0 by t1 does not change the proof, so using the same convexity argument as Storey [3], we obtain the following property:

E( Open image in new window (t1, t2, λ)) ≥ FDR (t1, t2).

The local FDR is the FDR(t1, t2) for small intervals [t1, t2]. If we want to estimate the local FDR around the p-value of the gene i, the question can be restated as how to estimate the ratio of the intensities of two processes around a given point P i .

The intensity of process R(t) has to be estimated at each value of t. It is possible to consider small windows of size h, or alternatively, to consider windows of different sizes corresponding to a fixed count for R(t). We have chosen the latter solution, for windows of variable size seem more appealing in the particular context.

Let FDR(i) be the local FDR around P i . To estimate FDR(i) we need to define a neighborhood around P i . Let V i = V(Pi-1, P i ). Remarking that R(Pi-1, P i ) = 1, we have FDR(i) = E(V i ). Furthermore

E(V i ) = P(V i = 1)

since V i is a binary variable. Thus FDR(i) provides an unbiased estimation of P(V i = 1), the probability for gene i to be a false positive.

The raw local FDR estimate for gene i is:

Assume that H0(i) and H0(i - 1) are true and E( Open image in new window ) = m0. Therefore this estimate is unbiased with mean 1.

Using definition (1), it is direct to obtain:

which equals the q-value of gene j. The q-value may thus be viewed as the mean of the raw local FDR of the genes with p-values lower than P j .

Under the hypothesis H0, it is known that the differences between successive ordered values of independent realizations of the uniform([0,1]) distribution have a Beta distribution with parameters 1 and m0 (see Johnson [9] Chap. 26). Therefore the variance of the raw local FDR estimate for non-differentially expressed genes when m0 is known is equal to Open image in new window /[(m0 + 1)2 (m0 + 2)] ≈ 1, for m0 large enough.

The variance of estimates (1) under H1 is generally much smaller than under H0 (see Figures 1(a), 2(a) and 3(a) for an illustration). However, one may see on these Figures that Open image in new window (i, λ) is a very variable estimator.

This fact is well known in point process literature, [8]. Moreover, the interval ]Pi-1, P i [ is not symmetric. If we consider the neighborhood interval around P i defined by t1 = (Pi-1+ P i )/2, t2 = (Pi+1+ P i )/2 then we obtain another estimate of the local FDR:

Note that (2) is a moving average of order 2 of (1). It is well known that estimates provided by moving average (or kernel estimators) are more stable, see [8].

This smoothing is generally not enough to obtain usable results and we can consider any kind of smoothing. We propose to estimate FDR(i) by

where f i is a smoothing function of the Open image in new window (j, λ) for j = 1, m, computed at position P i .

The smoothing method must be suited to the properties of the raw FDR:

  • its variance is low for low p-values corresponding to highly differentially expressed genes

  • its variance is very high for p-values corresponding to non differentially expressed genes

Therefore the window of smoothing should be short for low p-values and large for p-values corresponding high p-values. The lowess smoothing method has a fixed number of neighbor points. Therefore its window size depends of the density of points around the p-value under concern. The density of points is higher for low p-values which in turn implies a shorter window size, which is a good property. However the adaptation of the window size is not sufficient in some cases such as in the Apo-AI example. Moreover the smoothed FDR should be an increasing function of the p-values, a property which is not satisfied by the lowess smoothing. Therefore we prefer to use an ad hoc moving average smoothing using the following algorithm for computing Open image in new window (i, λ): let 0 <t1 <t2 <t3 be three pre-definite thresholds and m1 <m2 <m3 <m4 four pre-definite integers.

We have obtained good empirical results on many data sets with t1 = 0.01, t2 = 0.05, t3 = 0.2, m1 = 3, m2 = 5, m3 = 15 and Open image in new window with the constraint that Open image in new window (i, λ) is not decreasing. This adaptative moving average method is quite empirical. This topic deserve some more work to build a well assessed smoothing method. This is one of our ongoing research project.


Supplementary material

12859_2004_241_MOESM1_ESM.pdf (57 kb)
Authors’ original file for figure 1
12859_2004_241_MOESM2_ESM.pdf (65 kb)
Authors’ original file for figure 2
12859_2004_241_MOESM3_ESM.pdf (108 kb)
Authors’ original file for figure 3
12859_2004_241_MOESM4_ESM.pdf (6 kb)
Authors’ original file for figure 4
12859_2004_241_MOESM5_ESM.pdf (6 kb)
Authors’ original file for figure 5
12859_2004_241_MOESM6_ESM.pdf (6 kb)
Authors’ original file for figure 6
12859_2004_241_MOESM7_ESM.pdf (6 kb)
Authors’ original file for figure 7
12859_2004_241_MOESM8_ESM.pdf (6 kb)
Authors’ original file for figure 8
12859_2004_241_MOESM9_ESM.pdf (6 kb)
Authors’ original file for figure 9


  1. 1.
    Benjamini Y, Hochberg Y: Controlling the false discovery rate: a practical and powerful approach to multiple testing. JRSSB 1995, 57,1: 289–300.Google Scholar
  2. 2.
    Storey JD, Tibshirani R: Statistical significance for genomewide studies. PNAS 2003, 100,16: 9440–9445. 10.1073/pnas.1530509100CrossRefGoogle Scholar
  3. 3.
    Storey JD, Taylor JE, Siegmund D: Strong control, conservative point estimation, and simultaneous conservative consistency of false discovery rates: A unified approach. JRSSB 2004, 66: 187–205.CrossRefGoogle Scholar
  4. 4.
    Golub TR, Slonim DK, Tamayo P, Huard C, Gaasenbeek M, Mesirov M, Coller JP, Loh M, 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.531CrossRefPubMedGoogle Scholar
  5. 5.
    Dudoit S, Shaffer CBJ: Multiple hypothesis testing in microarray experiments. Statistical Science 2003, 18,1: 71–103. 10.1214/ss/1056397487CrossRefGoogle Scholar
  6. 6.
    Hedenfalk I, Duggan D, Chen Y, Radmacher M, Bittner M, Simon R, Meltzer P, Gusterson B, Esteller M, Kallioniemi OP: N Engl J Med 2001, 344: 539–548. 10.1056/NEJM200102223440801CrossRefPubMedGoogle Scholar
  7. 7.
    Dudoit S, Yang YH, Callow MJ, Speed TP: Statistical methods for identifying differentially expressed genes in replicated cdna microarray experiments. Statistica Sinica 2002, 12: 1.Google Scholar
  8. 8.
    Cressie N: Statistics for Spatial Data New York: Wiley 1993.Google Scholar
  9. 9.
    Johnson NL, Kotz S, Balakrishnan N: Continuous Univariate Distributions New York: Wiley 1995.Google Scholar

Copyright information

© Aubert et al; licensee BioMed Central Ltd. 2004

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.

Authors and Affiliations

  1. 1.UMR INAPG/INRA/ENGREF 518Paris Cedex 05France

Personalised recommendations