# Statistical methods on detecting differentially expressed genes for RNA-seq data

^{}

^{1}Jianzhong Liu,

^{2}Hon Keung Tony Ng,

^{3}Saralees Nadarajah,

^{4}Howard L Kaufman,

^{5,}

^{6}Jack Y Yang,

^{7}and Youping Deng

^{}

^{5,}

^{8}

^{1}Biostatistics Epidemiology Research Design Core, Center for Clinical and Translational Sciences, The University of Texas Health Science Center at Houston, Houston, TX 77030, USA

^{2}The Chem21 Group Inc, 1780 Wilson Drive, Lake Forest, IL 60045, USA

^{3}Department of Statistical Science, Southern Methodist University, Dallas, TX 75275, USA

^{4}School of Mathematics, University of Manchester, Manchester, M13 9PL, UK

^{5}Rush University Cancer Center, Rush University Medical Center, Chicago, IL 60612, USA

^{6}Department of General Surgery and Immunology and Microbiology, Rush University Medical Center, Chicago, IL 60612, USA

^{7}Department of Radiation Oncology Massachusetts General Hospital and Harvard Medical School Boston, MA 02114, USA

^{8}Department of Internal Medicine and Biochemistry, Rush University Medical Center, Chicago, IL 60612, USA

^{}Corresponding author.

#### Supplement

#### Conference

## Abstract

### Background

For RNA-seq data, the aggregated counts of the short reads from the same gene is used to approximate the gene expression level. The count data can be modelled as samples from Poisson distributions with possible different parameters. To detect differentially expressed genes under two situations, statistical methods for detecting the difference of two Poisson means are used. When the expression level of a gene is low, i.e., the number of count is small, it is usually more difficult to detect the mean differences, and therefore statistical methods which are more powerful for low expression level are particularly desirable. In statistical literature, several methods have been proposed to compare two Poisson means (rates). In this paper, we compare these methods by using simulated and real RNA-seq data.

### Results

Through simulation study and real data analysis, we find that the Wald test with the data being log-transformed is more powerful than other methods, including the likelihood ratio test, which has similar power as the variance stabilizing transformation test; both are more powerful than the conditional exact test and Fisher exact test.

### Conclusions

When the count data in RNA-seq can be reasonably modelled as Poisson distribution, the Wald-Log test is more powerful and should be used to detect the differentially expressed genes.

## Background

Recent advancements in deep sequencing technique enable the ultra-high-throughput sequencing (called the second- or next- generation sequencing) approaches, to be used for transcriptome, including gene expression, analyses [1-4]. RNA-seq produces a count (the total number of short reads which are annotated to positions within a gene or transcript) for each gene expression level. Some researchers have shown that the count data can be quite reasonably modelled as Poisson distribution [1,3]. To detect differentially expressed genes (DEGs) under two conditions (e.g., disease vs. healthy status), some statistical methods have been used. For example, Marioni et al [3] have proposed to use likelihood ratio test (LRT) based on a generalized linear model (GLM) with dependent variable (count) having Poisson distribution to detect DEGs under two conditions without biological replicates. Fisher exact test has also been proposed to detect DEGs for RNA-seq data [5,6]. Some researchers modelled the count data as binomial distribution bin(n,p), where n is the total counts on the same lane, which usually ranges from several millions to tens of millions [7]. However, it is well known that for a binomial distribution bin(n,p) with large n and small p, it can be approximated by Poisson distribution. It is expected that for RNA-seq data methods based on binomial distribution should have similar performance as those methods based on Poisson distribution and therefore are not considered in this paper.

If there are biological replicates, the count data may have larger variances than expected from the Poisson distribution as biological replicates bring extra variances. Under this kind of situations, Poisson distribution with over-dispersed variances or negative binomial distributions are thought to be more appropriate [8,9]. However, due to the high cost, recent studies rarely used biological replicates; we therefore focus on the situations where at most technical replicates are used and Poisson distribution is assumed to be appropriate.

Besides Fisher exact test and LRT from GLM, several other test approaches in statistical literature have been proposed to detect the difference of two Poisson means. For example, under the null hypothesis that X_{1 }and X_{2 }are both from Poi(*λ*), then given k = X_{1}+X_{2}, X_{1 }has a binomial distribution Bin(k,p), where p = X_{1}/k. Therefore the conditional exact test can be used to detect the difference of the two Poisson means. One of the advantages of the GLM is that it can incorporate some covariates that we are interested in. If no covariates are considered due to the small sample size and large number of genes, the LRT can be constructed directly. Similar to LRT, Wald test also has an asymptotical Chi-square distribution with df = 1 [10-12]. A modified Wald test (Wald-Log) with data being first log-transformed has also been proposed for detecting the difference between two Poisson means [11]. Another method called variance stabilizing transformation (VST) was proposed by Huffman [10,13].

