swissLipidsMapping: SwissLipids API Mapping

Description Usage Arguments Value Author(s) Examples

View source: R/mapping.R

Description

'swissLipidsMapping' uses the SwissLipids API to perform mapping between different database identifier

Usage

1
2
3
4
5
swissLipidsMapping(
  from = c("SwissLipids", "LipidMaps", "ChEBI", "HMDB"),
  to = c("SwissLipids", "LipidMaps", "ChEBI", "HMDB", "UniProtKB", "Rhea"),
  ids
)

Arguments

from

'character' Abbrevation of data from which the ids shall be mapped

to

'character' Abbrevation of database to which the ids shall be mapped

ids

'character' A vector of IDs that shall be mapped.

Value

'data.frame' A named list of the same length as ids is returned.

Author(s)

Michael Witting

Examples

1
2
3
4
5
ids <- c("SLM:000048885", "SLM:000000651")
from <- "SwissLipids"
to <- "LipidMaps"

swissLipidsMapping(from, to, ids)

michaelwitting/SwissLipidsR documentation built on May 8, 2020, 3:38 a.m.