Skip to main content
Briefings in Bioinformatics logoLink to Briefings in Bioinformatics
. 2021 Mar 24;22(5):bbab053. doi: 10.1093/bib/bbab053

Inflated false discovery rate due to volcano plots: problem and solutions

Mitra Ebrahimpoor 1,✉, Jelle J Goeman 2
PMCID: PMC8425469  PMID: 33758907

Abstract

Motivation

Volcano plots are used to select the most interesting discoveries when too many discoveries remain after application of Benjamini–Hochberg’s procedure (BH). The volcano plot suggests a double filtering procedure that selects features with both small adjusted Inline graphic-value and large estimated effect size. Despite its popularity, this type of selection overlooks the fact that BH does not guarantee error control over filtered subsets of discoveries. Therefore the selected subset of features may include an inflated number of false discoveries.

Results

In this paper, we illustrate the substantially inflated type I error rate of volcano plot selection with simulation experiments and RNA-seq data. In particular, we show that the feature with the largest estimated effect is a very likely false positive result. Next, we investigate two alternative approaches for multiple testing with double filtering that do not inflate the false discovery rate. Our procedure is implemented in an interactive web application and is publicly available.

Introduction

Advances in DNA sequencing technology allow simultaneous measurement for thousands of features in one study. Generally, the goal is to compare the expression level of mRNAs/genes between two conditions (e.g. healthy vs. diseased) and identify differentially expressed features. In such high-dimensional settings, the chance of committing type I errors increases as well as the expected number of such false discoveries. This is a well-known issue and multiple testing procedures are adopted to avoid it. Popular multiple testing procedures control the false discovery rate (FDR), which is the expected proportion of type I errors among the discoveries. The most widely used such method in genomics is the Benjamini–Hochberg (BH) procedure [2]. BH provides a set of discoveries that maintains a prespecified FDR level, typically 0.05. FDR-based methods are generally more powerful than their competitors, making them a favorable choice for exploratory research.

Once the features are tested and multiple testing corrections are applied, the resulting list of potentially interesting discoveries can be rather long, so that researchers want to reduce it. It is not always desirable to prioritize the features merely based on the Inline graphic-values, so researchers additionally use the estimated effect size (or fold-change) for post hoc filtering of the discoveries. This is known as a ‘double filtering’ procedure [22], where the results are first filtered based on significance and then according to the magnitude of change. The most famous double filtering tool in genomics is the volcano plot [6], that is widely used to visualize the results of genomic experiments. The volcano plot is a scatter-plot of the statistical significance (Inline graphicp-values on Y-axis) against the magnitude of effect (estimated effect size or fold change on X-axis). As shown in Figure 1, the most strongly up/down-regulated features lie towards the tails of X-axis and the most statistically significant features are towards the top. Discoveries on the upper-left and upper-right corners are considered most promising.

Figure 1 .


Figure 1

Example volcano plot. Points on top-right and top-left corners are considered the most promising findings.

The intuition behind volcano plots is simple: it aims to select features that are not only significant but also carry the largest effect size. Nevertheless, the reliability of findings, especially in exploratory studies depends on the adequate control of type I error. Many researchers believe that the BH method will provide this necessary error control even when double filtering is adopted. Unfortunately, this is not true. Although BH controls the upper-bound for FDR over all rejected features, it provides no such guarantees over any subset of the features [1, 8, 12]. Consequently, BH is not guaranteed to control FDR after double filtering. As depicted by the simulations in this paper, the inflation of the type I error may be severe under certain conditions. In this paper we explain and quantify the problem of inflated type I error when double filtering with volcano plots. Moreover, we suggest alternative multiple testing procedures that do preserve the error control after volcano plot-type filtering. The rest of this paper is organized in two main sections. In Section 2, we explain the volcano plot problem and present examples of type I error inflation using RNA-seq data and simulation experiments. In Section 3, we introduce solutions for tackling this problem: controlling FDR using focused BH or controlling either the median or upper-bound of the false discovery proportion (FDP) using closed testing with Simes local tests. We briefly review the application of each method for volcano plot-type selection of findings and then compare them using simulation studies. Finally, we introduce Active Volcano Plot, a shiny app designed to create the volcano plots with valid type I error control.

Volcano plot problem

In this section, we describe and explain the potential problem of inflated type I error with volcano plots. We illustrate the severity of the problem using both simulations and real RNA-seq data.

Notation and problem setting

The most commonly adopted analysis pipeline in genomics includes normalizing expression values, fitting a model to test the effect of interest for each feature and applying multiple testing corrections. After multiple testing, if the number of significant features, i.e. discoveries, is large, a volcano plot may be adopted to illustrate the results and select the most relevant discoveries.

In the next two sections, we will review the analysis pipeline leading to the volcano plot problem. To keep the notations simple, we define the problem based on a simple linear regression model and with BH for multiple testing, but the problem arises also with more complicated designs or models, and when using different FDR-controlling methods.

Testing individual features

Let Inline graphic denote the number of subjects in the study and Inline graphic the number of features under investigation. Let, also, Inline graphic and Inline graphic correspond to the gene expression and phenotypic data of Inline graphicth feature of the Inline graphicth subject, respectively.

