Usage
For the following examples, the example data can be found here: data.tar.gz . These examples are derived from webgestalt.org .
ORA Example
ora_test.py
import WebGestaltPy
res = WebGestaltPy.ora_from_files("kegg.gmt", "genelist.txt", "reference.txt")
Meta-analysis ORA Example
meta_ora_test.py
import WebGestaltPy
res = WebGestaltPy.meta_ora_from_files("kegg.gmt", ["genelist.txt", "second_genelist.txt"],
["reference.txt", "reference.txt"])
GSEA Example
Meta-analysis GSEA Example
meta_gsea_test.py
import WebGestaltPy
res = WebGestaltPy.meta_gsea_from_files("kegg.gmt", ["test.rnk", "second_test.rnk"])