Enrichment Analysis in R
1
2
Entering edit mode
5.7 years ago

I have two lists of cancer genes, the genes of list-1 belong to category A, while the genes in list-2 belong to category B. I would like to perform an enrichment analysis to check whether or not category A has a enrichment of cancer genes.

Some genes are present in both categories A & B, so I think Fisher's exact test does not work in this case.

Any suggestions of other possible methods? any way to do this in R?

EDIT

So I want to do enrichment of category A, and have a set of genes that are enriched.

R enrichment-analysis gene fisher's-exact-test • 1.7k views
ADD COMMENT
0
Entering edit mode

You might need to rephrase this line " I would like to perform an enrichment analysis to check whether or not category A has a enrichment of cancer genes.". Do you want enrichment of category A over category B?

You can also check this: Statistical significance of the overlap between two groups of genes.

ADD REPLY
0
Entering edit mode

Edit added to the question. Please have a look

ADD REPLY
4
Entering edit mode
5.7 years ago
venu 7.1k

Check GeneOverlap package. It has functions to do what you need.

ADD COMMENT
0
Entering edit mode

Thanks for your answer! Could you please explain a bit more on how to use this package to end up with a set of genes that are enriched for category A?

ADD REPLY
0
Entering edit mode

There is so called vignettes/manual/docuemntation for every R/Bioconductor package. You can find use cases in there.

ADD REPLY

Login before adding your answer.

Traffic: 1915 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