View source: R/collect_databases.R
| format_DO | R Documentation |
This function reformats a Disease Ontology database.
format_DO(dict = NULL, all_geneIDs = NULL, orgdb = NULL)
dict |
A res slot of enrichDO(). |
all_geneIDs |
All genes in the form of ENTREZ ID. |
orgdb |
A genome annotation package. |
A formatted database.
## Not run:
# Below may be time-consuming runs.
library(DOSE)
data(DO2EG)
dict_DO <- enrichDO(unlist(DO2EG), ont = "DO", pvalueCutoff = 1,
pAdjustMethod = "BH", minGSSize = 0, maxGSSize = 1e+10,
qvalueCutoff = 1, readable = FALSE)
human_DO <- format_DO(dict = dict_DO@result, all_geneIDs = dict_DO@gene,
orgdb = org.Hs.eg.db::org.Hs.eg.db)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.