R/kegg.R
Helper function to convert output of keggGet to a nested data frame that is easy to work with in the tidyverse.
To unnest individual nested columns and preserve others use the .drop=FALSE
parameter in unnest
tor_fetch_kegg_details(kegg_id, unnest_single_values = TRUE, ..., quiet = FALSE)
kegg_id | one or more KEGG identifiers. Can only do 10 requests at a time (see keggGet) so if there are more than 10, splits up into multiple queries. |
---|---|
unnest_single_values | whether to unnest single values (values that have a none or only a single entry for all retrieve records) |