Description Usage Arguments Details Value Examples
A helper function for converting names/synonyms to EC numbers.
1 | 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).
1 2 3 | 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.