xrefExists | R Documentation |
Checks if the given identifier exists in the given mapping file
xrefExists(mapper, source, identifier, compactIdentifier)
mapper |
loaded BridgeDb identifier mapper |
source |
system code of the data source |
identifier |
identifier to be searched |
compactIdentifier |
the Bioregistry.io compact identifier to check |
boolean |
true, if the given identifier is found in the mapping database |
Egon Willighagen
## Not run:
location <- getDatabase("Bacillus subtilis")
mapper <- loadDatabase(location)
xrefExists(mapper, "L", "885041")
xrefExists(mapper, compactIdentifier="ncbigene:885041")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.