Friday, January 17, 2014

Fisher exact test, demo

Fisher test and hypergeometric tests are often used for enrichment test.

cluster = c(10, 90)
network= c(100,9000)
tb = rbind(cluster, network)
fisher.test(tb)
ft = fisher.test(tb)


Reference:
https://mail.google.com/mail/u/0/?shva=1#circle/students/1437f7c3a77a24bf

See also hypergeometric test
http://www.ploscompbiol.org/article/info:doi/10.1371/journal.pcbi.0030039#s4

No comments:

Post a Comment