graphic file with name M10.gif (1)

where Inline graphic is the intercept, Inline graphic is an Inline graphic vector denoting the phenotype variable and Inline graphic is the corresponding regression coefficient for Inline graphicth feature for effect of interest. Also, Inline graphic is the residual error. Here the interest is differential expression analysis, so the null hypothesis for feature Inline graphic is

graphic file with name M18.gif (2)

This hypothesis may be tested based on a classical Inline graphic-test, where the test statistic is

graphic file with name M20.gif (3)

where Inline graphic and Inline graphic are the maximum likelihood estimates. In the following, we will simply write Inline graphic for Inline graphic.

In many genomic studies, Inline graphic is very small-even as small as 2 or 3, which leads to low power due to lack of degrees of freedom for the classical Inline graphic-statistic. A variation of the test, called the moderated Inline graphic-test, overcomes this by estimating Inline graphic using empirical Bayes method [21], which shrinks large estimated Inline graphic downward and small Inline graphic upward. For more details on the moderated Inline graphic, refer to the supplementary material.

The FDR inflation mechanism

Once the Inline graphic-values are calculated for each feature, they need to be corrected for multiple testing. The most popular procedure for this is the BH procedure, which controls FDR. Control of FDR at level Inline graphic means that the expected proportion of false discoveries among the discoveries is at most Inline graphic: most of the discoveries are correct.

For some studies, BH finds ‘too many’ significant features and the researcher may want to reduce the number of findings. An intuitive way to do this is to discard findings with small estimated effect size, since larger effect sizes tend to be biologically more interesting. This is what is done using the volcano plot: among the BH-significant findings, the researcher considers only those findings that have an estimated effect size larger than some threshold, that is usually chosen after seeing the data. This double filtering (on Inline graphic-value and effect size) is illustrated in Figure 1. First, the features are ordered by their BH-adjusted Inline graphic-values, and non-BH-significant ones are discarded. Next, the features are ordered according to the absolute estimated effect size (Inline graphic). Then either Inline graphic features with the largest effect size estimates or all features with a Inline graphic larger than a certain threshold are selected. This way, researchers aim to target the most biologically relevant discoveries.

A problem with this procedure is that it ignores the fact that the guarantee of FDR-control was only over the full BH-corrected set, and not necessarily over the filtered subset. In general, a subset of FDR-controlled discoveries is not FDR-controlled [1, 4, 8, 12]. To understand why, note that FDR is the expected False Discovery Proportion (FDP), which is the ratio of the number of false discoveries over the total number of discoveries. Filtering reduces the denominator of the FDP, and may reduce the numerator as well, but not necessarily at the same rate. To retain FDR control with double filtering, the selection step should either retain the ratio of false to true discoveries, or discard false discoveries at a higher rate. Only if the double selection procedure can guarantee this, then we can guarantee FDR control over the double filtered results.

Examples of double filtering that are generally valid include sub-selection by the Inline graphic-values again, retaining small Inline graphic-values only. A valid selection would also be to select on the true effect size (Inline graphic), selecting larger effect sizes. It might seem intuitive that selection on large estimated effect size would also be valid, but this is not true. To see this, look at the distribution of Inline graphic. Large estimated effect sizes Inline graphic occur not only when Inline graphic is large, but also when Inline graphic is large, since the standard error of Inline graphic is large when Inline graphic is large. Selecting for large Inline graphic is therefore not only selecting for large Inline graphic, but also for large Inline graphic. The former selection will always decrease FDP, but the latter may increase it.

The obvious situation in which selecting for large Inline graphic would increase FDP is when null features tend to have larger variance than features under the alternative. This may or may not be the case in practice, but it becomes clear that an assumption for valid FDR control after double filtering is that such a negative association between Inline graphic and Inline graphic does not exist. We will see this clearly in the simulation results. If such a negative association cannot be excluded, double filtering may result in lack of FDR control.

However, even if Inline graphic varies between features, but is not associated with Inline graphic, we may see lack of FDR control as a result of double filtering. Large Inline graphic may be caused by either large Inline graphic or large Inline graphic. If there is large heterogeneity in the values of Inline graphic, then features with large Inline graphic are predominantly features with large Inline graphic. Even when null and non-null features have the same distribution of Inline graphic, a feature with a large Inline graphic is more likely a null feature, simply because there are usually more null than non-null features. Therefore, within the doubly selected subset of features, we may see an association between Inline graphic and Inline graphic due to a collider effect, even if none existed before filtering. Double filtering can therefore result in lack of FDR control even if there is no association between Inline graphic and Inline graphic.

These phenomena we have described for the regular Inline graphic-test. They are even more severe for the moderated Inline graphic-test. While the moderated Inline graphic-test does not influence the estimation of Inline graphic, it does change the calculation of the Inline graphic-value. Features with large Inline graphic tend to have large Inline graphic, which is shrunk downward by the moderated Inline graphic-test, resulting in a larger Inline graphic-test statistic and a too small Inline graphic-value, smaller than the regular Inline graphic-test. Similarly, features with small Inline graphic tend to have a too large Inline graphic-value. Under the prior assumptions of the moderated Inline graphic-test, the mixture of too small and too large Inline graphic-values normally evens out to give valid inference, as explained in the supplementary material. However, when selecting for large Inline graphic, which implies selecting for large Inline graphic as explained above, the moderated Inline graphic-test therefore also inadvertently selects for Inline graphic-values that are biased downward. This makes lack of FDR control after double filtering an even bigger problem with the moderated tests than with regular tests, and we will see this in the simulation results.

