Question: Fisher's exact test in RNASeq analysis
gravatar for sibrunne
4.1 years ago by
sibrunne0 wrote:

In RNA-Seq analysis it is common to use tests analogous to Fisher's exact test to evaluate whether a gene is differentially expressed in two measured conditions. Fisher's exact test relies on compiling a 2x2 (or greater) table of outcomes x conditions. When applied to RNA-Seq, I was wondering what the 2x2 table consists? I would assume that the two different genes are the two columns, but what then are the rows? The actual data and the average read count in each condition, to test the gene versus a null hypothesis of random sampling of read counts? I would be happy for help clarifying this issue.

rna-seq • 3.5k views
ADD COMMENTlink modified 4.1 years ago by Devon Ryan94k • written 4.1 years ago by sibrunne0
gravatar for Devon Ryan
4.1 years ago by
Devon Ryan94k
Freiburg, Germany
Devon Ryan94k wrote:

Kind of, typically one uses a negative binomial, which allows for replicates. If one wanted to do use a Fisher's test (don't do this) then the second row would be the total counts in the sample excluding those for the given gene being examined. But really, you need biological replicates, so just use one of the many (Bioconductor) packages that already allow for this.

ADD COMMENTlink written 4.1 years ago by Devon Ryan94k

Indeed the algorithms such as DESeq and EdgeR use the negative binomial. However, they also use tests that they describe as 'analogous to the Fisher's exact test'. So I'm not sure that the use of the Fisher's exact test is impossible when using the negative binomial distribution.

ADD REPLYlink written 4.1 years ago by sibrunne0

DESeq1 allowed that, but that's since been disabled in DESeq2. That works by ignoring groups when determining the dispersion. There isn't really a table ever made, but the distributions are similarish.

ADD REPLYlink written 4.1 years ago by Devon Ryan94k

Thanks for your help. Could you please be a bit more specific? As far as I know: - DESeq uses the NB-distribution, whether or not it uses the Fisher's exact test. - DESeq says it uses a test analogous to Fisher's exact test. But if they do, you say they do not construct a 2x2 table? So is that how it is analogous but not identical?

ADD REPLYlink written 4.1 years ago by sibrunne0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1935 users visited in the last hour