- Methodology article
- Open Access
- Published:

# A fast algorithm for determining bounds and accurate approximate *p*-values of the rank product statistic for replicate experiments

*BMC Bioinformatics*
**volume 15**, Article number: 367 (2014)

## Abstract

### Background

The rank product method is a powerful statistical technique for identifying differentially expressed molecules in replicated experiments. A critical issue in molecule selection is accurate calculation of the *p*-value of the rank product statistic to adequately address multiple testing. Both exact calculation and permutation and gamma approximations have been proposed to determine molecule-level significance. These current approaches have serious drawbacks as they are either computationally burdensome or provide inaccurate estimates in the tail of the *p*-value distribution.

### Results

We derive strict lower and upper bounds to the exact *p*-value along with an accurate approximation that can be used to assess the significance of the rank product statistic in a computationally fast manner. The bounds and the proposed approximation are shown to provide far better accuracy over existing approximate methods in determining tail probabilities, with the slightly conservative upper bound protecting against false positives. We illustrate the proposed method in the context of a recently published analysis on transcriptomic profiling performed in blood.

### Conclusions

We provide a method to determine upper bounds and accurate approximate *p*-values of the rank product statistic. The proposed algorithm provides an order of magnitude increase in throughput as compared with current approaches and offers the opportunity to explore new application domains with even larger multiple testing issue. The R code is published in one of the Additional files and is available at http://www.ru.nl/publish/pages/726696/rankprodbounds.zip.

## Background

Post-genomic data analysis (transcriptomics, proteomics, metabolomics) is often concerned with the identification of differentially expressed molecules (transcripts, proteins, metabolites) under different experimental conditions (e.g., treatment vs. control) using multiple biological replicates. A simple and widely used non-parametric statistical method, initially introduced by Breitling *et al*. [1] for gene expression microarrays, is to rank the molecules within each experiment in order of evidence for differential expression and to calculate the product of the ranks across experiments. This rank product method is based on the common biological belief that if a molecule is repeatedly at the top of the lists ordered by up- or down-regulation fold change in multiple treatment-control experiments, the molecule is more likely to be differentially expressed.

The rank product statistic is particularly useful for the analysis of noisy datasets and a small number of replicates, as it does not rely on any distributional assumptions [1]-[4]. Its main weakness is sensitivity to variations in molecule-specific variance, namely higher variance of weakly expressed molecules. This limitation is mitigated, in practice, by variance-stabilizing normalization [5]. The rank product method is used to combine ranked lists in gene expression profiling and in various other postgenomic datasets with ranked scores, including proteomics and metabolomics [6]-[8]. Such ranking is important because only a limited number of candidate molecules (transcripts or proteins or metabolites) can usually be followed up in a typical biological downstream analysis for confirmation or further study. Another advantage of the ranking is the resulting suppression of the unwanted influence of correlated behaviour between different molecules. In contrast to traditional marginal tests, such as the *t*-test, in the rank product approach correlating molecules ‘compete’ for positions in the ranked list. In the extreme case of identical behaviour of all molecules, a *t*-test would yield the same (possibly false positive) result for all molecules, whereas in a rank product test, ties in the ranked list would be broken randomly, guaranteeing that none of them would be considered differentially expressed. As a useful side effect of this feature, the rank product test becomes increasingly conservative as larger fractions of the set of molecules studied are differentially expressed: if all molecules are changing to the same extent, their rank ordering will again be random.

Having ranked the molecules by their rank product, the next step is to obtain the *p*-value associated with each molecule under the null hypothesis that the molecule is not differentially expressed in any of the independent replicate experiments. The crux here is the requirement to correct for multiple testing inherent in the need to perform one test per queried molecule. Methods that use the entire distribution of *p*-values to estimate or control the false discovery rate (FDR) assume and perform well only when accurate *p*-values are available [9]. It is therefore imperative to obtain the most accurate probability estimates in applications that involve a massive number of tests [10], such as in the analysis of transcriptome profiling data.