Problem Illustration 1: Simulation Study

In this section, we will illustrate the potential problem with volcano plots using simulations. We generate data based on a linear model and analyze them according to the routine volcano plot pipeline described earlier. Then the observed proportion of false discoveries among the volcano plot selected features is calculated under different simulation scenarios.

Simulation set-up

To mimic a usual application of volcano plots, we generated observations for Inline graphic features from Inline graphic subjects in two groups. A set of Inline graphic features were randomly selected to be truly differentially expressed (DE). The null hypothesis was true for the other Inline graphic features.

We generating true variances Inline graphic based on a scaled inverse chi-squared distribution with degrees of freedom Inline graphic and scale parameter Inline graphic. Let Inline graphic be the rank of Inline graphic, with Inline graphic for the largest value of Inline graphic and Inline graphic for the smallest. We randomly selected the Inline graphic differentially expressed features based on a multinomial distribution with weights

graphic file with name M101.gif

and without replacement. The weights are defined in such a way that Inline graphic indicates an over-representation of large values of Inline graphic among non-null features, Inline graphic indicates an over-representation of small values of Inline graphic among non-null features, and finally Inline graphic indicates equal distribution of Inline graphic values among true and false discoveries. Theoretically, we expect inflation of type I error to be more prominent with larger Inline graphic, as explained in the previous section. The regression coefficients Inline graphic were set to zero for false discoveries and Inline graphic for truly DE features, where Inline graphic is the effect-size. The log-expression values were generated independently according to the model (1). The Inline graphic-values were calculated for both the classical Inline graphic-test and the moderated-Inline graphic statistic.

Once the Inline graphic-values were corrected for multiple comparisons using the BH procedure, features with an adjusted Inline graphic-value Inline graphic were labelled significant. Following the volcano plot selection, these statistically significant features were sorted by their estimated Inline graphic and those with the largest effect size were selected. For a selected feature, Inline graphic, if Inline graphic, it was marked as true discovery and otherwise it was considered a false discovery.

We repeated the simulation experiment Inline graphic times for every combination of the simulation parameters Inline graphic, Inline graphic, Inline graphic and three different sample sizes Inline graphic. These values cover a realistic range of parameters in a common genomic experiment. For each repetition, the empirical FDP was calculated as the proportion of null features among features selected by the volcano plot, or 0 if no features were selected. FDR was calculated as the mean FDP.

Simulation results

For every combination of parameter values in the simulation experiment, we calculated the FDR for a double filtering procedure that selects the top Inline graphic among the BH-significant results, i.e. the Inline graphic BH-significant features with highest ranked values of Inline graphic. In case there were fewer than 100 features with BH-adjusted Inline graphic-value Inline graphic, all significant features were selected. Figure 2 gives the FDR (averaged over repetitions) for one typical scenario. A frequency plot of original values are presented as supplementary material (Figures S1-S3).

Figure 2 .


Figure 2

Simulation result. Observed FDR by selecting top Inline graphic features according to the volcano plot. The data were generated using the procedure explained in Section 2.3 with Inline graphic, Inline graphic, Inline graphic and (A) Inline graphic, (B) Inline graphic, (C) Inline graphic. The bars represent the mean FDR over simulations and the horizontal lines indicate the theoretical FDR-level of BH (Inline graphic). The volcano plots are single realizations of the 1000 repetitions that are averaged for bar plots at Inline graphic. The dark points are BH-selected false discoveries, the white points are BH-selected true discoveries; the gray points are discarded in volcano plot selection when Inline graphic.

Generally, when Inline graphic we see inflated FDR for all values of Inline graphic, although the severity of the problem clearly decreases with Inline graphic. Naturally, as Inline graphic increases and more features are selected the FDR converges towards its theoretical level of Inline graphic, where Inline graphic is the proportion of truly null features.

To investigate the way the FDR inflation depends on the parameters of the simulation we focus on the highest ranked (‘top’) feature, which we defined as the feature with the largest Inline graphic among the significant ones, i.e. setting Inline graphic in the previous figure. Figure 3 shows how often a volcano plot-selected top-feature is a false positive.

Figure 3 .


Figure 3

Simulation result. How often is the most highly ranked feature selected by volcano plot a type I error? This value can be as high as 0.77 for small sample size (Inline graphic) and small effect size (Inline graphic). Note that the type I error rate is largest when the variance of null features is higher (Inline graphic) but also happens when there is no such association (Inline graphic). It tends to get smaller as the effect of non-null features gets stronger.

