GetChembl: Get information from ChEMBL

View source: R/api_chembl.R

GetChemblR Documentation

Get information from ChEMBL

Description

GetChembl retrieves ChEMBL ID and max clinical trial phase of drugs accordint to standard InChIKey.

Usage

GetChembl(ids, quiet = TRUE)

Arguments

ids

A vector of characters contains the InChIKey of drugs. Note: the leading and tailing whitespaces are not allowed.

quiet

A logical value. If it is TRUE, the error messages will not show during runing the function.

Details

GetChembl queries ChEMBL database via ChEMBL Web Services. The input drug identifier is standard InChIKey.

Value

A data frame contains 3 columns:

inchikey

Inputted standard InChIKey of drugs.

chembl_id

ChEMBL ID of the matched drugs.

chembl_phase

Max clinical trial phase of the matched drugs.

Author(s)

Jing Tang jing.tang@helsinki.fi Shuyu Zheng shuyu.zheng@helsinki.fi

Examples

drug.info <- GetChembl("PMATZTZNYRCHOR-CGLBZJNRSA-N")

DrugComb/TidyComb documentation built on June 22, 2022, 2:49 a.m.