map: Converts one identifier into other identifiers for the given...

mapR Documentation

Converts one identifier into other identifiers for the given target data source.

Description

Converts one identifier into other identifiers for the given target data source.

Usage

map(mapper, source, identifier, compactIdentifier, target)

Arguments

mapper

loaded BridgeDb identifier mapper

source

system code of the data source

identifier

identifier to be converted

compactIdentifier

the Bioregistry.io compact identifier to convert

target

system code of the target data source (optional)

Value

mappings

a data frame of mapped identifiers for the target data source

Author(s)

Egon Willighagen

Examples

## Not run: 
location <- getDatabase("Bacillus subtilis")
mapper <- loadDatabase(location)
map(mapper, "L", "885041", "X")
map(mapper, "L", "885041")
map(mapper, compactIdentifier="ncbigene:885041")

## End(Not run)

egonw/BridgeDbR documentation built on July 12, 2022, 6:02 a.m.