As expected from the theory in Section 2.2, FDR inflation is greater when null genes tend to have large variance (Inline graphic), and mostly absent when the reverse holds (Inline graphic). Inflation is still present when Inline graphic. Other relationships we see, is that FDR inflation tends to increase as the proportion of active features increases, as well as when the sample size increases. We explain this by noting that as these parameters increase, there are more and more BH-rejected features to select from. With very low sample size and very low effect size, the power is too low to detect many features as significant, hence few discoveries are made, both true and false, and there is little selection even if Inline graphic is small. Large effect size Inline graphic seems to diminish the problem, perhaps because with very large effect size high Inline graphic will be more often due to large Inline graphic than due to large Inline graphic.

We have only presented the results for the classical Inline graphic-test. A similar pattern was observed for the moderated-Inline graphic, though with an even higher FDR inflation, (as expected, see Section 2.2). These plots are presented in supplementary material. Also in the Supplementary Material is an small investigation into the double filtering problem under dependence between features; we see there that the FDR inflation becomes smaller in some scenarios if genes are correlated, but the problem does not disappear.

Problem Illustration 2: RNA-seq Study

Here we analyze a real RNA-seq example to portray the volcano plot-problem in a realistic setting. In real data we cannot tell the true from the false discoveries, so it is not straightforward to show that FDR is inflated when volcano plots are used. As a solution, we adopted a resampling procedure to approximate the unknown FDP among features with large Inline graphic estimates. In contrast to the simulation above, this analysis does not impose effect size, variability in Inline graphic or the value of Inline graphic, but takes it from real data. Our point here is to show that FDR inflation due to volcano plots may also happen in real data settings. Moreover, the real data also have a realistic correlation structure. We created several random analysis sets and evaluated the results based on the results of corresponding validation sets.

RNA-seq data analysis

The data-set includes RNA sequencing on blood samples collected from healthy children and those evaluated with diarrheal disease where the pathogens present are known. The goal of the study was to determine host response gene signatures specific to Salmonella, Shigella and rotavirus that distinguish them from healthy controls. A detailed description of the data collection procedure and primary results are available in [7]. Here we focus on differential expression between the group with Shigella infection (SH) and healthy controls (HC). RNA-seq counts were obtained through the recount project with accession number Inline graphic [9]. The data included raw counts of 58037 features from 37 SH and 12 HC samples. The corresponding count data were normalized and low expressed features were removed using Inline graphic package [19].

To evaluate the reproducibility of the volcano plot results, we performed a resampling procedure. At each repetition, 6 subjects were randomly selected from each phenotype group as the analysis set, the rest were considered as the validation set of 37 samples. This validation set was used in each repetition to determine a ground truth of differential expression: all BH-significant genes (BH-adjusted Inline graphic-value Inline graphic) in the validation set were considered truly DE. To ensure that putative null genes were truly null, we permuted the gene expressions of null genes over the subjects. The same permutation was used for all null genes to preserve their correlation structure. Based on this ground truth, false discovery proportions could be determined for a double filtering procedure on the analysis set. We used the same double filtering as in the simulation above: to select top genes, significant genes (BH-adjusted Inline graphic-value Inline graphic) were sorted by their Inline graphic value and Inline graphic genes with largest values were selected. Discoveries were classified as true or false according to the ground truth from the corresponding validation set. All analyses (in analysis and validation set) were performed using Inline graphic to derive the raw Inline graphic-value and the estimate Inline graphic per gene [18]. The procedure was repeated 1000 times and FDP results were averaged to derive the FDR estimates.

RNA-seq data results

As above, the bar plot presented in Figure 4 portrays the estimated FDR by selecting 1 up to 100 features with the largest Inline graphic values. The average proportion of discoveries was 0.004 and 0.071 for analysis and validation sets, respectively. On average, the top feature (Inline graphic) in the analysis set is not significant in the validation set 16% of the time. To take a closer look, we plotted the volcano plot of both the analysis and validation sets for one replication in Figure 5. For this specific repetition, the validation set included 3357 (10%) significant genes with BH-adjusted Inline graphic-value Inline graphic. In the corresponding analysis set, there were 546 (2%) significant features after BH adjustment, and further selection with Inline graphic resulted in 420 top genes. The estimated FDR for top genes is much higher than expected nominal level, which is Inline graphic for this example. Namely, Inline graphic of genes selected by volcano plot in the analysis set (black dots in Figure 5 A) were not significant in the validation set (black dots in Figure 5 B). Once again, these results confirm that filtering the findings may lead to an inflation of FDP and that large effect size does not necessarily imply that the finding is a true positive. In fact, our results suggest that a high Inline graphic may be an indication of a false positive result.

Figure 4 .


Figure 4

RNA-seq data analysis. FDR when selecting top Inline graphic features with BH-adjusted Inline graphic-valueInline graphic.Bars represent the mean FDP over 1000 simulations and the dashed horizontal line is the average expected FDR of regular BH at Inline graphic. The curves are the average values of Inline graphic (—) and Inline graphic as defined in Section 3.1.

Figure 5 .


Figure 5

RNA-seq data analysis. A) Volcano plot of a single sub-sampled analysis set, black points are the genes that are both significant (small BH-adjusted Inline graphic-value) and highly regulated (large Inline graphic). B) Scatter plot of the corresponding validation set where the significant genes are denoted by dark gray. Black points represent the points selected by volcano plot in the analysis set. Some of the black dots are labelled to illustrate how the results change for the same feature in the validation set.

