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

Description Usage Arguments Value Author(s) Examples

View source: R/map.R

Description

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

Usage

1
map(mapper, source, identifier, target)

Arguments

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)

Value

mappings

a vector of mapped identifiers for the target data source

Author(s)

Egon Willighagen

Examples

1
2
3
4
location <- getDatabase("Mycobacterium tuberculosis")
mapper <- loadDatabase(location)
map(mapper, "L", "885041", "X")
map(mapper, "L", "885041")

BridgeDbR documentation built on Nov. 1, 2018, 3:47 a.m.