compound_info: Compound info

Description Usage Arguments Value Examples

View source: R/compound_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
compound_info(kegg_content)

Arguments

kegg_content

The content of a KEGG query

Value

A tibble.

Examples

1
2
aspirin_query <- kegg_query("aspirin")
aspirin_info <- compound_info(aspirin_query)

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