getPcId: Search Pubchem CID

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/webAccess.R

Description

Retrieves PubChem CIDs for a search term.

Usage

1
getPcId(query, from = "inchikey")

Arguments

query

ID to be converted

from

Type of input ID

Details

Only the first result is returned currently. The function should be regarded as experimental and has not thoroughly been tested.

Value

The PubChem CID (in string type).

Author(s)

Michael Stravs, Erik Mueller

References

PubChem search: http://pubchem.ncbi.nlm.nih.gov/

Pubchem REST: https://pubchem.ncbi.nlm.nih.gov/pug_rest/PUG_REST.html

See Also

getCtsRecord, getCactus

Examples

1
getPcId("MKXZASYAUGDDCJ-NJAFHUGGSA-N")

sneumann/RMassBank documentation built on Oct. 20, 2020, 3:19 p.m.