View source: R/core_functions.R
get_kegg_reaction_info | R Documentation |
Get basic KEGG reaction and KO info in a unified format
get_kegg_reaction_info(
kos_to_rxns_method,
reaction_info_file = "",
save_out = T,
kolist = ""
)
kos_to_rxns_method |
EITHER "KEGGREST" indicating to use the KEGGREST API to link KOs and reactions and get reaction info, OR a file path to the KEGG file genes/ko/ko_reaction.list |
reaction_info_file |
If kos_to_rxns_method is a file path, additional file containing full reaction info from the KEGG database |
save_out |
whether to save output as an Rdata file named "KeggReactions.rda" |
kolist |
Optionally, a vector of KO IDs. Will create an all_kegg object containing information only on those KOs and the reactions linked to them. |
An R object with 4 components: a list of KOs, a list of Reaction IDs, a list of associated reaction info, and a table linking KOs to reactions
get_kegg_reaction_info("KEGGREST")
get_kegg_reaction_info("KEGG/genes/ko/ko_reaction.list", "KEGG/ligand/reaction/reaction")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.