map {BridgeDbR} | R 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, 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

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

[Package BridgeDbR version 1.14.0 Index]