For this reason, exact calculation is preferred in computing *p*-values for use in subsequent molecule-specific FDR-adjustment procedures. Eisinga *et al*. [11] recently provided a derivation of the exact probability distribution of the discrete rank product statistic and its true tail probabilities. An obstacle of exact calculation is that, whereas the *p*-values of small rank products can be calculated swiftly, computing the probabilities of large rank products may consume considerable amounts of time. Although the speed of execution will depend on computing power, exact *p*-value calculation becomes time prohibitive in multiple experiments for rank product values exceeding 10^{7}. Unfortunately, in a typical large postgenomic molecular profiling study, such rank products may occur for the bulk of the molecules analysed.

If exact calculation is infeasible, re-sampling-based inference methods such as permutation testing may be considered. The permutation re-sampling procedure involves a trade-off between accuracy and number of permutations [12]. That is, the number of permutations needed is always larger than the inverse of the *p*-value, but a factor of the order of 100 or so more permutations is required so that the *p*-values can be accurately estimated to several decimal places for performing multiple-testing adjustment. In practice, the number of permutation samples may perhaps go up to 10^{13}, but re-sampling then starts to become unrealistically expensive, meaning that it is hard to accurately estimate *p*-values smaller than 10^{-11}. Such *p*-values are common in rank product analysis of the expression values of many molecules in multiple batches.

As an alternative procedure, Koziol [13] suggested to use the continuous gamma distribution to approximate the sampling distribution of the discrete rank product statistic. For large rank products the gamma calculation performs well, and for extremely large values the gamma *p*-values are close to exact. However, Eisinga *et al*. [11] have shown that for smaller rank product values, i.e., the ones biologists are most interested in, the gamma approximation has a serious bias, overestimating *p*-values by several orders of magnitude, and that the error increases as the *p*-values become smaller.

There is therefore a range of intermediate rank product values in postgenomic studies where current approaches, exact calculation and stochastic and deterministic approximations, all have serious drawbacks in terms of computation time, accuracy or both. The goal of this paper is to obtain guaranteed lower and, in particular, upper bounds for the *p*-values of any rank product value observed, with the conservative upper bound protecting against false positives. The strict bounds may also be exploited to quickly calculate accurate approximate *p*-values for rank product analysis of a variety of postgenomic molecular profiling data.

## Methods

The rank product approach was originally derived for paired experiments (two-colour microarrays). However it can be applied for unpaired data, which are common in postgenomic molecular profiling, by creating random pairs of experiments and calculating the average rank product for several random pairings. Without loss of generality, we thus consider *n* molecules profiled in *k* paired experiments. In each experiment *i*, a molecule receives a random ranking *r* _{i,} i.e., any number between 1 and *n.* We define *G* _{
k
}(*ρ)*/*n* ^{k} as the probability that the product of these random rankings is smaller than rank product *ρ*:

with the Heaviside step function Θ(*x*) = 1 iff *x*≥0 and 0 otherwise. We obviously have *G* _{
k
}(*ρ*) = 0 for any *ρ* < 1 and *G* _{
k
}(*ρ*) = *n* ^{k} for *≥n* ^{k}. Our starting point is the observation that the distribution of *ρ* for *k* experiments relates to that for *k*-1 experiments. Since any rank product *ρ* based on *k* experiments can be written as the product of a rank *r* _{1} in the first experiment times a rank product *ρ*' based on *k*-1 experiments, we have:

Here the upper limit min(*ρ*,*n*) explicitly incorporates that *ρ*' can never be smaller than 1, so *r* _{1} can never be larger than *ρ*. In theory, we could use this recursion to compute *G* _{
k
}(*ρ*). In practice, this is unfeasible for large *ρ, n*, and/or *k*. The discrete nature of this recursion makes it difficult, if not impossible, to obtain a generic analytical solution. However, as we will show below, it is possible to bound and approximate this sum through integrals that can be evaluated analytically.

Our line of reasoning is as follows. Since *G* _{
k
}(*ρ*) is a cumulative function, it is monotonically increasing in *ρ*. Sums over monotonically increasing or decreasing functions can be bounded by integrals. In doing so, we turn the discrete recursion (1) involving a summation into continuous recursions involving integrals, one for a lower bound and another one for an upper bound. Recursions involving integrals are typically easier to solve than recursions involving summations. The upper limit min(*ρ*,*n*) in the discrete recursion (1) translates to the same upper limit in the continuous recursion, basically implementing the fact that a rank product *ρ*' based on *k*-1 experiments cannot contribute to a rank product *ρ* based on *k* experiments if *ρ*' > *ρ*. This upper limit is a highly nonlinear function of *ρ*, which then also does not allow for an easy solution of the continuous recursion. By consistently separating the cases *ρ ≥ n* and *ρ*'*≥ n* from *ρ* < *n* and *ρ*' *< n*, we will see that the solution of the continuous recursions can be written as a piecewise function, with recursions for the separate pieces still in terms of integrals, but now with limits that are linear rather than nonlinear functions of the rank product *ρ.*

Perhaps surprisingly, these recursions for the separate pieces, each corresponding to a different interval for the rank product *ρ*, can be solved analytically. That is, these solutions can be written in terms of basic functions, the parameters of which follow a simple recursion that can be implemented in a fast algorithm. So, in the end, we have managed to turn the complicated recursion (1) on a function *G* _{
k
}(*ρ*) into a simple recursion on parameters that specify piecewise continuous upper and lower bounds on *G* _{
k
}(*ρ*). The following sections describe the steps in mathematical detail.

### Integral and piecewise recursion

Since any combination of ranks that contributes to *G* _{
k
}(*ρ*) also contributes to *G* _{
k
}(*ρ*') if *ρ*' ≥*ρ*, we easily see that *G* _{
k
}(*ρ*) is monotonically (not necessarily strictly) increasing in *ρ* for any *k*. But then *G* _{k-1}(*ρ*/*r* _{1}) is monotonically decreasing in *r* _{1}. Summations over monotonically decreasing functions can be bounded by integrals (and vice versa). As the following theorem indicates, this can be used to derive upper and lower bounds that obey recursion equations involving integrals instead of summations.