In this paper, we first compare the above mentioned methods by using simulations. Since for those methods having the same asymptotic distribution, they are expected to have similar performances for large sample sizes (e.g., Poisson distributions with large means), we focus on simulating Poisson distributions with small or moderate means. We then use a real RNA-seq data to show the performances of those methods.

## Results

### Simulation results

In the simulations, we first assume there are no replicates, i.e., each of the two conditions has only one sample. We assume the data for condition 1 is from a Poisson distribution with fixed mean 5, 10, 15, or 30. For condition 2, we assume the Poisson mean is the same as or greater than that for condition 1. We use the nominal significance level 10^{-3 }to reflect the situation where in a study with a large number of significant variable (genes), a stringent p-value is needed. The estimated size and power are calculated from 10,000 runs for each setting.

Table Table11 reports the estimated size and power for different situations. Figure Figure11 plots the estimated size and power for each method from this simulation.

**Estimated power from various methods (no replicates)**. Estimated size and power from each method for detecting the difference of two Poisson means. There are no replicates for each condition. The Poisson means for the first condition are 5, 10, 15, or

**...**

In the second simulation, we assume there are three replicates for each condition. Table Table22 shows the estimated sizes and powers and these results are plotted in Figure Figure22.

**Estimated power from various methods (with 3 replicates for each condition)**. Estimated size and power from each method for detecting the difference of two Poisson means. There are three replicates for each condition. The Poisson means for the first condition

**...**

From the results of the two simulation studies, we can see that the Wald-Log method is usually more powerful than the LRT, which has similar power as that of VST; both are slightly better than the Wald test, which in turn outperforms Fisher test and conditional binomial test. It is noticeable that both Fisher and conditional tests are exact conditional tests and have almost identical powers.

### Detecting DEGs for a real RNA-seq dataset

We also apply these statistical methods to a real RNA-seq data generated by Illumina's sequencing technology [3]. In this dataset, we consider two different samples: kidney and liver both at concentration 3PM, each has 5 lanes (technical replicates). We want to detect DEGs between these two samples. There are 15227 genes with at least 5 counts in total (i.e., on average 1 count on each lane) for both samples. For each of the 15227 genes, we calculate the p-values using various methods mentioned above. Due to the almost identical performance between the Fisher and conditional binomial tests, we choose not to use the latter one in this real data analysis. Figure Figure33 plots the p-values from other methods compared with the LRT. For many genes, Wald-Log produces smaller p-values than the LRT does.

**P-values for the real RNA-seq data from different methods**. Compare p-values (-log10 scale) obtained from other methods with those from LRT for the 15227 genes whose average counts per lane are at least one for each sample.

We are particularly interested in seeing how these statistical methods perform for low expression data. To this purpose, we use the data from genes with average count per lane between 1 and 10. There are 2657 such genes from the data. Figure Figure44 plots the p-values (on -log10 scale) obtained from other methods compared with those from LRT for those 2657 genes. LRT, Fisher and VST obtain very similar p-values for those genes, while Wald produces larger p-values than LRT for a small portion of those genes. However, for many genes with small p-values from LRT, their p-values obtained by Wald-log are smaller. This indicates the Wald-Log test is more powerful than LRT and other tests for this data.

**P-values of the 2657 low espression genes from different methods**. Compare p-values (-log10 scale) obtained from other methods with those from LRT for the 2657 low expression genes whose average counts per lane are between 1 and 10 for each sample.

To see how statistical significance (p-values) related to biological significance (fold changes), we plot the p-values (on -log10 scale) vs. absolute fold change (on log2 scale) in Figure Figure55 from different methods for those 2657 genes. It can be seen that the Wald-Log test obtains smaller p-values than other methods when the fold changes are large, indicating this method can detecting more biologically meaningful DEGs than other methods for low expression genes.

**P-values vs. log2(FC) of the 2657 low espression genes from different methods**. P-value (-log10 scale) obtained by various methods vs. fold change (log2 scale) for the 2657 low expression genes whose average counts per lane are between 1 and 10 for each

**...**