Volcano plots with Type I error control

Despite the potential type I error inflation, volcano plots do have desirable properties. It is easy to create a volcano plot for almost any study design and it illustrates two attributes at the same time: evidence for the presence of an effect and its estimated magnitude. Here, we suggest two alternative approaches to create a volcano plot, which will maintain the type I error control over the selected discoveries: controlling the FDP based on closed testing and controlling FDR based on focused BH (fBH). First, we briefly introduce each of the methods, and review their application in the volcano plot setting. Then we investigate the close relationship between the methods and compare their performance using simulation studies.

FDP control

A recent multiple comparisons procedure to limit the number of false discoveries is to control the False Discovery Proportion. [11] introduced a closed testing procedure [16] that controls FDP over all possible subsets of the collection of hypotheses. For any chosen set of discoveries Inline graphic, the method provides an estimate along with a confidence bound for the FDP of any such subset. These confidence bounds bound the true FDP value with probability at least Inline graphic. As the bounds are simultaneous over all Inline graphic possible sets Inline graphic, post hoc choice or modification of Inline graphic will not change the confidence level of the simultaneous bound. This feature makes FDP estimation an attractive alternative to FDR-correction when the volcano plots are used, since it promises FDP control, regardless of the way the discoveries have been selected. [13] introduced a shortcut to estimate the bounds in linear time when Simes local tests [20] are adopted. Here we focus on application of this procedure for volcano plots.

Let Inline graphic be the index set of the features. Let Inline graphic denote the unknown index set of the truly active features. Then the proportion of false discoveries in a set Inline graphic is given by

graphic file with name M219.gif

where Inline graphic, and Inline graphic denotes the size of a set.

As shown by [13], closed testing can be adopted to build simultaneous confidence bounds for FDP such that

graphic file with name M222.gif

The bound Inline graphic is given by

graphic file with name M224.gif

where Inline graphic is the Inline graphic lower confidence bound for Inline graphic, given by

graphic file with name M228.gif (1)

where

graphic file with name M229.gif

The ‘midpoint’ of the confidence interval, i.e. the lower confidence bound at Inline graphic, can be used as a point estimate for the proportion of false discoveries in each set. We will denote this median point estimate by Inline graphic, found by choosing Inline graphic. Note that Inline graphic is also calculated based on a simultaneous confidence bounds and hence it is robust against choosing set Inline graphic interactively on the basis of the data. This procedure is implemented in the R-package hommel [10]. Given the raw Inline graphic-vales for all features, users can calculate the Inline graphic estimate and the corresponding confidence bound for any subset of features.

In the case of volcano plots, we can write Inline graphic to denote the set of features selected by volcano plot. Note that Inline graphic can be adjusted so that Inline graphic is the set of top Inline graphic features. Both Inline graphic and Inline graphic can be estimated for various choices of Inline graphic for various values of Inline graphic and Inline graphic. In case a certain FDP value is of interest the researcher is free to adjust Inline graphic and Inline graphic thresholds such that either the bound or the median FDP of the selected discoveries are below that level, without compromising the validity of these bounds. For instance, the user can freely tune the thresholds to select such that the final set of discoveries has Inline graphic less than or equal to Inline graphic. The set Inline graphic of discoveries may depend on the data, and the way the set depends on the data does not have to be predefined.

Focused BH

Focused BH [15] is a variant of the classical BH procedure that guarantees FDR-control over a subset of discoveries selected in a predefined way. We will denote this subset by the index set Inline graphic. The Inline graphic estimate can be presented as a function of Inline graphic,

graphic file with name M254.gif (2)

Let Inline graphic be the maximum value of Inline graphic for which Inline graphic. It has been shown that the set Inline graphic is the set of discoveries with FDR-control over the subset Inline graphic, under various conditions on the filter.

In the case of volcano plots, two type of filters are relevant. The first is a filter that selects only the features with estimated Inline graphic above a pre-chosen threshold Inline graphic. The second is a filter that selects the Inline graphic features with the largest estimated Inline graphic, where Inline graphic is chosen a priori. Although these filters are of the general type explored in [15], neither one fulfills the conditions for which FDR control has been proven. We will investigate the performance of the method using these filters empirically.

Similarities between the methods

These two alternative methods essentially adopt two very different strategies to select the set Inline graphic of top features but interestingly, they are still related. If Inline graphic was the set of discoveries given by fBH at level Inline graphic, then it can be shown that

graphic file with name M268.gif (3)

Now by replacing Inline graphic with Inline graphic, we have Inline graphic. So by increasing the fBH error rate by a factor Inline graphic, we can control the 95% upper quantile of FDP at level Inline graphic. Furthermore, we can simplify the inequality in terms of Inline graphic. Given that Inline graphic, the following holds,

graphic file with name M276.gif (4)

Indicating that the estimated FDP is at most Inline graphic. Given that in genomics Inline graphic is rarely close to 1, the actual value can even be smaller. This loss of power is very small given the added flexibility that the Inline graphic is simultaneously estimated for all Inline graphic subsets and not only the Inline graphic subset. A formal proof of this inequality is provided in the supplementary material.