Theorem 1. *Consider the two functions* *and* *that satisfy the recursions*

*and*

*and are both initialized at* *For any k* ≥ 0 *and ρ* ≤ *n* ^{k}*we have*

*That is,* *gives an upper bound on G* _{
k
}(*ρ*) *and* *a lower bound.* The proof is detailed in Additional file 1.

For ease of exposition, we introduce the constant Δ and consider the recursion

Setting Δ to either 0 or 1, we obtain the recursion for the lower and upper bound, respectively. We will argue and empirically show that an accurate approximation (but no guaranteed bound) can be obtained by taking the geometric mean of the upper and lower bound.

The recursion starts from The constraint that for *ρ* < 1, and the consequence that the upper limit of the integral is a nonlinear function of *ρ*, seriously complicates the solution of the recursion (4). However, we will see that if we write as a piecewise function,

the recursion equation for the pieces simplifies considerably and can in fact be solved.

Theorem 2. *With* *a piecewise function of the form (* 5*), the pieces* *satisfy, for* 1 ≤ *j* ≤ *k* -1, *the recursion*

*and, for j* = *k*,

The proof is given in Additional file 2. The intuition behind the piecewise construction follows if one tries to construct the recursion for *k* =1,2,3, and so on. For *k* =1, *ρ* is always smaller than *n*, so max(1, *ρ*/*n*) =1 and min(*ρ*, *n*) = *ρ*. For *k* =2, we can separate the cases *ρ* ≥ *n* and *ρ < n*, corresponding to the pieces and , respectively. For *k* =3, we again separate the cases *ρ* ≥ *n* and *ρ* < *n*, but now we also have to check whether *ρ*/*r* in the integrand is larger than *n* (i.e., refers to or smaller than *n* (i.e., refers to Working this out, one realizes that three different pieces are needed for Induction on *k* leads to the piecewise function (5) and the recursions (6) and (7). These recursions now involve integrals, instead of summations, with limits that are either constants or linear in *ρ*, instead of a nonlinear function of *ρ.*

### Lattice

Figure 1 sketches the dependencies between different combinations of *k* and *j,* where *j* is the index of the interval [*n* ^{k-j},*n* ^{k-j+1}] that contains the rank product *ρ*, i.e., *j* = ceiling(*k* - log *ρ*/log *n*).

An actual implementation to compute can be recursive, e.g., starting at node (*k*,*j*) and recursively computing the parameters that are needed. The alternative is to pre-calculate which parameters are needed and then go through these in two for-loops. To compute one possibility is then to have an outer loop with *j*' running from 0 to *j* (from left to right on the lattice in Figure 1), with an inner loop with *k*' running from *j*' to max(*k*, *k* - *j* + *j*') (from top to bottom). The other option is to have an outer loop with *k*' running from 0 to *k* (from top to bottom) and *j*' from max(*k*' -*k* + *j*, 0) to min(*k*', *j*) (from left to right).

### Functional form

The recursions (6) and (7), together with the initialization fully determine for any *ρ* (and corresponding *j*) and *k*. We could replace analytical integration by numerical integration. However, trying a few steps, one soon realizes that the integrations that are required in each of the steps can be done analytically and a pattern starts to emerge. It appears that every solution can be written in the form

with

and appropriate choices for the parameters ** α** ,

**,**

*β***,**

*γ**γ*, and

*ε*. Here

*α*_{ kj },

*β*_{ kj }, and

*γ*_{ kj }are vectors of equal length. We used vector notation such as

where the sum runs over all elements of the vectors.

Theorem 3. *The solutions of the recursions (* 6) *and (* 7*), starting from the initialization* *can be written in the form (* 8*).* See Additional file 3 for the proof.

### Updates and implementation

Now that we have confirmed that the solution is indeed of the form (8), what remains is to find the proper updates of the parameters *θ* ≡ {** α** ,

**,**

*β***,**

*γ**δ*,

*ε*}. These are given in the following theorem, the proof of which is given in Additional file 4.

Theorem 4. *The parameters θ* ≡ {** α** ,

**,**

*β***,**

*γ**δ*,

*ε*}

*of the solution*

*obey the update equations, for*1 ≤

*j*≤

*k*-1,

*with shorthand*

*and, for j* = *k*,

In the above expressions, division (*γ* divided by ** α** +1) and exponentiation (

**to the power**

*β***+1) are to be interpreted element-wise (hence the “∘”) and [1, 1,**

*α*

*α*_{k-1,j-1}, …] stands for the concatenation of elements and vectors into a new (longer) vector. The update equations can be initialized by setting

for all 0 ≤ *k*' ≤ *k*.

From the updates it can be seen that each *α* _{k,j,m} ∈ {1, …, *k*} and each *β* _{k,j,m} ∈ {0, 1}. So, at most there will be 2*k* unique combinations of *α* and *β* values. In an actual implementation, with every update we first compute and concatenate all *α’s* and *β’s* and then confine them to unique combinations by adding the *γ* coefficients that correspond to the same combination.

To compute for the whole range of rank products ** ρ** at once, we first compute the set of corresponding intervals labelled by

**j**. For all

*j*∈

**j**we then need to calculate the corresponding

*θ*

_{ kj }. We can do this recursively or using for-loops. When doing this recursively, it is wise to keep track of the parameters that already have been computed to prevent repetitive calculations. See Algorithm 1 in the Additional file 5. When using for-loops, following the same line of reasoning as suggested by Figure 1, we have an outer loop with

*j*' running from 0 to max(

**j**) (from left to right) and an inner loop with

*k*' running from

*j*' to max(

*k*+ min(

**j**) +

*j*',

*k*) (from top to bottom). Alternatively, we can have an outer loop with

