pathway_enrichment performs hypergeometric test of enrichment of a set of genes in user-provided genesets of enricher databases
Examples
data(mini_mac)
top_genes <- mini_mac@tools$diff_exprs[["Staurosporine_10"]]$gene
data(genesets)
compute_single_enrichr(genes = top_genes, genesets = genesets, species="human")
#> Term Overlap
#> Adipogenesis Adipogenesis 5/200
#> Interferon Gamma Response Interferon Gamma Response 5/200
#> mTORC1 Signaling mTORC1 Signaling 5/200
#> Angiogenesis Angiogenesis 1/36
#> Apical Surface Apical Surface 1/44
#> Reactive Oxygen Species Pathway Reactive Oxygen Species Pathway 1/49
#> Androgen Response Androgen Response 2/100
#> Pperoxisome Pperoxisome 2/104
#> Bile Acid Metabolism Bile Acid Metabolism 2/112
#> Cholesterol Homeostasis Cholesterol Homeostasis 1/74
#> Mitotic Spindle Mitotic Spindle 3/199
#> Apical Junction Apical Junction 3/200
#> Estrogen Response Early Estrogen Response Early 3/200
#> Estrogen Response Late Estrogen Response Late 3/200
#> Inflammatory Response Inflammatory Response 3/200
#> p53 Pathway p53 Pathway 3/200
#> Xenobiotic Metabolism Xenobiotic Metabolism 3/200
#> Protein Secretion Protein Secretion 1/96
#> Interferon Alpha Response Interferon Alpha Response 1/97
#> Unfolded Protein Response Unfolded Protein Response 1/113
#> IL-2/STAT5 Signaling IL-2/STAT5 Signaling 2/199
#> Complement Complement 2/200
#> E2F Targets E2F Targets 2/200
#> Epithelial Mesenchymal Transition Epithelial Mesenchymal Transition 2/200
#> G2-M Checkpoint G2-M Checkpoint 2/200
#> Hypoxia Hypoxia 2/200
#> KRAS Signaling Up KRAS Signaling Up 2/200
#> TNF-alpha Signaling via NF-kB TNF-alpha Signaling via NF-kB 2/200
#> Spermatogenesis Spermatogenesis 1/135
#> UV Response Dn UV Response Dn 1/144
#> DNA Repair DNA Repair 1/150
#> Fatty Acid Metabolism Fatty Acid Metabolism 1/158
#> UV Response Up UV Response Up 1/158
#> Apoptosis Apoptosis 1/161
#> Glycolysis Glycolysis 1/200
#> heme Metabolism heme Metabolism 1/200
#> P.value Adjusted.P.value
#> Adipogenesis 0.5626019 0.9938373
#> Interferon Gamma Response 0.5626019 0.9938373
#> mTORC1 Signaling 0.5626019 0.9938373
#> Angiogenesis 0.5983803 0.9938373
#> Apical Surface 0.6721497 0.9938373
#> Reactive Oxygen Species Pathway 0.7112179 0.9938373
#> Androgen Response 0.7173573 0.9938373
#> Pperoxisome 0.7373165 0.9938373
#> Bile Acid Metabolism 0.7736422 0.9938373
#> Cholesterol Homeostasis 0.8469498 0.9938373
#> Mitotic Spindle 0.8776790 0.9938373
#> Apical Junction 0.8797767 0.9938373
#> Estrogen Response Early 0.8797767 0.9938373
#> Estrogen Response Late 0.8797767 0.9938373
#> Inflammatory Response 0.8797767 0.9938373
#> p53 Pathway 0.8797767 0.9938373
#> Xenobiotic Metabolism 0.8797767 0.9938373
#> Protein Secretion 0.9125226 0.9938373
#> Interferon Alpha Response 0.9147201 0.9938373
#> Unfolded Protein Response 0.9432475 0.9938373
#> IL-2/STAT5 Signaling 0.9610868 0.9938373
#> Complement 0.9619081 0.9938373
#> E2F Targets 0.9619081 0.9938373
#> Epithelial Mesenchymal Transition 0.9619081 0.9938373
#> G2-M Checkpoint 0.9619081 0.9938373
#> Hypoxia 0.9619081 0.9938373
#> KRAS Signaling Up 0.9619081 0.9938373
#> TNF-alpha Signaling via NF-kB 0.9619081 0.9938373
#> Spermatogenesis 0.9675986 0.9938373
#> UV Response Dn 0.9742425 0.9938373
#> DNA Repair 0.9778976 0.9938373
#> Fatty Acid Metabolism 0.9819787 0.9938373
#> UV Response Up 0.9819787 0.9938373
#> Apoptosis 0.9833071 0.9938373
#> Glycolysis 0.9938373 0.9938373
#> heme Metabolism 0.9938373 0.9938373
#> Genes Combined.Score
#> Adipogenesis ELMOD3;GPAM;ATP1B3;DHCR7;CAT 0.00000000
#> Interferon Gamma Response VAMP8;NMI;PTGS2;NAMPT;CIITA 0.00000000
#> mTORC1 Signaling XBP1;CTSC;NAMPT;DHCR7;SLC37A4 0.00000000
#> Angiogenesis S100A4 0.05482027
#> Apical Surface CD160 -0.03836116
#> Reactive Oxygen Species Pathway CAT -0.07015874
#> Androgen Response ACTN1;CENPN -0.10638314
#> Pperoxisome PEX11A;CAT -0.11483888
#> Bile Acid Metabolism PEX11A;CAT -0.12426327
#> Cholesterol Homeostasis DHCR7 -0.10513242
#> Mitotic Spindle SMC4;CDC42EP1;DOCK4 -0.11700205
#> Apical Junction ACTN1;CLDN18;NLGN2 -0.11602410
#> Estrogen Response Early PEX11A;XBP1;DHCR7 -0.11602410
#> Estrogen Response Late XBP1;PLXNB1;DHCR7 -0.11602410
#> Inflammatory Response NMI;NAMPT;ROS1 -0.11602410
#> p53 Pathway VAMP8;S100A4;EPHX1 -0.11602410
#> Xenobiotic Metabolism AHCY;EPHX1;CAT -0.11602410
#> Protein Secretion CTSC -0.08378043
#> Interferon Alpha Response NMI -0.08260677
#> Unfolded Protein Response XBP1 -0.06424828
#> IL-2/STAT5 Signaling XBP1;AHCY -0.05361359
#> Complement CTSC;DOCK4 -0.05276816
#> E2F Targets SMC4;CTCF -0.05276816
#> Epithelial Mesenchymal Transition MGP;PDGFRB -0.05276816
#> G2-M Checkpoint SMC4;CTCF -0.05276816
#> Hypoxia S100A4;SLC37A4 -0.05276816
#> KRAS Signaling Up PTGS2;ANXA10 -0.05276816
#> TNF-alpha Signaling via NF-kB PTGS2;NAMPT -0.05276816
#> Spermatogenesis DMC1 -0.04312421
#> UV Response Dn PDGFRB -0.03621412
#> DNA Repair EIF1B -0.03214383
#> Fatty Acid Metabolism EPHX1 -0.02733699
#> UV Response Up EPHX1 -0.02733699
#> Apoptosis PDGFRB -0.02570532
#> Glycolysis SLC37A4 -0.01119908
#> heme Metabolism CAT -0.01119908