getSmiFromChEMBL {Rcpi} | R Documentation

## Retrieve Drug Molecules in SMILES Format from the ChEMBL Database

### Description

Retrieve Drug Molecules in SMILES Format from the ChEMBL Database

### Usage

    getSmiFromChEMBL(id, parallel = 5)

### Arguments

`id` | A character vector, as the ChEMBL 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 SMILES format from the ChEMBL database.

### Value

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

### Author(s)

Nan Xiao <https://nanx.me>

### See Also

See `getMolFromChEMBL` for retrieving drug molecules in MOL format from the ChEMBL database.

### Examples

    id = 'CHEMBL1430'  # Penicillamine

    getSmiFromChEMBL(id)

[Package Rcpi version 1.30.0 Index]