Hi!
I would like to load all the pathways related to CC, MF and BP from the org.Hs.eg.db, converting into a dataset that has as columns pathway, gene_symbols.
In order that after this I filter the pathways that have genes in common with the metabolism pathways from KEGG. So that I can see which of my DGE genes in the metabolism also participate in this CC, MF and BP.
enrichGO(gene = row.names(dge_nos_leiomyo_over),
universe = row.names(dge_nos_leiomyo),
OrgDb = org.Hs.eg.db,
keyType="SYMBOL",
ont = "ALL",
pAdjustMethod = "fdr",
pvalueCutoff = 0.05,
readable = TRUE)
enrichGo gets those pathways in the internal code which I read, some of the methods seem to be very complicated such as get_GO_data(OrgDb, ont, keyType)
Is there any simple line of code that would just get all the pathways in CC, MF and BP and the gene symbols included in those into a dataset?
Thank you!
org.hs.eg.db
go
dge
enrichgo