getSmiFromKEGG: Retrieve Drug Molecules in SMILES Format from the KEGG...

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

View source: R/104-getDrugKEGG.R

Description

Retrieve Drug Molecules in SMILES Format from the KEGG Database

Usage

1

Arguments

id

A character vector, as the KEGG 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 KEGG 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 getMolFromKEGG for retrieving drug molecules in MOL format from the KEGG database.

Examples

1
2
3
id = 'D00496'  # Penicillamine

getSmiFromKEGG(id)

Rcpi documentation built on June 23, 2017, 4:40 a.m.

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