ID2Enzyme | R Documentation |
A helper function for converting names/synonyms to EC numbers.
ID2Enzyme(brenda, ids)
brenda |
A |
ids |
A character vector of IDs to be converted. |
The function goes through "RECOMMENDED_NAME", "SYSTEMATIC_NAME", and
"SYNONYMS" in the BRENDA file, and uses regexes to look for the given IDs.
Values in the three columns are kept if the regex had a hit, otherwise NA is
filled. The function can take in IDs of multiple sources, e.g. c("ADH4", "CD38", "pyruvate dehydrogenase")
. Note that using aliases instead of
symbols could lead to false positives in the output table.
A tibble with columns ID, EC, and at least one of (RECOMMENDED_NAME, SYSTEMATIC_NAME and SYNONYMS).
df <- ReadBrenda(system.file("extdata", "brenda_download_test.txt", package = "brendaDb")) ID2Enzyme(df, c("CD38", "ADH4", "pyruvate dehydrogenase"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.