View source: R/load_orgdb_go.R
load_orgdb_go | R Documentation |
AnnotationDbi provides a reasonably complete set of GO mappings between gene ID and ontologies. This will extract that table for a given set of gene IDs.
load_orgdb_go(orgdb = NULL)
orgdb |
OrganismDb instance. |
This is a nice way to extract GO data primarily because the Orgdb data sets are extremely fast and flexible, thus by changing the keytype argument, one may use a lot of different ID types and still score some useful ontology data.
Data frame of gene IDs, go terms, and names.
I think Keith provided the initial implementation of this, but atb messed with it pretty extensively.
AnnotationDbi GO.db magrittr
select
tbl_df
## Not run:
go_terms <- load_go_terms(org, c("a","b"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.