Biostar Beta. Not for public use.
DAVID Fisher Exact Test contingency table
1
Entering edit mode
22 months ago
igor 7.7k
United States

I am looking at the DAVID documentation here and specifically the contingency table: https://david.ncifcrf.gov/content.jsp?file=functional_annotation.html

In DAVID annotation system, Fisher Exact is adopted to measure the gene-enrichment in annotation terms.

In human genome background (30,000 gene total), 40 genes are involved in p53 signaling pathway. A given gene list has found that 3 out of 300 belong to p53 signaling pathway. Then we ask the question if 3/300 is more than random chance comparing to the human background of 40/30000.

screenshot

However, the contingency table shown adds up to 30,300. Isn't it supposed to add up to 30,000? Is that a typo or are there multiple ways to perform the Fisher Exact test?

ADD COMMENTlink
0
Entering edit mode

Looks like a typo. Please let them know.

ADD REPLYlink
0
Entering edit mode

I will. Thanks for the suggestion.

I was mostly just concerned that maybe I am not fully understanding Fisher's exact test. I found that page while looking for examples that involve gene set enrichment.

ADD REPLYlink
0
Entering edit mode

It still shows the same contingency table.

ADD REPLYlink
0
Entering edit mode
16 months ago
The University of Edinburgh

Hi!

One gene can be part of more than one Pathway. So, the total number of genes would be higher than the number of Genome. I recommend you to look for the intersection between the genes in "Pathway" and "Not In Pathway".

ADD COMMENTlink
2
Entering edit mode

You only test one pathway at a time and the sum of the cells in the contingency table must sum to the total number of genes (or the relevant subset) or else you're violating assumptions of the test. I don't even know what it would mean for a gene to be both in and not in a given pathway at the same time...it'd be like a Schrödinger gene or something.

My guess is actually that the second column in the original table isn't really meant to be the second column of the contingency table, but rather the row sums. Then everything would add up correctly.

ADD REPLYlink
0
Entering edit mode

"Schrödinger gene"... I will have to work that into a presentation somehow

ADD REPLYlink

Login before adding your answer.

Similar Posts
Loading Similar Posts
Powered by the version 2.1