See https://www.kegg.jp/kegg/rest/keggapi.html#ddi for details.
Arguments
- ...
Arguments passed on to
kegg_query
operation
Character: one of the KEGG REST API operations.
Value
Data frame (tibble) of four columns with names "drug_a", "drug_b", "interaction" and "mechanism".
Examples
kegg_ddi(c("D00564", "D00100", "D00109"))
#> # A tibble: 4 × 4
#> drug_a drug_b interaction mechanism
#> <chr> <chr> <chr> <chr>
#> 1 dr:D00100 dr:D00564 CI,P unclassified
#> 2 dr:D00109 dr:D00564 P unclassified
#> 3 dr:D00564 dr:D00100 CI,P unclassified
#> 4 dr:D00564 dr:D00109 P unclassified