Learn R Programming

RMassBank (version 2.0.0)

getCSID: Retrieve the Chemspider ID for a given compound

Description

Given an InChIKey, this function queries the chemspider web API to retrieve the Chemspider ID of he compound with that InChIkey.

Usage

getCSID(query)

Arguments

query
The InChIKey of the compound

Value

Returns the chemspide

Examples

Run this code

## Not run: 
# # Return all CAS registry numbers stored for benzene.
# data <- getCtsRecord("UHOVQNZJYSORNB-UHFFFAOYSA-N")
# cas <- CTS.externalIdSubset(data, "CAS")
# ## End(Not run) 

Run the code above in your browser using DataLab