drug_info: Drug info

Description Usage Arguments Value Examples

View source: R/drug_info.R

Description

Given a KEGG query obtained using the kegg_query function, returns information on a chemical compound. Returned elements are drug ids for compound (when available), pathways the compound is involved in, chemical formula, and external ids (CAS, PubChem, ChEBI, and DrugBank) for compound.

Usage

1
drug_info(drug_content)

Arguments

kegg_content

The content of a KEGG query

Value

A tibble.

Examples

1
2
q <- kegg_query(query_string = "aspirin")
info <- extract_info(kegg_content = q)

diogocamacho/drugminer documentation built on July 20, 2019, 1:48 p.m.