trans_ID: trans_ID

Description Usage Arguments Value Author(s)

View source: R/trans_ID.R

Description

Translate metabolite ID.

Usage

1
2
3
4
5
6
7
trans_ID(
  query = "C00001",
  from = "KEGG",
  to = "PubChem SID",
  top = 1,
  server = c("cts.fiehnlab", "chemspider")
)

Arguments

query

The ID/name of metabolite you want to translate.

from

The databases of metabolites. Supported database can be shown using trans_id_database("from").

to

The databases of metabolites. Supported database can be shown using trans_id_database("to").

top

How many results should be returned?

server

server. cts.fiehnlab (http://cts.fiehnlab.ucdavis.edu/service/convert) or chemspider (https://www.chemspider.com/InChI.asmx)

Value

A data frame.

Author(s)

Xiaotao Shen shenxt1990@163.com


jaspershen/tinyTools documentation built on Nov. 10, 2021, 12:40 a.m.