Learn R Programming

RMassBank (version 2.0.0)

getCtsKey: Convert a single ID to another using CTS.

Description

Convert a single ID to another using CTS.

Usage

getCtsKey(query, from = "Chemical Name", to = "InChIKey")

Arguments

query
ID to be converted
from
Type of input ID
to
Desired output ID

Value

An unordered array with the resulting converted key(s).

Examples

Run this code
k <- getCtsKey("benzene", "Chemical Name", "InChIKey")

Run the code above in your browser using DataLab