Figure Figure66 plots the counts under two conditions for each low expression genes selected by Wald-Log and LRT at significance level 10^{-3}. Of the 581 selected genes by Wald-Log, 498 are also selected by LRT. Each of the selected gene has at least 20 ounts in total for at least one sample (liver or kidney). The fold changes (liver vs. kidney, or kidney vs. liver) of all the 581 selected genes are all at least 2. For those 83 genes selected by Wald-Log but not by LRT, some even have fold changes as large as 4.

**Counts under two conditions for each of the selected low expression genes**. With significance level 10

^{-3}, the Wald-Log test selects 581 out of 2657 low expression genes. While the LRT selects 498 of the 581 genes. The count for each selected gene of the

**...**

Table Table33 lists the numbers of DEGs obtained with different cutoff values by various methods. Consistent with what we have observed, the Wald-Log test identifies more DEGs than other methods for low expression genes. This is also true when we apply these statistical tests to all of the 15227 genes.

## Discussion

Some studies have shown that for RNA-seq data without biological replicates, the count data can be reasonably modelled as Poisson distributed [1,3]. Since it is usually more difficult to detect DEGs with low expression level for RNA-seq data [14], it is desirable to find powerful statistical tests for detecting low expression DEGs. Through simulations and real data, we show that the Wald-Log is more powerful that the commonly used LRT and Fisher exact test. The test statistic of Wald-Log has an asymptotic normal distribution. Like many other test statistics having asymptotic normal or Chi-square distributions, the asymptotic distributional results for the Wald-Log test statistic do not hold when the sample sizes are small (i.e., the Poisson mean is small). However, from our simulations we can see that when the Poisson mean is greater than 10, it can have reasonable sizes even if there are no replicates.

It is interesting to see that the Wald-Log test is also related to the fold changes (see method section for more details); therefore it is also more biologically meaningful. The test statistic of Wald-Log not only uses the fold change (on log scale), but also considers the variances associated with FC. For low expression level, the FC has larger variances, indicating it is more difficult to identify DEGs for low expression genes. This is consistent with the observation from other studies [14,15]: the ability to detect DEGs is strongly associated with the length of gene as longer genes potentially have more aggregated tag counts.

The denominator of the Wald-Log test statistic is: $\sqrt{\left(2+{n}_{1}\u2215{n}_{2}+{n}_{2}\u2215{n}_{1}\right)\u2215\left(\sum _{j=1}^{{n}_{1}}{X}_{1j}+\sum _{j=1}^{{n}_{2}}{X}_{2j}\right)}$, which is the estimated standard error of the fold change (log scale). If we change the square root to: ${\left[\left(2+{n}_{1}\u2215{n}_{2}+{n}_{2}\u2215{n}_{1}\right)\u2215\left(\sum _{j=1}^{{n}_{1}}{X}_{1j}+\sum _{j=1}^{{n}_{2}}{X}_{2j}\right)\right]}^{1\u2215k}$, then when k = 2, it is the usual Wald-Log test; when *k*→∞, it becomes the fold change criterion as the denominator equals to 1. When the count data has an over-dispersed Poisson distribution, the above estimator underestimates the standard error and we will have inflated type I error rate. Under this situation, we need to derive a new estimator for the standard error; or a Bayesian approach assuming the standard error follows a specific distribution can be built. It should be noticed that for the Bayesian approaches, choosing appropriate prior distributions are critical and may have huge impacts on the results. We may also choose models other than the Poisson model. For example, if there are biological replicates, the count data may have over-dispersed variances, other models such as over-dispersed Poisson distribution or negative binomial distribution can be used [8,9].

## Conclusions

When detecting the difference of two Poisson means, if the Poisson means are large, all the statistical tests mentioned above have very similar power. However, their powers may differ a lot when the Poisson means are small. When the count data in RNA-seq can be reasonably modelled as Poisson distribution, it is desirable to choose a statistical test which outperforms others for low expression genes. Through simulation study and real RNA-seq data analysis, we have shown that the Wald-Log test is more attractive than other methods and should be used to identify DEGs.

## Methods

### Likelihood ratio test (LRT)

Suppose there are n_{1 }and n_{2 }technical replicates for condition 1 and condition 2, respectively; denote the count of short reads of a gene of the *j ^{th }*replicate under condition

*i*by x

_{ij}, where i = 1,2, j = 1,2, ..., n

_{i}. We also assume random variables X

_{ij}~Poi(

*λ*).

_{i}The test statistic of LRT is:

where ${\widehat{\lambda}}_{0}=\frac{\sum _{j=1}^{{n}_{1}}{X}_{1j}+\sum _{j=1}^{{n}_{2}}{X}_{2j}}{{n}_{1}+{n}_{2}},\phantom{\rule{1em}{0ex}}{\widehat{\lambda}}_{1}=\frac{\sum _{j=1}^{{n}_{1}}{X}_{1j}}{{n}_{1}},\phantom{\rule{1em}{0ex}}{\widehat{\lambda}}_{2}=\frac{\sum _{j=1}^{{n}_{2}}{X}_{2j}}{{n}_{2}}$.

Under the null hypothesis that the two Poisson means are the same, the test statistic has an asymptotic Chi-square distribution with degree of freedom (df) equals to 1.

LRT has been used by Marioni et al [3] based on a GLM, where they first normalize the data across lanes by a global scale normalization method so that the total counts on each lane are the same after normalization.

### Conditional binomial test

It can be shown that the conditional distribution of the sum of X_{1j }given the total sum of X_{ij }has a binomial distribution [10,16]. More specifically,

Under the null hypothesis, ${p}_{0}=\frac{{n}_{1}}{{n}_{1}+{n}_{2}}$ and the exact p-value can be calculated from the binomial distribution Bin(n_{1}+n_{2}, p_{0}).

### Wald test

The Wald test statistic is [11]:

Under the null hypothesis, T_{Wald }has an asymptotic standard normal distribution.

### Wald test for logarithm transformed data (Wald-Log)

The Wald test can be also applied to the logarithm transformed count data [11]. We call it Wald-Log test. The test statistic can be derived by using Delta method and has the following form:

## Competing interests

The authors declare that they have no competing interests.

## Authors' contributions

C designed the algorithm, conducted the study, and drafted the manuscript; JL analyzed the data and assisted in programming; YD coordinated and directed the whole project. HKTN, SN, HLK, JYY and YD participated in the analysis and discussion. All authors read and approved the final manuscript.

## Acknowledgements

ZC would like to thank the support from the NIH grant (UL1 RR024148), awarded to the University of Texas Health Science Center at Houston.

This article has been published as part of *BMC Systems Biology *Volume 5 Supplement 3, 2011: BIOCOMP 2010 - The 2010 International Conference on Bioinformatics & Computational Biology: Systems Biology. The full contents of the supplement are available online at http://www.biomedcentral.com/1752-0509/5?issue=S3.

## References

- Bullard JH, Purdom E, Hansen KD, Dudoit S. Evaluation of statistical methods for normalization and differential expression in mRNA-Seq experiments. BMC Bioinformatics. 2010;11:94. doi: 10.1186/1471-2105-11-94. [PMC free article] [PubMed] [Cross Ref]
- Ingolia NT, Ghaemmaghami S, Newman JR, Weissman JS. Genome-wide analysis in vivo of translation with nucleotide resolution using ribosome profiling. Science. 2009;324(5924):218–223. doi: 10.1126/science.1168978. [PMC free article] [PubMed] [Cross Ref]
- Marioni JC, Mason CE, Mane SM, Stephens M, Gilad Y. RNA-seq: an assessment of technical reproducibility and comparison with gene expression arrays. Genome Res. 2008;18(9):1509–1517. doi: 10.1101/gr.079558.108. [PMC free article] [PubMed] [Cross Ref]
- Wang Z, Gerstein M, Snyder M. RNA-Seq: a revolutionary tool for transcriptomics. Nat Rev Genet. 2009;10(1):57–63. doi: 10.1038/nrg2484. [PMC free article] [PubMed] [Cross Ref]
- Robinson MD, Oshlack A. A scaling normalization method for differential expression analysis of RNA-seq data. Genome Biol. 2010;11(3):R25. doi: 10.1186/gb-2010-11-3-r25. [PMC free article] [PubMed] [Cross Ref]
- Bloom JS, Khan Z, Kruglyak L, Singh M, Caudy AA. Measuring differential gene expression by short read sequencing: quantitative comparison to 2-channel gene expression microarrays. BMC Genomics. 2009;10:221. doi: 10.1186/1471-2164-10-221. [PMC free article] [PubMed] [Cross Ref]
- Wang L, Feng Z, Wang X, Zhang X. DEGseq: an R package for identifying differentially expressed genes from RNA-seq data. Bioinformatics. 2010;26(1):136–138. doi: 10.1093/bioinformatics/btp612. [PubMed] [Cross Ref]
- Robinson MD, Smyth GK. Moderated statistical tests for assessing differences in tag abundance. Bioinformatics. 2007;23(21):2881–2887. doi: 10.1093/bioinformatics/btm453. [PubMed] [Cross Ref]
- Wu Z, Jenkins BD, Rynearson TA, Dyhrman ST, Saito MA, Mercier M, Whitney LP. Empirical bayes analysis of sequencing-based transcriptional profiling without replicates. BMC Bioinformatics. 2010;11:564. doi: 10.1186/1471-2105-11-564. [PMC free article] [PubMed] [Cross Ref]
- Gu K, Ng HK, Tang ML, Schucany WR. Testing the ratio of two poisson rates. Biom J. 2008;50(2):283–298. doi: 10.1002/bimj.200710403. [PubMed] [Cross Ref]
- Ng HK, Tang ML. Testing the equality of two Poisson means using the rate ratio. Stat Med. 2005;24(6):955–965. doi: 10.1002/sim.1949. [PubMed] [Cross Ref]
- Ng HKT, Gu K, Tang ML. A comparative study of tests for the difference of two Poisson means. Computational Statistics and Data Analysis. 2007;51:3085–3099. doi: 10.1016/j.csda.2006.02.004. [Cross Ref]
- Huffman MD. An improved approximate two-sample Poisson test. Applied Statistics. 1984;33:224–226. doi: 10.2307/2347448. [Cross Ref]
- Oshlack A, Wakefield MJ. Transcript length bias in RNA-seq data confounds systems biology. Biol Direct. 2009;4:14. doi: 10.1186/1745-6150-4-14. [PMC free article] [PubMed] [Cross Ref]
- Young MD, Wakefield MJ, Smyth GK, Oshlack A. Gene ontology analysis for RNA-seq: accounting for selection bias. Genome Biol. 2010;11(2):R14. doi: 10.1186/gb-2010-11-2-r14. [PMC free article] [PubMed] [Cross Ref]
- Przyborowski J, Wilenski H. Homogeneity of results in testing samples from Poisson series. Biometrika. 1940;31:313–323.