*k*' running from 0 to

*k*(from top to bottom) and

*j*' from max(

*k*' +

*k*+ min(

**j**), 0) to min(

*k*', max(

**j**)) (from left to right). This latter ordering is taken in Algorithm 2 in Additional file 5. The solution for each

*ρ*then follows by computing from (8), with

*j*labelling the interval containing

*ρ*. Algorithm 1 is implemented in R (R Core Team [14]) and the R code is published in Additional file 6 and is available at http://www.ru.nl/publish/pages/726696/rankprodbounds.zip.

### Exact calculation and gamma approximation

The exact *p*-values may be obtained by a brute force search using the discrete recursion (1). An alternative method, proposed by Eisinga *et al.* [11], is to use number theory to obtain a combinatorial exact expression for calculating the discrete probability distribution of the rank product statistic. The distribution is asymmetric (i.e., positively skewed) and in determining the *p*-value, all probabilities need to be calculated, from the smallest rank product possible, with *ρ* = 1, to the rank product value of interest. This implies that the exact statistical significance of large rank products may take unacceptably long amounts of time to compute [11],[15],[16].

In [13], Koziol argues that under the null hypothesis for experiment *i* the *p*-values *r* _{
i
}/(*n* + 1) are approximately uniformly distributed on the interval [0,1]. As the probability distribution of the negative log-transformed *p*-values is given by the exponential distribution with scale parameter 1, the negative sum of the log-transformed *p*-values over *k* independent experiments has a Gamma(*k*,1) distribution (see also Pounds and Cheng [17]). This approach is equivalent to Fisher’s [18] method of combining *p*-values over independent tests. As illustrated below, the assumption that the distribution of the *p*-values is uniform on the continuous interval [0,1], when in fact it is uniform on the discrete set {1/(*n* + 1), 2/(*n* + 1), …, *n*/(*n* + 1)}, leads to substantial deviations from the right tail of the true distribution.

