A comprehensive evaluation of SAM, the SAM R-package and a simple modification to improve its performance
- Shunpu Zhang^{1}Email author
DOI: 10.1186/1471-2105-8-230
© Zhang; licensee BioMed Central Ltd. 2007
Received: 08 February 2007
Accepted: 29 June 2007
Published: 29 June 2007
Abstract
Background
The Significance Analysis of Microarrays (SAM) is a popular method for detecting significantly expressed genes and controlling the false discovery rate (FDR). Recently, it has been reported in the literature that the FDR is not well controlled by SAM. Due to the vast application of SAM in microarray data analysis, it is of great importance to have an extensive evaluation of SAM and its associated R-package (sam2.20).
Results
Our study has identified several discrepancies between SAM and sam2.20. One major difference is that SAM and sam2.20 use different methods for estimating FDR. Such discrepancies may cause confusion among the researchers who are using SAM or are developing the SAM-like methods. We have also shown that SAM provides no meaningful estimates of FDR and this problem has been corrected in sam2.20 by using a different formula for estimating FDR. However, we have found that, even with the improvement sam2.20 has made over SAM, sam2.20 may still produce erroneous and even conflicting results under certain situations. Using an example, we show that the problem of sam2.20 is caused by its use of asymmetric cutoffs which are due to the large variability of null scores at both ends of the order statistics. An obvious approach without the complication of the order statistics is the conventional symmetric cutoff method. For this reason, we have carried out extensive simulations to compare the performance of sam2.20 and the symmetric cutoff method. Finally, a simple modification is proposed to improve the FDR estimation of sam2.20 and the symmetric cutoff method.
Conclusion
Our study shows that the most serious drawback of SAM is its poor estimation of FDR. Although this drawback has been corrected in sam2.20, the control of FDR by sam2.20 is still not satisfactory. The comparison between sam2.20 and the symmetric cutoff method reveals that the relative performance of sam2.20 to the symmetric cutff method depends on the ratio of induced to repressed genes in a microarray data, and is also affected by the ratio of DE to EE genes and the distributions of induced and repressed genes. Numerical simulations show that the symmetric cutoff method has the biggest advantage over sam2.20 when there are equal number of induced and repressed genes (i.e., the ratio of induced to repressed genes is 1). As the ratio of induced to repressed genes moves away from 1, the advantage of the symmetric cutoff method to sam2.20 is gradually diminishing until eventually sam2.20 becomes significantly better than the symmetric cutoff method when the differentially expressed (DE) genes are either all induced or all repressed genes. Simulation results also show that our proposed simple modification provides improved control of FDR for both sam2.20 and the symmetric cutoff method.
1 Background
Determination of significantly differentially expressed genes from replicated microarray data using nonparametric approaches has attracted much attention in recent years. A comprehensive review of earlier methods for processing and analyzing gene expression data generated using microarrays can be found in [1]. Generally speaking, the statistical methods used to detect differentially expressed genes can be classified into two categories: the parametric methods and the nonparametric methods. The most commonly used parametric method is the two sample t-test and its variations [2]. Other parametric approaches include the analysis of variance approach [3], a regression approach [4] and the empirical Bayes methods [5–7], among others. A semiparametric hierarchical mixture method for detecting differentially expressed genes was considered in [8].
Recently, there is growing interest in developing nonparametric methods in microarray data analysis due to the availability of replicated microarray data as a result of the reduced cost in doing microarray experiments. One of the most often used nonparametric methods for analyzing microarrays is SAM [9]. Other popular nonparametric methods include the nonparametric empirical Bayes method [10, 11], and the mixture model method (MMM) [12], among others. In general, the nonparametric methods can be further classified into two categories: 1) methods such as SAM which provide direct control of FDR, and 2) methods such as MMM which provide control on the family wise error rate (FWER).
The focus of this paper is on SAM and its R-package (sam2.20) developed at Stanford University Labs [13]. As we will show later in the paper, the algorithm used in sam2.20 is actually different from that of SAM. Currently, a new version (Version 3.0) is available. However, it seems that there is no change in the algorithm used in sam2.20 and Version 3.0 (pages 27–31 of [13]).
Recent studies have found that SAM does not control FDR well [14–16]. In one class case, it has been observed in [14] that the null scores of the DE genes generated from the one class version of the SAM statistic (1) are more dispersed than the null scores from the equivalently expressed (EE) genes. Such over-dispersion may lead to over-estimation of FDR. In the two experimental condition comparisons as we are considering in this paper, the same over-dispersion problem was also observed and discussed in [12, 15, 17, 18]. Larson et al. [19] argued for caution when using the Excel version of SAM. The over-dispersed null scores show that the SAM statistic when being used as the null statistic does not have the true null distribution. In addition to the over-dispersion problem, our study also found that the distinct feature of SAM: the use of the displacement between the ordered test statistics and the expected null scores to look for the cutoffs, may lead to biased and even conflicting results when the DE and EE genes are not well separated.
The above mentioned problems of SAM also apply to sam2.20. Nevertheless, SAM has one much worse problem: its method for estimating FDR, which we will show does not produce meaningful results. This method has been abandoned in sam2.20. The discrepancies between SAM and sam2.20, combined with their potential problems, are the motivation of this paper. The objective is to provide a thorough evaluation of SAM and sam2.20 and analyze the pitfalls of the two methods. Our findings show that the performance of SAM and sam2.20 can be improved by looking into the following two aspects: 1) using a null statistic which can generate the null scores which have the true null distribution of the SAM statistic; and 2) avoiding the use of the order statistics in search of the cutoffs. It turns out that the correction of Aspect 1 requires construction of totally different test and null statistics [20], which is beyond the scope of the current paper. For this reason, we will only focus on the correction of Aspect 2 in this paper. The paper is organized as follows. Section 2 gives a review of the algorithms of SAM and sam2.20. The discrepancies between them will be pointed out and the impacts of these discrepancies will be studied. In Section 3, we discuss the potential problems of SAM and sam2.20. In Section 4, we re-visit the conventional symmetric cutoff method. Simulations carried out in Section 5 show that the symmetric cutoff method has advantage over sam2.20 when the number of induced genes in the microarray data is not too different from that of repressed genes while sam2.20 is a better choice if there are overwhelmingly more induced genes than repressed genes (or vice versa). To overcome the over-estimation problem, we further propose a modified version of the FDR correction method [14]. For comparison, the same idea was also applied to sam2.20. Numerical results show that such modification provides improved control of FDR for both sam2.20 and the symmetric cutoff method. Finally, both methods were applied to the leukaemia data [21] to compare their performance.
2 Results
2.1 A review of SAM
where a = (1/J + 1/K)/(J + K - 2). The constant s_{0} is chosen to minimize the coefficient of variation of d(i).
The null scores are obtained by permuting the pooled data {X_{i 1}, ..., X_{ iJ }; Y_{i 1}, ..., Y_{ iK }} and then treating the first J expression levels as the observations under experimental condition 1 and the remaining K as the observations under experimental condition 2. For a particular permutation b, denote the permuted data by ${\left\{{X}_{ij}^{b}\right\}}_{j=1}^{J}$ and ${\left\{{Y}_{ik}^{b}\right\}}_{k=1}^{K}$.
- (a)
Order the test statistics d(i), i = 1, ..., n according to their magnitudes as d_{(1)} ≤ d_{(2)} ≤ ⋯ ≤ d_{(n)}.
- (b)
For each permutation b, compute the ordered null scores, and denote them by d_{(1)}(b) ≤ d_{(2)}(b) ≤ ⋯ ≤ d_{(n)}(b), b = 1, ..., B, where B is the total number of permutations used.
- (c)
Calculate the expected null scores by ${\overline{d}}_{(i)}={\displaystyle \sum _{b=1}^{B}{d}_{(i)}(b)/B}$.
- (d)
Plot the ordered test statistics d_{(1)}, d_{(2)}, ⋯, d_{(n)}against the expected null scores ${\overline{d}}_{(1)},{\overline{d}}_{(2)},\cdots ,{\overline{d}}_{(n)}$.
- (e)For each possible threshold Δ, a gene is called significant if$\left|{d}_{(i)}-{\overline{d}}_{(i)}\right|>\Delta .$(4)
- (f)Denote the set of significant genes declared in (e) by T. The FDR is estimated by $\stackrel{\_}{FDR}=\stackrel{\_}{FP}/\stackrel{\_}{TP}$, where$\stackrel{\_}{FP}={\displaystyle \sum _{b=1}^{B}\#\{i\in T:{d}^{b}(i)>{\delta}_{U}}\text{or}{d}^{b}(i){\delta}_{L}\}/B.$(6)
The two values δ_{ U }, δ_{ L }used in (6) are the horizontal cutoffs. They are defined as the smallest d_{(i)}among the significant positive genes and the largest d_{(i)}among the significant negative genes.
where ${\overline{d}}_{(i,b)}={\displaystyle \sum _{c\ne b}{d}_{(i)}(c)/(B-1)}$.
2.2 A review of sam2.20
Comparing the above SAM algorithm with that used in sam2.20 [13], we see that there are two differences on Steps (e) and (f). The difference on (e) is on how a gene is declared significant. For a fixed threshold Δ, starting at the origin, and moving up to the right find the first i = i_{1} such that d_{(i)}- ${\overline{d}}_{(i)}$ > Δ. All genes past i_{1} are called "significantly positive". Similarly, starting from the origin, move down to the left and find the first i = i_{2} such that d_{(i)}- ${\overline{d}}_{(i)}$ < -Δ. All genes past i_{2} are called "significant negative"; see Steps 6 and 7 on Page 28 of [13]. Denote δ_{ L }= ${d}_{({i}_{2})}$, δ_{ U }= ${d}_{({i}_{1})}$. This process can be expressed as
(e') For each possible threshold Δ, a gene is called significant positive if d(i) > δ_{ U }, or significant negative if d(i) <δ_{ L }.
The total number of genes declared significant is
where $\stackrel{\_}{FP}$(b) = #{1 ≤ i ≤ n: d^{ b }(i) > δ_{ U }or d^{ b }(i) <δ_{ L }, b = 1, ..., B. Subsequently, the FDR is estimated by $\stackrel{\_}{FDR}={\widehat{\pi}}_{0}\stackrel{\_}{FP}/\stackrel{\_}{TP}$, where ${\widehat{\pi}}_{0}$ is the estimated proportion of non-DE genes. A natural spline based estimator ${\widehat{\pi}}_{0}$ is used in sam2.20 [22].
2.3 The impact of the change of algorithms
2.3.1 The impact of the difference between Step (e) of SAM and Step (e') of sam2.20
In Step (e) of SAM, only those genes with displacement from ${\overline{d}}_{(i)}$ larger than Δ are called significant. This means that, if gene i is called significant positive (or significant negative), it does not imply that gene j with d(j) > d(i) (resp. d(j) <d(i)) will be called significant as well. Because of this, it is claimed in [9] that the genes identified as significant by SAM do not necessarily have the largest relative changes in gene expression. To better understand how SAM and sam2.20 work differently, we carried out the following simulation. In the simulation, the data were generated from the following model:
X_{ ij }= μ_{ i }+ ε_{ ij }and Y_{ ik }= η_{i} + ω_{ ik }for i = 1, ..., n, j = 1, ..., J, k = 1, ..., K, (10)
where n = 5000, J = K = 4 and ε_{ ij }and ω_{ ik }are the i.i.d. random errors from N(0,1). For the first 100 genes, μ_{ i }= 0 and η_{ i }~ N(1,1), and for the last 100 genes, μ_{ i }= 0 and η_{ i }~ N(-1,1). The middle 4800 genes were generated with μ_{ i }= η_{ i }= 0. Hence, there are in total 200 differentially expressed genes.
2.3.2 The impact of the difference between Steps (f) of SAM and Step (f') of sam2.20
The change from Step (f) of SAM to Step (f') of sam2.20 is a desirable change. The problem with Step (f) of SAM is that it only uses the genes identified as significant to estimate the number of FP. Although in the definition of FDR the number of FP refers to those among the genes declared significant, SAM ignored the fact that the FP genes among the significant genes are actually the genes which are falsely identified as significant among all the EE genes in the experiment. Hence, Step (f) of SAM which only calculates the number of FP among the genes called significant would severely under-estimate the true number of FP. However, note that Step (f') of sam2.20 actually uses all the genes instead of only those non-DE ones to estimate the FDR. This would certainly lead to over-estimation if no adjustment is done. As a result, the ratio $\stackrel{\_}{FP}$/$\stackrel{\_}{TP}$ is multiplied by a factor of ${\widehat{\pi}}_{0}$ to provide a reasonable estimate of FDR.
3 Potential problems of SAM and sam2.20
3.1 SAM's use of different standards to declare significance and its poor estimation of FDR
In addition to showing the difference between SAM and sam2.20, Figures 1 and 2 actually raise concerns about the use of SAM and sam2.20 in practice. Figure 1 shows that there are genes with test statistics exceeding δ_{ L }and δ_{ U }which are not identified as significant by Step (e) of SAM since they do not have displacement larger than the threshold Δ. However, Step (f) of SAM shows that such genes are considered as significant in the estimation of FDR. Hence, SAM used different standards to declare significance. The reason for SAM's use of different standards can be explained by the results of a simulation described as follows. The data used in the simulation were generated from model (10) under the same setup as that used in producing Figures 1 and 2, except that we used μ_{ i }= 0 and η_{ i }~ N(3,1) for the first 100 genes, and μ_{ i }= 0 and η_{ i }~ N(-3,1) for the last 100 genes.
Estimated numbers of FP from SAM, (7) and sam2.20, s_{0} default choice of SAM. Table 1 displays the average numbers of $\stackrel{\_}{TP}$, true FP and the estimated FP from SAM, formula (7) and sam2.20 from 100 simulations at different levels of estimated TP.
Mean $\stackrel{\_}{TP}$ | Mean of true FP | Mean $\stackrel{\_}{FP}$ from SAM | Mean $\stackrel{\_}{FP}$ from (7) | Mean $\stackrel{\_}{FP}$ from sam2.20 |
---|---|---|---|---|
248.31 | 59.32 | 20.73 | 7.96 | 68.71 |
203.67 | 24.06 | 12.37 | 6.21 | 28.98 |
152.03 | 4.61 | 5.55 | 4.34 | 5.41 |
The above discussion shows that formula (7), which uses the displacement between the order null scores and the expected null scores to declare significance, does not generally provide meaningful estimates of the number of true FP. This is probably what motivated SAM to use (6), instead of (7), to declare significance of the null scores. Column 3 of Table 1 reports the FP estimates obtained by using (6). Unfortunately, it can be seen that the same under-estimation problem also exists for (6), although to a lesser degree. As explained in Subsection 2.3.2 below, the underestimation of (6) is caused by the use of only predicted DE genes in the estimation of FP. This issue has been resolved in sam2.20 by switching to (9) of Step (f'). The last column of Table 1 shows the results from sam2.20. The improvement made by sam2.20 is obvious despite the obvious over-estimation problem. Due to the obvious weakness of SAM, our future discussion will be focused on sam2.20.
3.2 The conflicting results of sam2.20 due to the use of asymmetric cutoffs
A re-visit of Figures 1 and 2 reveals that sam2.20 may produce conflicting results. For example, the point (see the red point outside the interval ${\overline{d}}_{(1)}$ ± Δ at the lower left corner of Figure 1)) is not considered significant negative (see Figure 2) by sam2.20 since the point is above, instead of below, the band ${\overline{d}}_{(i)}$ ± Δ despite the fact that it has displacement larger than Δ. If the same logic applies, the last 2 points (see the red points on the upper right corner below ${\overline{d}}_{(i)}$ - Δ, Figure 1) should not be considered significant positive, either. However, sam2.20 declared these two including all the other 21 points within the band ${\overline{d}}_{(i)}$ ± Δ significant since they are larger than the upper cutoff δ_{ U }= 1.3068 (Figure 2). Such contradiction makes the interpretation of the results very difficult. As a matter of fact, if one uses a slightly higher threshold Δ, all these 24 points above δ_{ U }= 1.3068 will be declared non-significant, hence, causes a sudden big drop in the number of significant genes. Such phenomenon is often seen in the output of sam2.20.
The same variability was also observed in [12] by numerically comparing d_{(i)}with the true expected order statistics. The significantly larger variability of the order statistic d_{(i)}for i near 1 and n may cause such genes to have a higher probability of being falsely claimed significant. Since the threshold Δ is not directly applied on the test statistics, another side-effect of using the displacement of the ordered test statistics from the expected null scores is that sam2.20 cannot provide FDR estimates for consecutive values of $\stackrel{\_}{TP}$. This is related to the previous discussion on the possible sudden drop in the number of significant genes which sam2.20 declares.
Numbers of significant positive and negative genes identified by sam2.20 at Δ = 0.035. Table 2 displays the numbers of significant positive and negative genes from 10 simulations under the same setup as that used in producing Figures 1 and 2.
Simulation | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|---|
Number of sig. genes | 230 | 158 | 294 | 75 | 468 | 394 | 41 | 168 | 74 | 206 |
sig. pos | 73 | 27 | 140 | 75 | 285 | 380 | 34 | 86 | 26 | 129 |
sig. neg | 157 | 131 | 154 | 0 | 183 | 14 | 7 | 82 | 48 | 77 |
Results obtained under Setups (1) – (3). The medians reported in the table were calculated from 100 simulations. The median est.FDR values reported in Column 4 were obtained from sam2.20 and the symmetric cutoff method directly. The median est.FDRc values reported in Column 5 are the estimated FDR with FP correction (12).
Setup | Median M | Median true FDR sam2.20/sym.cutoff | Median est.FDR sam2.20/sym.cut | Median est. FDRc sam2.20/sym.cut | |
---|---|---|---|---|---|
1 | 199 | 0.1005/0.1005 | 0.1188/0.1238 | 0.0981/0.1020 | |
2 | (i) | 210.5 | 0.7082/0.7779 | 0.6959/0.8130 | 0.6875/0.7945 |
(ii) | 211.5 | 0.6699/0.6748 | 0.6730/0.7219 | 0.6331/0.6933 | |
(iii) | 207 | 0.6578/0.6533 | 0.6738/0.7039 | 0.6376/0.6616 | |
(iv) | 200 | 0.5025/0.4371 | 0.5305/0.4846 | 0.5004/0.4403 | |
3 | (i) | 399 | 0.0599/0.0800 | 0.0596/0.1017 | 0.0598/0.0779 |
(ii) | 399 | 0.1827/0.1754 | 0.1874/0.2135 | 0.1862/0.1758 | |
(iii) | 399 | 0.2130/0.1989 | 0.21750/.2462 | 0.2168/0.2007 | |
(iv) | 400.5 | 0.4913/0.3950 | 0.5067/0.4511 | 0.4975/0.3994 |
3.3 The complications caused by the use of the same SAM statistic as both the test and null statistics
An immediate effect of the use of the same SAM statistic as both the test and null statistic is the over-dispersed null scores. In the two experimental condition comparisons, a simple permutation is applied to the K + J expression levels of a gene, and the first K expression levels will be treated as the observations under experimental condition 1 and the last J expression levels as the observations under experimental condition 2. Then, the SAM statistic is applied to the permuted data to obtain the null scores.
By definition, a null distribution should be irrelevant of the experimental conditions. Hence, the null distribution under model (10) should have mean zero regardless of the experimental conditions. Note that the first K and last J expression levels in the permuted data are usually the mixtures of expression levels under both experimental conditions, respectively. The set of null scores generated from such permutation may have a non-zero mean, hence leading to over-dispersed null scores. In some cases, it was suggested to only use the sets of null scores generated from certain appropriate permutations. For example, the concept of balanced permutation was proposed in [9, 11] to insure the null scores generated to have mean 0. However, this suggestion was only specific to the ionizing radiation response experiment considered in those papers. No general rules were provided.
Since the original ordering {1, ..., J; (J + 1), ..., (J + K)} is one of the permutations used in sam2.20, the use of such permutation and the use of the same SAM statistic as both the test and null statistic would count an estimated TP case as an FP case in the estimation of FDR. Actually $\stackrel{\_}{TP}$ is the maximum value of the $\stackrel{\_}{FP}$ values whose median is used in the estimation of $\stackrel{\_}{FDR}$. A permutation not too different from {1, ..., J; (J + 1), ..., (J + K)} would give $\stackrel{\_}{FP}$ similar to $\stackrel{\_}{TP}$. This shows that the 90th $\stackrel{\_}{FP}$ reported in sam2.20 would significantly over-estimate the true 90th FP and is not much informative. This also explains why sam2.20 uses the median $\stackrel{\_}{FDR}$ (instead of the mean) of all the $\stackrel{\_}{FDR}$ values from all the permutations as the estimate of FDR. The use of the mean $\stackrel{\_}{FDR}$ value would lead to a much inflated estimate of FDR.
4 The symmetric cutoff method
The discussion in Section 3 shows that the contradictory results of sam2.20 can be avoided without the use of the order statistics in searching for the cutoffs. Note that the theoretical null distribution is symmetric about 0 under the mild assumption that the errors in model (10) are symmetric about 0. This means that the use of symmetric cutoffs in declaring significance actually makes more sense than the use of asymmetric cutoffs. This motivates us to re-visit the conventional symmetric cutoff method. For simplicity, we shall call it the symmetric cutoff method. For clarity, we describe the algorithm of the symmetric cutoff method below.
- 1.
Calculate the test statistics d(1), ..., d(n) from (1) for all genes.
- 2.
Given any $\stackrel{\_}{TP}$ = M ∈ [M_{0}, M_{1}], declare the M genes with the largest test statistics in their absolute values as the significant genes.
- 3.
Define the symmetric cutoffs δ_{ U }= -δ_{ L }= ν, where ν is the smallest value among the absolute values of the test statistics from the genes declared significant.
- 4.The FDR is estimated by $\stackrel{\_}{FDR}={\widehat{\pi}}_{0}\stackrel{\_}{FP}$/M, with$\stackrel{\_}{FP}=\text{median}\left(\stackrel{\_}{FP}(1),\cdots ,\stackrel{\_}{FP}(B)\right),$(11)
where $\stackrel{\_}{FP}$(b) = #{1 ≤ i ≤ n: d^{ b }(i) > δ_{ U }or d^{ b }(i) <δ_{ L }} (b = 1, ..., B) and d^{ b }(i), i = 1, ..., n, are the null scores calculated from (3) corresponding to permutation b and B is the total number of permutations used.
- 5.The FDR is estimated by $\stackrel{\_}{FDR}={\widehat{\pi}}_{0}\stackrel{\_}{FP}$/M, where$\stackrel{\_}{FP}=\frac{n}{\#\text{ofgenesin}{T}^{\prime}}\text{median}\left(\stackrel{\_}{F{P}^{\prime}}(1),\cdots ,\stackrel{\_}{F{P}^{\prime}}(B)\right),$(12)
where $\stackrel{\_}{F{P}^{\prime}}$(b)= #{i ∈ T': d^{ b }(i) > δ_{ U }or d^{ b }(i) <δ_{ L }} (b = 1, ..., B) and the set T' in (12) is the set of all genes after removing the genes declared significant in Step (2).
The symmetric cutoff method with the use of (12) will be called the symmetric cutoff method with FP correction. For comparison, we also applied (12) to the results from sam2.20.
5 Numerical results
Simulation setups. Under each setup, there are 5000 genes. Table 3 shows how the genes were simulated. For example, under setup 1, the first 100 genes were generated from N(0,1) and N(3,1) under experimental conditions 1 and 2, respectively, the middle 4800 genes were generated from N(0,1) regardless of experimental condition and the last 100 genes were generated from N(0,1) and N(-3,1) under experimental conditions 1 and 2, respectively. The third column displays the ratio of induced to repressed genes. If the number of repressed genes is 0, the ratio is defined as ∞.
Setup | Genes First/middle/last | Ratio | Experimental condition 1 | Experimental condition 2 | |
---|---|---|---|---|---|
1 | 100/4800/100 | 1/1 | N(0,1)/N(0,1)/N(0,1) | N(3,1)/N(0,1)/N(-3,1) | |
2 | (i) | 200/4800/0 | ∞ | ||
(ii) | 167/4800/33 | 5/1 | |||
(iii) | 160/4800/40 | 4/1 | |||
(iv) | 100/4800/100 | 1/1 | N(0,1)/N(0,1)/N(0,1) | N(1,1)/N(0,1)/N(-3,1) | |
3 | (i) | 0/4600/400 | 0 | ||
(ii) | 66/4600/334 | 1/5 | |||
(iii) | 80/4600/320 | 1/4 | |||
(iv) | 200/4600/200 | 1/1 |
Table 4 also shows that sam2.20 works better only if the ratio of induced to repressed genes is far from 1:1 (see the results under Setups 2(i, ii) and 3(i)). Otherwise the symmetric cutoff method has advantage over sam2.20. Notice that the advantage of the symmetric cutoff method over sam2.20 under Setup 1 is not as obvious as that observed under Setups 2(iv) and 3(iv). This means that the relative performance of the symmetric cutoff method to sam2.20 is dependent on the distributions of induced and repressed genes. On the other hand, the results under Setups 2(ii) and 3(ii) show that the relative performance of the symmetric cutoff method to sam2.20 is also affected by the ratio of DE to EE genes.
To get more insight into how sam2.20 and the symmetric cutoff method perform differently under different setups, we obtained Figures 5 and 6 under Setups 2(i) and 3(iv). Figure 5 shows that the symmetric cutoff method can have as many as 30 more FP than that from sam2.20 among 200 genes called significant. On the other hand, Figure 6 shows that sam2.20 can have as many as 54 more FP than the symmetric cutoff method among 400 significant genes under Setup 3(iv). The boxplots at the right of Figure 5 show that sam2.20 actually under-estimates the true FDR slightly and FP correction (12) has caused more severe under-estimation in this case. We have not observed any under-estimation problem for the symmetric cutoff method in the simulations we carried out. It can be seen from Figure 5 that, although it provides smaller median true FDR than sam2.20, the un-corrected symmetric cutoff method has a much more serious over-estimation problem than sam2.20. Nevertheless, the over-estimation problem has been largely corrected by FP correction (12).
Results obtained for the leukaemia data. Table 5 reports the number of significant positive and negative genes (columns 2, 6), the cutoffs (columns 3, 7), the estimated FDR (FDR) and the estimated FDR with FP correction (FDR-c) from sam2.20 and the symmetric cutoff method (columns 4, 8). Column 5 reports the number of genes found significant by sam2.20 and the symmetric cutoff method from the list of informative genes [21].
$\stackrel{\_}{TP}$ | sam2.20 | # of genes from Golub et al.'s list | The symmetric cutoff method | ||||
---|---|---|---|---|---|---|---|
sig. pos | cutup | FDR | sam2.20 | sig. pos | cutup | FDR | |
sig. neg | cutlo | FDR-c | sym.cut | sig. neg | cutlo | FDR-c | |
316 | 227 | 3.2023 | 0.0065 | 14 | 215 | 3.3073 | 0.0043 |
89 | -3.3888 | 0.0068 | 14 | 101 | -3.3073 | 0.0045 | |
191 | 154 | 3.8648 | 0.0036 | 9 | 143 | 3.9612 | 0.0036 |
37 | -4.2450 | 0.0037 | 11 | 48 | -3.9612 | 0.0037 | |
92 | 87 | 4.0787 | 0 | 7 | 73 | 4.1906 | 0 |
5 | -5.1595 | 0 | 9 | 19 | -4.1906 | 0 | |
29 | 29 | 5.3143 | 0 | 5 | 27 | 5.3685 | 0 |
0 | -Inf | 0 | 6 | 2 | -5.3685 | 0 | |
23 | 23 | 5.5514 | 0 | 5 | 22 | 5.5678 | 0 |
0 | -Inf | 0 | 5 | 1 | -5.5678 | 0 |
Table 5 shows that the performance of the two methods is quite similar, except for the case when $\stackrel{\_}{TP}$ = 316 in which the estimated FDR from the symmetric cutoff method is significantly smaller than that from sam2.20. It can also be seen from Table 5 that the numbers of genes being declared significant positive are much higher than those of genes being declared significant negative for both methods. The results from the bottom row of Table 5 shows that there are no genes with test statistics below -5.5678 (the only significant negative gene has test statistic equal to -5.5678) while there are 22 genes with test statistics larger than 5.5678. This means that the distribution of the test statistics is right skewed, hence resulting in a larger number of induced genes detected as significant.
Table 5 also shows that the asymmetric numbers of induced and repressed called significant by sam2.20 are greatly affected by the asymmetric cutoffs. For example, at $\stackrel{\_}{TP}$ = 92, sam2.20 reported 87 significant positive genes and only 5 significant negative genes, compared to 73 and 19 significant positive and negative genes declared by the symmetric cutoff method. It is obvious that the extremely small number (= 5) of significant negative genes from sam2.20 is caused by the use of the lower cutoff (cutlo = -5.1595), which is much larger in its absolute value than the upper cutoff (cutup = 4.0787). We cannot find a reasonable explanation why one should make the declaration of a gene being significant negative much more difficult than being significant positive.
The effect of FP correction (12) can not be observed for both methods in this example. The FDR estimates with FP correction for $\stackrel{\_}{TP}$ = 316 are even higher than the original ones. It is not clear why this has happened. Since we do not know which genes are truly DE genes and which genes are truly EE genes for a real data example such as the leukaemia data, it is impossible to know which method indeed works better. However, the paper of Golub et al. [21] provided a list of 15 genes which biologists considered as informative in the classification of leukaemia as ALL or AML. These genes are: CD11c, CD33, MB-1, the leptin receptor, zyxin, Cyclion D3, Op18, MCM3, Rbap48, SNF2, TFIIEβ, c-Myb, E2A, HOXA9 and TOP2B. The first three genes encode cell surface proteins for which monoclonal antibodies have been demonstrated to be useful in distinguishing lymphoid from myeloid lineage cells. The leptin receptor provides a new marker of acute leukaemia subtype while the zyxin gene has been shown to encode a LIM domain protein in cell adhesion in fibroblasts. The other genes in the list have been shown to be related to cancer pathogenesis. In Table 5, we reported the numbers of the genes in the list which are included in the genes declared significant by each method at different levels of threshold Δ. It can be seen that the symmetric cutoff method consistently identified more genes from the list than sam2.20 except in the first and last cases.
6 Discussion and conclusion
In this paper, we have provided a comprehensive evaluation of SAM, and its R-Package sam2.20. The discrepancies between the algorithms of SAM and sam2.20 are identified. We have also discussed potential drawbacks of SAM and sam2.20. Through comparisons, we have provided a detailed study on the performance of sam2.20 and the symmetric cutoff method and discussed their relative strength. However, it should be pointed out that our comparison was based on the true FDR each method produces given that they identified the same number of significant genes. In practice, the only way of controlling FDR is through its estimated value. Unfortunately, as seen from the simulations, both sam2.20 and the symmetric cutoff method may significantly over-estimate the true FDR. Figures 5, 6 show that the over-estimation problem of the symmetric cutoff method without FP correction is even more severe than sam2.20 under certain situations. This shows the importance of using the proposed FP correction in order to provide efficient control of FDR. It can be seen from the simulations that our proposed FP correction (12) can efficiently correct the over-estimation problem. Nevertheless, there are still some concerns about the use of FP correction (12). One concern is that it may make the under-estimation problem worse if the original method under-estimates the true FDR. Another concern is that the under-estimation problem may become a common problem if the number of genes excluded in the estimation of FDR is too large (namely, if $\stackrel{\_}{TP}$ is too large). Such under-estimation would make scientists to report $\stackrel{\_}{FDR}$ which is significantly smaller than the true FDR, hence lead to over-estimation of the number of true DE genes among the genes identified as significant by the method. A possible remedy is to find a reasonable estimate of the number of DE genes and then remove those genes in the estimation of FP. Another possible approach is to use the weighted permutation approach or to use the rank scores to reduce the influence of the over-dispersed null scores on the estimation of FDR [15, 24]. However, a detailed comparison of these approaches is beyond the scope of this paper. We will investigate the performance of such methods in the future research.
7 Methods
Data sets
The simulated data under Setups 1–3 were generated using R [25]. The leukaemia data of Golub et al. were downloaded from the data link provided in [21].
SAM analysis
SAM analysis was performed according to the algorithm described in [9].
sam2.20 analysis
sam2.20 analysis was performed using the SAM R-package (Release 2.20) downloaded from the SAM website [26].
The symmetric cutoff method
The algorithm of the symmetric cutoff method was described in Section 4 of this paper.
Declarations
Acknowledgements
The author is grateful to the editor and the two referees for their very detailed and helpful comments and constructive suggestions which led to considerable improvements of this article.
Authors’ Affiliations
References
- Huber W, Heydebreck A, Vingron M: Analysis of microarray gene expression data. Technical report. 2003, Division of Molecular Genome Analysis. German Cancer Research Center, 87: 188-192.Google Scholar
- Dudoit S, Yang HY, Callow JM, Speed PT: Statistical methods for identifying differentially expressed genes in replicated cDNA microarray experiments. Technical report. 2000, Department of Biochemistry. Stanford UniversityGoogle Scholar
- Kerr MK, Martin M, Churchill GA: Analysis of variance for gene expression microarray data. J Comput Biol. 2000, 7: 819-837. 10.1089/10665270050514954.View ArticlePubMedGoogle Scholar
- Thomas JG, Olson JM, Tapscott SJ, Zhao LP: An efficient and robust statistical modelling approach to discover differentially expressed genes using genomic expression profiles. Genome Research. 2001, 11: 1227-1236. 10.1101/gr.165101.PubMed CentralView ArticlePubMedGoogle Scholar
- Newton MA, Kendziorski CM, Richmond CS, Battner FR, Tsui KW: On differentially variability of expression ratios: improving statistical inference about gene expression changes from microarray data. J Comput Biol. 2001, 8: 37-52. 10.1089/106652701300099074.View ArticlePubMedGoogle Scholar
- Kendziorski CM, Newton M, Lan H, Gould MN: On parametric empirical Bayes methods for comparing multiple groups using replicated gene expression profiles. Stat Med. 2003, 22: 3899-3914. 10.1002/sim.1548.View ArticlePubMedGoogle Scholar
- Smyth GK: Linear models and empirical Bayes methods for assessing differential expression in microarray experiments. Statistical Applications in Genetics and Molecular Biology. 2004, 3 (1): Article 3Google Scholar
- Newton M, Noueiry A, Ahlquist P, Sarkar D: Detecting differential gene expression with a semiparametric hierarchical mixture method. Biostatistics. 2004, 5 (2): 155-176. 10.1093/biostatistics/5.2.155.View ArticlePubMedGoogle Scholar
- Tusher VG, Tibshirani R, Chu G: Significant analysis of microarrays applied to the ionizing radiation response. Proc Natl Acad Sci USA. 2001, 98: 5116-5121. 10.1073/pnas.091062498.PubMed CentralView ArticlePubMedGoogle Scholar
- Efron B, Tibshirani R, Goss V, Chu G: Microarrays and their use in a comparative experiment. Technical Report. 2000, Department of Statistics. Stanford UniversityGoogle Scholar
- Efron B, Tibshirani R, Storey JD, Tusher V: Empirical Bayes analysis of a microarray experiment. J Am Stat Assoc. 2001, 96: 1151-1160. 10.1198/016214501753382129.View ArticleGoogle Scholar
- Pan W: On the use of permutation in and the performance of a class of nonparametric methods to detect differential gene expression. Bioinformatics. 2003, 19 (11): 1333-1340. 10.1093/bioinformatics/btg167.View ArticlePubMedGoogle Scholar
- Chu G, Narasimhan B, Tibshirani R, Tusher V: SAM Significance Analysis of Microarrays-Users guide and technical document. [http://www-stat.stanford.edu/~tibs/SAM/sam.pdf]
- Xie Y, Pan W, Khodursky A: A note on using permutation based false discovery rate estimate to compare different analysis methods for microarray data. Bioinformatics. 2005, 21 (23): 4280-4288. 10.1093/bioinformatics/bti685.View ArticlePubMedGoogle Scholar
- Guo X, Pan W: Using weighted permutation scores to detect differential gene expression with microarray data. Journal of Bioinformatics and Computational Biology. 2005, 3: 989-1006. 10.1142/S021972000500134X.View ArticlePubMedGoogle Scholar
- Delmar P, Robin S, Daudin JJ: VarMixt: efficient variance modelling for the differential analysis of replicated gene expression data. Bioinformatics. 2005, 21 (4): 502-8. 10.1093/bioinformatics/bti023.View ArticlePubMedGoogle Scholar
- Zhao Y, Pan W: Modified nonparametric approaches to detecting differentially expressed genes in replicated microarray experiments. Bioinformatics. 2002, 19 (9): 1046-1054. 10.1093/bioinformatics/btf879.View ArticleGoogle Scholar
- Pan W, Lin J, Le C: A mixture model approach to detecting differentially expressed genes with microarray data. Funct Integr Genomics. 2003, 3: 117-124. 10.1007/s10142-003-0085-7.View ArticlePubMedGoogle Scholar
- Larsson O, Wahlestedt C, Timmons AJ: Considerations when using the significance analysis of microarrays (SAM) algorithm. BMC Bioinformatics. 2005, 6: 129-10.1186/1471-2105-6-129.PubMed CentralView ArticlePubMedGoogle Scholar
- Zhang S: An improved nonparametric approach for detecting differentially expressed genes with replicated microarray data. Statistical Applications in Genetics and Molecular Biology. 2006, 5 (1): Article 30-Google Scholar
- Golub TR, Slonim DK, Tamayo P, Huard C, Gaasenbeek M, Mesirov JP, Coller H, Loh ML, Downing JR, Caligiuri MA: Molecular classification of cancer: class discovery and class prediction by gene expression monitoring. Science. 1999, 286 (5439): 531-537. 10.1126/science.286.5439.531.View ArticlePubMedGoogle Scholar
- Story JD, Tibshirani R: Statistical significance of genome-wide experiments. Proc Natl Acad Sci USA. 2003, 9440-9445. 10.1073/pnas.1530509100. 100Google Scholar
- Rice AJ: Mathematical Statistics and Data Analysis. 1995, Duxbury Press: Belmont, CA, 2Google Scholar
- van de Weil MA: Significance Analysis of Microarrays Using Rank Scores. Kwantitatieve Methoden. 2004, 25-37. 71Google Scholar
- R is a freely available language and environment for statistical computing. [http://cran.r-project.org/]
- The SAM R-package is downloaded from the SAM website. [http://www-stat.stanford.edu/~tibs/SAM/]
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.