**BioMed Central**

## Formats:

- Article |
- PubReader |
- ePub (beta) |
- PDF (623K) |
- Citation

- A flexible count data model to fit the wide diversity of expression profiles arising from extensively replicated RNA-seq experiments.[BMC Bioinformatics. 2013]
*Esnaola M, Puig P, Gonzalez D, Castelo R, Gonzalez JR.**BMC Bioinformatics. 2013 Aug 21; 14:254. Epub 2013 Aug 21.* - A comparison of statistical methods for detecting differentially expressed genes from RNA-seq data.[Am J Bot. 2012]
*Kvam VM, Liu P, Si Y.**Am J Bot. 2012 Feb; 99(2):248-56. Epub 2012 Jan 20.* - rSeqDiff: detecting differential isoform expression from RNA-Seq data using hierarchical likelihood ratio test.[PLoS One. 2013]
*Shi Y, Jiang H.**PLoS One. 2013; 8(11):e79448. Epub 2013 Nov 18.* - A two-parameter generalized Poisson model to improve the analysis of RNA-seq data.[Nucleic Acids Res. 2010]
*Srivastava S, Chen L.**Nucleic Acids Res. 2010 Sep; 38(17):e170. Epub 2010 Jul 29.* - From RNA-seq reads to differential expression results.[Genome Biol. 2010]
*Oshlack A, Robinson MD, Young MD.**Genome Biol. 2010; 11(12):220. Epub 2010 Dec 22.*

- DAFS: a data-adaptive flag method for RNA-sequencing data to differentiate genes with low and high expression[BMC Bioinformatics. ]
*George NI, Chang CW.**BMC Bioinformatics. 1592* - Improving transcriptome assembly through error correction of high-throughput sequence reads[PeerJ. ]
*MacManes MD, Eisen MB.**PeerJ. 1e113* - Age-adjusted nonparametric detection of differential DNA methylation with case–control designs[BMC Bioinformatics. ]
*Huang H, Chen Z, Huang X.**BMC Bioinformatics. 1486* - From genes to networks: in systematic points of view[BMC Systems Biology. ]
*Zhang K, Liu Y, Yang JY, Arabnia HR, Niemierko A, Ghafoor A, Li W, Deng Y.**BMC Systems Biology. 5(Suppl 3)I1*

- PubMedPubMedPubMed citations for these articles
- TaxonomyTaxonomyRelated taxonomy entry
- Taxonomy TreeTaxonomy Tree

- Statistical methods on detecting differentially expressed genes for RNA-seq dataStatistical methods on detecting differentially expressed genes for RNA-seq dataBMC Systems Biology. 2011; 5(Suppl 3)S1

Your browsing activity is empty.

Activity recording is turned off.

See more...