## Results and discussion

### Time performance and accuracy

The R program computes the bounds and the geometric mean *p*-value approximation at a very fast speed. For example, it takes approximately 2 milliseconds to calculate the upper bound *p*-value of any rank product *ρ* in the range 1 to *n* ^{k}, for *n* = 10000 and *k* = 4, on a HP desktop computer using the interpreted R language running under Windows 7 with an Intel Core i7 CPU at 2.9 GHz. It takes twice as much time to calculate the geometric mean *p*-value approximation. Unlike exact calculation, the algorithm’s computational time is almost unrelated to the value of rank product *ρ.*

To examine the effect of the number of experiments *k* on the algorithm’s running time, we generated 10000 random draws from the discrete uniform distribution on [1, *n* ^{k}] and calculated the upper bounded *p*-value of the simulated rank products, for *n* = 10000 and *k* = 2, …, 50. Figure 2 plots the computation time (in milliseconds) for the calculation of 10000 *p*-values and a third-order polynomial fitted line.

The figure indicates that computation time is no limiting factor when it comes to approximate *p*-value calculation of rank products, even for very demanding problems. Running time increases polynomially (of maximum order 3) with increasing *k.* Also, the time needed to do the same calculation for much larger *n* is similar to the time figures shown in the plot, as the algorithm’s computational time is not only virtually unrelated to rank product *ρ*, but also unaffected by *n*. This implies that the proposed calculation method should work well with all sample and replicate sizes typically encountered in postgenomic molecular profiling experiments.

To assess numerical accuracy, the entire *p*-value distribution was obtained for both large and small values of *n* and *k* (i.e., *n* = 10,10000 and *k* = 4,20)*.* Figure 3 displays the gamma approximation, the upper and lower bounds, and the geometric mean *p*-value approximation. The exact *p*-values are reported only for small values of *ρ* (right-hand panels of Figure 3) and for the entire range of rank products of the smallest *n* and *k* (left-hand panel of Figure 3C). Exact *p*-value calculation of the entire distribution is computationally unmanageable (or at least extremely time consuming) for the other values of *n* and *k*. As can be seen in Figure 3A, the upper and lower bounds are rather tight. Relatively speaking, i.e., on a logarithmic scale, they are most tight for large rank products. For small rank products they are in this case (*n* = 10000 and *k* = 4) at most a factor 3 off, that is higher/lower than the exact *p*-value. The approximation obtained by taking the geometric mean of the upper and lower bound is seen to be very accurate.