We note that while the corollary (4), viewed simply as a property of fBH, could also have been proven directly using Markov’s inequality, the underlying result (3) is a much more fundamental result on the similarity between the two methods [compare 13,discussion of Lemma 5].

Simulation study: comparing solutions

Direct comparison of Inline graphic and fBH results is not straightforward. We have designed three simulation studies, where the resulting set of discoveries or its properties are comparable across the approaches. For all simulations, the data are generated based on the linear model described in Section 2.3, but the procedure to select top discoveries Inline graphic is different.

Simulation Study 1

The aim of this study was to compare the number of of discoveries made by the methods while each is controlling their respective error rate. Values of Inline graphic and Inline graphic were pre-specified and discoveries were selected by choosing the Inline graphic-value threshold Inline graphic for features with Inline graphic, such that Inline graphic, Inline graphic or Inline graphic was controlled at level Inline graphic. Results for Inline graphic, Inline graphic and Inline graphic are presented in Figure-6, plots for other scenarios are provided as supplementary material.

Figure 6 .


Figure 6

Simulation study 1. Number of discoveries made by controlling the FDP bound Inline graphic (-.-.), Inline graphic (—) and Inline graphic (......) is compared to the actual number of discoveries (-.-.). Discoveries are selected based on a predefined Inline graphic and the Inline graphic-value threshold is chosen by each method to restrict Inline graphic at level Inline graphic. There are six samples in each group.

The three approaches have very similar results when the actual number of discoveries is low (small sample size, small Inline graphic, few truly active features). As expected, all methods underestimate the number of discoveries when Inline graphic, and controlling Inline graphic is always more conservative than controlling Inline graphic or fBH. For Inline graphic or large Inline graphic (Inline graphic), the estimation bias for all methods including Inline graphic is close to zero. In general, Inline graphic and fBH are similar but for Inline graphic, the number of discoveries made by fBH is slightly higher compared to Inline graphic.

Simulation Study 2

The aim of this study was to compare the proportion of truly active features estimated by each approach. We defined the set Inline graphic by fixing the Inline graphic and Inline graphic thresholds, then calculated Inline graphic and Inline graphic. Here the goal was not controlling the error rates at a certain level but rather comparing the FDP estimate of the same set of discoveries based on different approaches. Simulations were repeated for different values of Inline graphic and Inline graphic.

Figure-7 illustrates the estimates for Inline graphic and Inline graphic and a sample size of 12; other conditions are presented as supplementary.

Figure 7 .


Figure 7

Simulation study 2. FDP is estimated based on the FDP bound Inline graphic (-.-.), Inline graphic (—) and Inline graphic (......) for the set of discoveries selected based on thresholds Inline graphic and Inline graphic. The actual value of FDP is also shown (—–). There are six samples in each group.

For relatively large effect sizes, fBH and Inline graphic are close to each other and both conservative when Inline graphic. The FDP bound is very conservative except for either a large sample size, large Inline graphic or Inline graphic. Although Inline graphic overestimates the true FDP in most cases, it starts to be less conservative with a more stringent Inline graphic threshold (as can be seen in plots in supplementary e.g. Figure S17 and S14). It may even underestimate the FDP, when Inline graphic is very small and both Inline graphic and Inline graphic are small. This is not the case with Inline graphic. fBH slightly overestimates the FDP but is less biased than Inline graphic. Nevertheless, fBH has an inter-related association with Inline graphic and Inline graphic thresholds. Similar to Inline graphic, the estimate gets closer to truth as the Inline graphic threshold decreases. More specifically, when the Inline graphic threshold is very low, fBH severely overestimates the FDP and is more conservative than Inline graphic in some cases. On the other hand, if Inline graphic becomes very large, fBH starts to overestimate again, likely due to the fact that only a few features are selected. This is explained by the formula presented in (2); Inline graphic increases as the size of filter decreases relative to Inline graphic.

Simulation Study 3

Here again, the aim of the study was to compare the proportion of truly active features estimated by different approaches. Threshold Inline graphic was predefined but instead of fixing Inline graphic, we chose Inline graphic features with the largest Inline graphic values, making the value of Inline graphic data-dependent. Then Inline graphic was estimated as before based on the three approaches. The simulation was repeated for different values of Inline graphic and Inline graphic.

Figure 8 illustrates the estimates for Inline graphic, Inline graphic and Inline graphic, here again other cases are presented as supplementary. The general scheme is similar to simulation study 2. As the signal increases (larger Inline graphic or Inline graphic and larger Inline graphic) both Inline graphic and Inline graphic become less conservative. This is not the case for fBH. By definition, for a very small Inline graphic threshold (Inline graphic), the numerator of Inline graphic is very small, hence Inline graphic will underestimate the true FDP as relatively more features are selected (larger denominator).

Figure 8 .


Figure 8

Simulation study 3. FDP is estimated using the FDP bound Inline graphic (-.-.), Inline graphic (—) and Inline graphic (......) for the selected discoveries. 50 discoveries with the largest Inline graphic values were selected among features with Inline graphic-value Inline graphic. The actual value of FDP is also shown (-.-.). There are 6 samples in each group.

