keggFind | R Documentation |
Finds entries with matching query keywords or other query data in a given database.
keggFind(database, query, option = c("formula", "exact_mass", "mol_weight"))
database |
Either the name of a single KEGG database (list available via
|
query |
One or more keywords, or a range of integers representing
molecular weights.
If |
option |
|
A named character vector.
Dan Tenenbaum
https://www.kegg.jp/kegg/docs/keggapi.html
res <- keggFind("genes", c("shiga", "toxin")) ## for keywords "shiga" and "toxin" length(res) head(res) res <- keggFind("genes", "shiga toxin") ## for keywords "shiga toxin" length(res) head(res) keggFind("compound", "C7H10O5", "formula") ## for chemical formula "C7H10O5" res <- keggFind("compound", "O5C7", "formula") ## for chemical formula ## containing "O5" and "C7" length(res) head(res) keggFind("compound", 174.05, "exact_mass") ## for 174.045 ## =< exact mass < 174.055 res <- keggFind("compound", 300:310, "mol_weight") ## for 300 =< ## molecular weight =< 310 length(res) head(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.