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 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")

    ## End(Not run)

[Package BridgeDbR version 2.0.2 Index]