View source: R/annotation_orgdb.R
map_orgdb_ids | R Documentation |
Given a couple of keytypes, this provides a quick mapping across them. I might have an alternate version of this hiding in the gsva code, which requires ENTREZIDs. In the mean time, this creates a dataframe of the mapped columns for a given set of gene ids using the in a sqlite instance.
map_orgdb_ids(orgdb, gene_ids = NULL, mapto = "ensembl", keytype = "geneid")
orgdb |
OrganismDb instance. |
gene_ids |
Gene identifiers for retrieving annotations. |
mapto |
Key to map the IDs against. |
keytype |
Choose a keytype, this will yell if it doesn't like your choice. |
a table of gene information
Keith Hughitt with changes by atb.
[AnnotationDbi]
dm_unigene_to_ensembl <- map_orgdb_ids("org.Dm.eg.db", mapto = "ensembl", keytype = "unigene")
head(dm_unigene_to_ensembl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.