RNA-seq data analysis

As an illustration, we will briefly discuss application of Inline graphic on the RNA-seq example introduced in the Section 2.4. For each analysis set, we calculated both Inline graphic and Inline graphic for Inline graphic genes with largest Inline graphic. The average over repetitions are plotted in Figure 4 for both methods. Due to the inflation of type I error, it is clear that this data set is not a case of Inline graphic. As expected both Inline graphic and its corresponding bound are conservative, however they never underestimate the FDP value. Finally Inline graphic is more conservative for small values of k, which was also expected based on the simulation results. As explained earlier this type of double filtering is data-dependent so we did not apply fBH.

Interactive web application: active volcano plot

We have developed an interactive web application, Active Volcano Plot, through which the researcher can create a Volcano Plot and get the Inline graphic and FDP bound estimates for the selected discoveries. For this, we used the R package Shiny [5], which enables interactive plotting via a graphic user interface directly from R code.

The user can freely evaluate various sets of discoveries Inline graphic by adjusting Inline graphic and Inline graphic thresholds. The Inline graphic and Inline graphic values will update instantly as the thresholds change, hence the word Active. Active Volcano Plot app is available at https://mebpr.shinyapps.io/activevp and the codes are accessible via https://github.com/mitra-ep/ActiveVolcanoPlot. An interactive interface requires a method that remains valid when the user adaptively chooses the set Inline graphic of discoveries. For this reason only the Inline graphic and Inline graphic methods are implemented, and not focused BH.

Upon submission of the current manuscript, we came across a closely related shiny app developed by Blanchard and others [3, 17]. This app can be accessed via https://pneuvial.github.io/sanssouci/.

As an example, we have used the selected analysis set in Figure 5 to create a volcano plot using this tool. Remember that the BH procedure at level Inline graphic was applied, however, the classic volcano plot selection resulted in an FDP of 0.17. The screenshot in Figure 9 shows the same volcano plot where the median estimate Inline graphic is 0.12, much closer to the expected value and Inline graphic is (0,0.76), which includes the true value of FDP.

Figure 9 .


Figure 9

Shiny App: Active Volcano Plot. A classic volcano plot is made by selecting Inline graphic (3.1 in log-scale) and Inline graphic. The table above the plot presents the mFDP estimate along with the corresponding bounds for the selected features.

Discussion

We have shown, using simulation experiments and empirical analysis of an RNA-seq data, that the features with largest estimated effect size, selected by a Volcano Plot can have an inflated type I error rate. It is important to stress that the problem occurs when FDR-controlling procedures such as BH are combined with double filtering procedure of volcano plots. FDR is a powerful error rate in genomics studies but it is not suitable for combining with double filtering, since it does not have the sub-setting property: FDR control on a set of discoveries does not imply FDR control on subsets of those discoveries.

FDR inflation due to volcano plots may happen in many settings, but is especially pronounced when the variance of the truly differentially expressed features is less than the variance of the features that are not differentially expressed. There is no a priori biological reason why null features should have higher or lower variances than non-null features. We believe that either may happen, depending on the underlying biology, making double filtering methods hazardous in practice. We have shown that the conditions for FDR inflation may occur in real data settings, but we do not know how often, and we recommend that this is investigated. We also note that FDR inflation due to double filtering is aggravated when moderated Inline graphic-tests are used instead of regular statistical tests. On the other hand FDR inflation is less severe if circumstances simultaneously exist in the data that deflate FDR, such as strong correlations or a low proportion of null features.

Volcano plots and double filtering should be seen as exploratory methods that change the collection of discoveries post hoc. Tailored methods are needed that are able to deal with such selective inference. FDP control [13] and focused BH (fBH) [15] are two alternatives to the BH procedure, which can control type I error even for volcano-plot-selected features, and in general for filtered discoveries. We have compared these methods extensively. While fBH may lead to more discoveries under certain conditions, it is limited to one a priori-chosen filter. On the other hand, by controlling FDP bound (Inline graphic) or median FDP (Inline graphic) the researcher can freely adjust and update the filter, even after seeing the data. Such interactive use of the method is implemented for volcano plots in the Active Volcano Plot app. There is more research to be done developing and comparing methods in this area. For example, permutation-based versions of fBH [15] and FDP-bound control [14] are available, may result in improvement of power, but are not studied here.

Key Points

  • Classic volcano plots use double-filtering based on FDR-adjusted Inline graphic-values and the estimated effect size, which can lead to serious inflation of the false discovery rate among selected features.

  • Features with the highest fold-change are relatively more likely to be a false positive discovery.

  • Closed testing with Simes local tests and focused-BH methods allow double filtering while preserving the false discovery rate.

Data Availability Statement

