I have an issue calculating overlap percentage.
From functional annotated analysis, I got 49 different gene sets and have tried to calculate how many genes are overlapped between two different data sets. I'd like to drawing a figure like this (Fig1B). Are there any ideas or recommendations?
http://www.ncbi.nlm.nih.gov/pubmed/20926834
Actually, I am still new to R but prefer to R.
Thank you so much for your help :)
Actually I obtained 49 enriched gene sets using GOstats R. Plus, I have annotated gene lists of each 49 data sets. Here, I'd like to figuring out 1) how each category share same genes together and/or 2) which genes are annotated on different categories among total 49 sets. GO datasets are displayed with GOBP ID and genes are expressed with ENTREZ ID.
Following your recommendations, I have plotted different heatmaps using function heatmap and image. But.. these gave me a little different format what I expected before (figure from published paper I'd attached earlier). But, I'm trying to make one..
It is very interesting, if you find the way to do it, please also share it here.