Trying different values of *n* and *k*, the curves look extremely similar when we plot them over the entire range of rank products, that is, for log-transformed *p*-values, between − *k*log*n* and 0. The range between the log upper bound and the log lower bound is more or less independent of *n* and increases roughly linear with *k,* but then so does the range of log *p*-values. With increasing *n*, the range of log *p*-values does increase logarithmically with *n*, where the range between upper and lower bound remains about constant (see Figure 3C for *n* = 10 and *k* = 4). This makes that curves for large *n* look most impressive in the sense of displaying tight bounds. Results for small *n* and large *k* are least impressive (see Figure 3D for *n* = 10 and *k* = 20). In any case, excluding extremely large rank products, the upper bounds are always orders of magnitude better than the gamma approximation. The latter assumes a continuous distribution and this assumption is too strong for the analysis of discrete rank products.

When trying to find an even better approximation or bound for *G* _{
k
}(*ρ*), one option is to use the continuous approximation scheme to compute for all *ρ*' ≤ *ρ* and then apply the discrete recursion (1) to arrive at better Initial attempts revealed that this indeed yields somewhat tighter bounds (e.g., a factor 1.5 off instead of 2.5) and a more accurate approximation, but not to the extent that it seems worth the computational effort.

### Application

To illustrate our method in a real-world application, gene expression data on human aging were obtained from Van den Akker *et al*. [19], available at http://onlinelibrary.wiley.com/doi/10.1111/acel.12160/suppinfo [Supplementary Table S2]. The data set contains the statistical results for 9047 unique genes (expressed in 2539 individuals) from four different studies. The authors employed rank product analysis to identify genes consistently up- or down-regulated with age across the four data sets. Table 1 displays the top 25 genes having increased expression with age.

We obtained the exact *p*-values and, ideally, one should use these values in correcting for multiple testing as they are the gold standard in the sense that the sampling distribution is known exactly. Only by deciding to accept or reject the null on the basis of exact *p*-values are we guaranteed to be protected from Type-1 errors at the desired significance level. However, it takes considerable amounts of time to calculate the *p*-value for the gene listed in the bottom of Table 1 (approximately 120 minutes) and it is (by far) not feasible to obtain the exact *p*-values of the largest rank products on a timely enough basis. The strict upper and lower bounds, however, perform well in the sense that the limits are narrow and the bias is tiny. Although the geometric mean *p*-value approximation provides no absolute guarantee to protection from Type-1 errors, the estimates and the exact probabilities are seen to be very close. The gamma distribution is seen to produce rather inaccurate approximate results.

