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")

RMassBank documentation built on Nov. 8, 2020, 6:06 p.m.