saezlab / CARNIVAL

CAusal Reasoning for Network Identification with integer VALue programming in R
https://saezlab.github.io/CARNIVAL/
57 stars 29 forks source link

Enrichment analysis for CARNIVAL #7

Closed ptrairatphisan closed 5 years ago

ptrairatphisan commented 5 years ago

To facilitate the interpretation of results from CARNIVAL, we also offer an easy to use enrichment analysis pipeline based on the curated gene sets from MSigDB (C2 branch) as performed in the benchmarking and IgAN study (only over-presentation analysis of CARNIVAL nodes).

Here two new CARNIVAL functions are introduced: 1) mapUniprotPKN.R to generate the list of nodes in the prior knowledge network to be used as the 'universe' for enrichment/over-representation analyses. 2) enrichCARNIVAL.R to run enrichment/over-representation analysis where the users can also sub-select the gene set from the C2 branch (kegg, biocarta, reactome)

A tutorial using CARNIVAL Example 3 (APAP, TG-GATEs, Omnipath network) was used to demonstrate the enrichment pipeline. The results are shown below for instance.

carnival_enrichment_results_carnival_ex3_pw_all_kegg

carnival_enrichment_results_carnival_ex3_pw_updn_kegg
anikaliu commented 5 years ago

Hi Panuwat,

I plan to split it up a bit into separate functions. My old script isn't quite function-worthy.. Before, I wanted to check if you agree for a few things:

ptrairatphisan commented 5 years ago

Thanks for your comments Anika. Here are my thoughts:

Lastly, as you mentioned that you plan to split the pipeline into different functions, could you please confirm if you plan to work on this by yourself or you prefer me to take care of it? Just let me know ok?

ptrairatphisan commented 5 years ago

@anikaliu I detected a few bugs in the enrichCARNIVAL function and already corrected it plus tested with CARNIVAL Example 3 - see commits.

Could you have a final look and run a small final test then merge the script to the master branch? Thanks!

anikaliu commented 5 years ago

@ptrairatphisan Thanks, will do!