getcsid: Get PubChem Substance ID's Associated With A Compound and...

Description Usage Arguments Details Value Author(s) See Also

Description

Each unique compound is associated with a number of substances. Given a CID it is possible to determine the associated substance ID's. Conversely given a SID it is useful to identify all CIDs that are associated with it

Usage

1
2
get.sid.list(cid, quiet=TRUE)
get.cid.list(sid, quiet=TRUE)

Arguments

cid

A single compound ID

sid

A single substance ID

quiet

If FALSE, output is verbose

Details

Even though PUG REST allows one to specify multiple input ID's these methods operate on single identifiers, allowing the user to parallelize multiple queries. In addition, this approach allows the package to cache results for individual input identifiers

Value

Depending on whether the input was a CID or SID, the return value is a numeric vector of SID's or a single numeric CID, respectively.

Author(s)

Rajarshi Guha rajarshi.guha@gmail.com

See Also

get.cid, get.sid, get.assay



Search within the rpubchem package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.