How to do simple Fisher' exact test for overlapped genomic interval in R?
1
0
Entering edit mode
@jurat-shahidin-9488
Last seen 4.0 years ago
Chicago, IL, USA

I used findOverlap() function that takes two bed file as argument to check overlapped genomic interval. this function truly returned bunch of overlapped interval. Now I want to know what's combined p-value of these overlapped interval by using Fisher' exact test. What's the simplest approach for this case? Thanks all

test fisher exact r findoverlapsofpeaks • 2.0k views
ADD COMMENT
3
Entering edit mode
Guangchuang Yu ★ 1.2k
@guangchuang-yu-5419
Last seen 5 days ago
China/Guangzhou/Southern Medical Univer…

you can't simply apply fisher's exact test as the population is unknown.

 

see https://bioconductor.org/packages/release/bioc/vignettes/ChIPseeker/inst/doc/ChIPseeker.html#overlap-significant-testing

ADD COMMENT
0
Entering edit mode

To calculate the combined p-value of overlapped genomic intervals, you can use Fisher's exact test. Merge the overlapping intervals into non-overlapping regions. You can use a tool like bedtools merge or bedops to do this. The resulting regions will represent the non-redundant genomic intervals that are covered by the original intervals. How to do simple Fisher' exact test for overlapped genomic interval in R? bitlife

ADD REPLY

Login before adding your answer.

Traffic: 747 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6