Query the local FooDB database for compound information
Usage
foodb_query(query, from = "name", verbose = getOption("verbose"))Value
A nested list of fields for each compound query, with available information from the FooDB database. If a query does not match any compound in the database, the corresponding output will be `NA`.
Note
When using ID types not supported by foodb_query()
(e.g., CAS number or InChIKey), first convert them to a supported ID type
using foodb_convert() before querying with foodb_query().
Examples
if (FALSE) { # \dontrun{
# single query
foodb_query("Biotin")
# multiple queries
foodb_query(c("Biotin", "Folic acid"))
} # }