Bonferroni corrections are one approach for controlling the experiment-wide false positive rate (*ρ*) by specifying what *ρ* value should be used for each individual test, taking *α* = *π*/*n*. For the current study, *π* = 0.05 gives *α* = 0.05/9047 ≈ 5.526 × 10^{-6}. We declare a test (i.e., gene) to be significant if *p* ≤ *α*.

The results for both up- and down-regulated genes are shown in the left panel of Table 2. Under a strict Bonferroni correction, we reject the null hypothesis of no differential expression with associated exact *p*-value for 25 up- and 42 down-regulated genes. The geometric mean *p*-value approximation produces results identical to the exact method. The asymptotic gamma approximation is too conservative in that it tends to understate the evidence against the null hypothesis. While reducing the number of false positives, it also reduces the number of true discoveries, especially for down-regulated genes. The Bonferroni method applied to the gamma *p*-values declared 30 genes to be significant, instead of 42.

The traditional Bonferroni correction may be too stringent in postgenomic multiple testing, where the number of molecules profiled in parallel is very large, and falsely detecting a small number of molecules as differently expressed will usually not be a serious problem if the majority of significant molecules are properly selected. A less stringent method is to estimate the FDR for the entire collection of *p*-values, defined as the expected number of false positives amongst the molecules selected as significantly differentially expressed, described in detail in Storey [20] and Storey and Tibshirani [9]. We obtained the FDR adjusted *p*-values, i.e., *q*-values, for all approximate *p*-value estimates, using Storey’s R program Q-value (with the bootstrap estimator). The estimated *q*-value for any particular test is a function of the *p*-value for that test and the distribution of the entire set of *p*-values. As it utilizes information from all the *p*-values at once, it is impossible to obtain *q*-values based on the exact probabilities. The right panel of Table 2 presents the number of significant calls for various thresholds by *p*-value approximation method. As can be seen, about [(57-40)/57 × 100=] 30% of the differentially expressed up-regulated genes selected using the upper bounded *p*-values at a *q*-value of 0.01, were not detected by the overly conservative gamma approach.

## Conclusions

In replicated molecular profiling experiments, where large numbers of molecules are simultaneously tested, accurately estimated *p*-values are essential for making justified, reproducible decisions about which molecules to consider as significantly differentially expressed in the downstream analysis. We provide a tailor-made solution to calculate strict bounds and accurate approximate *p*-values for rank product analysis of postgenomic molecular profiling data. The proposed algorithm runs very fast and gives a slightly conservative upper bound protecting against false positives and a close approximate estimate of the true *p*-values.

Over the past decade, the rank product method, developed originally for the analysis of microarray datasets, has found widespread use in various settings such as proteomics [6],[7], metabolomics [8], RNAi screening [21], meta-analysis [4],[15],[22], and classification [23]. However, its application has been restricted to medium sample and replicate sizes due to an intensive permutation test used to calculate significance. The algorithm presented here can provide an order of magnitude increase in throughput as compared with permutation testing. It also allows researchers to explore new application domains with even larger multiple testing issue, e.g., in large genetics studies with millions of markers or RNAseq analyses where the number of studies transcripts is larger than the number of genes or in applications to image analysis.

### Software availability

The R code is also freely available at http://www.ru.nl/publish/pages/726696/rankprodbounds.zip.

## Authors’ contributions

TH designed the approximation method, implemented the algorithm, and drafted the manuscript. RE participated in the design of the method, performed the data analysis and drafted the manuscript. RB supervised the study and drafted the manuscript. All authors read and approved the final manuscript.

## Additional files

## References

- 1.
Breitling R, Armengaud P, Amtmann A, Herzyk P: Rank products: a simple, yet powerful, new method to detect differentially regulated genes in replicated microarray experiments. FEBS Lett. 2004, 573 (1-3): 83-92. 10.1016/j.febslet.2004.07.055.

- 2.
Breitling R, Herzyk P: Rank-based methods as a non-parametric alternative of the t-statistic for the analysis of biological microarray data. J Bioinform Comput Biol. 2005, 3 (5): 1171-1189. 10.1142/S0219720005001442.

- 3.
Jeffery IB, Higgins DG, Culhane AC: Comparison and evaluation of methods for generating differentially expressed gene lists from microarray data. BMC Bioinform. 2006, 7: 359-10.1186/1471-2105-7-359.

- 4.
Chang L-C, Lin H-M, Sibille E, Tseng GC: Meta-analysis methods for combining multiple expression profiles: comparisons, statistical characterization and an application guideline. BMC Bioinform. 2013, 14: 368-10.1186/1471-2105-14-368.

- 5.
Bolstad BM, Irizarry RA, Åstrand M, Speed TP: A comparison of normalization methods for high density oligonucleotide array data based on variance and bias. Bioinformatics. 2003, 19: 185-193. 10.1093/bioinformatics/19.2.185.

- 6.
Smit S, van Breemen MJ, Hoefsloot HCJ, Smilde AK, Aerts JMFG, de Koster CG: Assessing the statistical validity of proteomics based biomarkers. Anal Chim Acta. 2007, 592 (2): 210-217. 10.1016/j.aca.2007.04.043.

- 7.
Wiederhold E, Gandhi T, Permentier HP, Breitling R, Poolman B, Slotboom DJ: The yeast vacuolar membrane proteome. Mol Cell Proteomics. 2009, 8 (2): 380-392. 10.1074/mcp.M800372-MCP200.

- 8.
Fukushima A, Kusano M, Redestig H, Arita M, Saito K: Metabolomic correlation-network modules in Arabidopsis based on a graph-clustering approach. BMC Syst Biol. 2011, 5: 1-10.1186/1752-0509-5-1.

- 9.
Storey JD, Tibshirani R: Statistical significance for genome-wide experiments. Proc Natl Acad Sci USA. 2003, 100 (16): 9440-9445. 10.1073/pnas.1530509100.

- 10.
Pounds S, Cheng C: Robust estimation of the false discovery rate. Bioinformatics. 2006, 22 (16): 1979-1987. 10.1093/bioinformatics/btl328.

- 11.
Eisinga R, Breitling R, Heskes T: The exact probability distribution of the rank product statistics for replicated experiments. FEBS Lett. 2013, 587 (6): 677-682. 10.1016/j.febslet.2013.01.037.

- 12.
Knijnenburg TA: Fewer permutations, more accurate

*P*-values. Bioinformatics. 2009, 25 (12): 161-168. 10.1093/bioinformatics/btp211. - 13.
Koziol JA: Comments on the rank product method for analyzing replicated experiments. FEBS Lett. 2010, 584 (5): 941-944. 10.1016/j.febslet.2010.01.031.

- 14.
R: A Language and Environment for Statistical Computing. 2012, R Foundation for Statistical Computing, Vienna, Austria

- 15.
Caldas J, Vinga S: Global meta-analysis of transcriptomics studies. PLoS One. 2014, 9 (2): e89318-10.1371/journal.pone.0089318.

- 16.
Dembélé D, Kastner P: Fold change rank ordering statistics: a new method for detecting differentially expressed genes. BMC Bioinform. 2014, 15: 14-10.1186/1471-2105-15-14.

- 17.
Pounds S, Cheng C: Statistical development and evaluation of microarray gene expression data filters. J Comput Biol. 2005, 12 (4): 482-495. 10.1089/cmb.2005.12.482.

- 18.
Fisher RA: Statistical Methods for Research Workers. 1932, Oliver and Boyd, London

- 19.
Van den Akker EB, Passtoors WM, Jansen R, van Zwet EW, Goeman JJ, Hulsman M, Emilsson V, Perola M, Willemsen G, Penninx BW, Heijmans BT, Maier AB, Boomsma DI, Kok JN, Slagboom PE, Reinders MJ, Beekman M: Meta-analysis on blood transcriptomic studies identifies consistently coexpressed protein-protein interaction modules as robust markers of human aging. Aging Cell. 2014, 13 (2): 216-225. 10.1111/acel.12160.

- 20.
Storey JD: A direct approach to false discovery rates. J Roy Stat Soc B. 2002, 64 (3): 479-498. 10.1111/1467-9868.00346.

- 21.
Cinghu S, Yellaboina S, Freudenberg JM, Ghosh S, Zheng X, Oldfield AJ, Lackford BL, Zaykin DV, Hu G, Jothi R: Integrative framework for identification of key cell identity genes uncovers determinants of ES cell identity and homeostasis. PNAS. 2014, 111 (16): E1581-E1590. 10.1073/pnas.1318598111.

- 22.
Tsoi LC, Qin T, Slate EH, Zheng WJ: Consistent Differential Expression Pattern (CDEP) on microarray to identify genes related to metastatic behavior. BMC Bioinform. 2011, 12: 438-10.1186/1471-2105-12-438.

- 23.
Louenço A, Conover M, Wong A, Nematzadeh A, Pan F, Shatkay H, Rocha LM: A linear classifier based on entity recognition tools and a statistical approach to method extraction in the protein-protein interaction literature. BMC Bioinform. 2011, 12 (Suppl 8): S12-10.1186/1471-2105-12-S8-S12.

## Acknowledgements

Rank products of the genes in the transcript study discussed here were obtained from Van den Akker *et al*. [19]. The authors are grateful to Erik van den Akker for valuable correspondence about the data. We also gratefully acknowledge financial support from the Netherlands Organization for Scientific Research (NWO) via the Complexity project (645.000.003).

## Author information

## Additional information

### Competing interests

The authors declare that they have no competing interests.

## Electronic supplementary material

## Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

## Rights and permissions

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/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly credited. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.

## About this article

### Cite this article

Heskes, T., Eisinga, R. & Breitling, R. A fast algorithm for determining bounds and accurate approximate *p*-values of the rank product statistic for replicate experiments.
*BMC Bioinformatics* **15, **367 (2014). https://doi.org/10.1186/s12859-014-0367-1

Received:

Accepted:

Published:

### Keywords

- Rank product statistic
- p-value distribution
- Transcriptomics
- Proteomics
- Metabolomics

## Comments

View archived comments (1)