getCtsKey {RMassBank} | R Documentation

## 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).

### Author(s)

Michele Stravs, Eawag <stravsmi@eawag.ch>

### Examples

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

[Package RMassBank version 2.16.0 Index]