getMolFromCAS: Retrieve Drug Molecules in InChI Format from the CAS Database

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

Description

Retrieve Drug Molecules in InChI Format from the CAS Database

Usage

1

Arguments

id

A character vector, as the CAS drug ID.

parallel

An integer, the parallel parameter, indicates how many process the user would like to use for retrieving the data (using RCurl), default is 5. For regular cases, we recommend a number less than 20.

Details

This function retrieves drug molecules in InChI format from the CAS database. CAS database only provides InChI data, so here we return the molecule in InChI format, users could convert them to SMILES format using Open Babel (http://openbabel.org/) or other third-party tools.

Value

A length of id character vector, each element containing the corresponding drug molecule.

Author(s)

Nan Xiao <http://nanx.me>

See Also

See getDrug for retrieving drug molecules in MOL and SMILES Format from other databases.

Examples

1
2
3
id = '52-67-5'  # Penicillamine

getMolFromCAS(id)


Search within the Rcpi 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.