map | R Documentation |
Converts one identifier into other identifiers for the given target data source.
map(mapper, source, identifier, target, compactIdentifier)
mapper |
loaded BridgeDb identifier mapper |
source |
system code of the data source |
identifier |
identifier to be converted |
target |
system code of the target data source (optional) |
compactIdentifier |
the Bioregistry.io compact identifier to convert |
mappings |
a data frame of mapped identifiers for the target data source |
Egon Willighagen
## Not run:
location <- getDatabase("Bacillus subtilis")
mapper <- loadDatabase(location)
map(mapper, "En", "BSn5_00025", "S")
map(mapper, "En", "BSn5_00025")
location <- getDatabase("Homo sapiens")
mapper <- loadDatabase(location)
map(mapper, "En", "ENSG00000139618")
map(mapper, compactIdentifier="uniprot:P51587")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.