Description Usage Arguments Value Examples
Extracts information from KEGG for a given drug or compound of interest using the KEGG REST API. The POST request is done using the 'httr' package. Given that this is a character vector that is unformated, it is likely unreadable and it is recommended that you run extract_info
on the output of this function.
1 | kegg_query(query_string)
|
query_string |
A character string with compound or drug name. |
The content of the POST request.
1 2 3 4 5 | Query a drug:
aspirin <- kegg_query("aspirin")
Query a compound:
nad_syn <- kegg_query("dpnh")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.