maps: Converts multiple identifiers into other identifiers for the...

View source: R/maps.R

mapsR Documentation

Converts multiple identifiers into other identifiers for the given target data source.

Description

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

Usage

maps(mapper, identifiers, target)

Arguments

mapper

loaded BridgeDb identifier mapper

identifiers

data frame with identifiers to be converted, with a source and a identifier column

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)
input = data.frame(
  source= c("L"),
  identifier= c("885041")
)
maps(mapper,input)

## End(Not run)

egonw/BridgeDbR documentation built on Nov. 8, 2024, 4:21 a.m.