Codes used for simulations and data analysis mentioned in this manuscript are publicly available via GitHub (https://github.com/mitra-ep/ActiveVolcanoPlot) and are archived on Zenodo (https://zenodo.org/record/4459929).

Supplementary Material

draft_PHS_supp_bbab053

Funding

This research was funded by Netherlands Organization for Scientific Research (NWO) Vidi grant number 639.072.412.

Mitra Ebrahimpoor is currently working as a PhD student at the Medical Statistics section, Department of Biomedical Data Sciences, Leiden University Medical Center. Her research focuses on statistical methods for high-dimensional data especially genomics.

Jelle J. Goeman is currently working as a professor at the Medical Statistics section, Department of Biomedical Data Sciences, Leiden University Medical Center. His research focuses on methods for large multiple hypothesis testing problems with applications in gene expression and neuroscience.

Contributor Information

Mitra Ebrahimpoor, Medical statistics, Department of Biomedical Data Sciences, Leiden University Medical Center, Leiden, 2333 ZA, The Netherlands.

Jelle J Goeman, Medical statistics, Department of Biomedical Data Sciences, Leiden University Medical Center, Leiden, 2333 ZA, The Netherlands.

References

  • 1.Barber RF, Candés EJ. Controlling the false discovery rate via knockoffs. Ann Stat 2015; 43(5): 2055–85. [Google Scholar]
  • 2.Benjamini Y, Hochberg Y. Controlling the false discovery rate: a practical and powerful approach to multiple testing. J R Stat Soc B Methodol 1995; 57(1): 289–300. [Google Scholar]
  • 3.Blanchard G, Neuvial P, Roquain E. Post-hoc confidence bounds on false positives using reference families. Ann Stat 2020; 48(3): 1281–303. [Google Scholar]
  • 4.Bourgon R, Gentleman R, Huber W. Independent filtering increases detection power for high-throughput experiments. Proc Natl Acad Sci 2010; 107(21): 9546–51. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Chang W, Cheng J, Allaire JJ, et al. shiny: Web Application Framework for R, 2019, R Package Version 1.3.2.
  • 6.Cui X, Churchill GA. Statistical tests for differential expression in cDNA microarray experiments. Genome Biol 2003; 4(4): 210. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.DeBerg HA, Zaidi MB, Altman MC, et al. Shared and organism-specific host responses to childhood diarrheal diseases revealed by whole blood transcript profiling. PLoS One 2018; 13(1):e0192082. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Finner H, Roters M. On the false discovery rate and expected type i errors. Biom J 2001; 43(8): 985. [Google Scholar]
  • 9.Frazee AC, Langmead B, Leek JT. ReCount: a multi-experiment resource of analysis-ready RNA-seq gene count datasets. BMC Bioinformatics 2011; 12(1): 449. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Goeman J, Meijer R, Krebs T. hommel: Methods for Closed Testing with Simes Inequality, in Particular Hommel’s Method, 2019a, R Package Version 1.5.
  • 11.Goeman JJ, Solari A. Multiple testing for exploratory research. Stat Sci 2011; 26(4): 584–97. [Google Scholar]
  • 12.Goeman JJ, Solari A. Multiple hypothesis testing in genomics. Stat Med 2014; 33(11): 1946–78. [DOI] [PubMed] [Google Scholar]
  • 13.Goeman JJ, Meijer RJ, Krebs TJP, et al. Simultaneous control of all false discovery proportions in large-scale multiple hypothesis testing. Biometrika 2019b. [Google Scholar]
  • 14.Hemerik J, Solari A, Goeman JJ. Permutation-based simultaneous confidence bounds for the false discovery proportion. Biometrika 2019; 106(3): 635–49. [Google Scholar]
  • 15.Katsevich E, Sabatti C, Bogomolov M. Filtering the rejection set while preserving false discovery rate control. 2018; arXiv:1809.01792v3. [DOI] [PMC free article] [PubMed]
  • 16.Marcus RUTH, Peritz ERIC, Gabriel KR. On closed testing procedures with special reference to ordered analysis of variance. Biometrika 1976; 63(3): 655–60. [Google Scholar]
  • 17.Neuvial P, Sadacca B, Blanchard G, et al. sansSouci: Post Hoc Multiple Testing Inference, 2020, R package version 0.9.4.
  • 18.Ritchie ME, Phipson B, Wu D, et al. Limma powers differential expression analyses for RNA-sequencing and microarray studies. Nucleic Acids Res 2015; 43(7): e47–7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Robinson MD, McCarthy DJ, Smyth GK. edgeR: a bioconductor package for differential expression analysis of digital gene expression data. Bioinformatics 2009; 26(1): 139–40. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Simes RJ. An improved bonferroni procedure for multiple tests of significance. Biometrika 1986; 73(3): 751–4. [Google Scholar]
  • 21.Smyth GK. Linear models and empirical bayes methods for assessing differential expression in microarray experiments. Stat Appl Genet Mol Biol 2004; 3(1): 1–25. [DOI] [PubMed] [Google Scholar]
  • 22.Zhang S, Cao J. A close examination of double filtering with fold change and t test in microarray analysis. BMC Bioinformatics 2009; 10(1): 402. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

draft_PHS_supp_bbab053

Data Availability Statement

Codes used for simulations and data analysis mentioned in this manuscript are publicly available via GitHub (https://github.com/mitra-ep/ActiveVolcanoPlot) and are archived on Zenodo (https://zenodo.org/record/4459929).


Articles from Briefings in Bioinformatics are provided here courtesy of Oxford University Press

RESOURCES