Description Usage Arguments Value Author(s) References Examples
View source: R/is.generic.rhea.R
Generic reaction is a reaction with at least one compound class as reaction participant (e.g., a primary alcohol + NADP -> an aldehyde + H(+) + NADPH). This function checks if given reaction is generic reaction
1 | is.generic.rhea(equation,chebi_df,id_col,parent_col,formula_col,direction_type)
|
equation |
Reaction equation usually generated by get.rhea.all() function. |
chebi_df |
Chemial table data.frame() containing molecular formula and parent compound |
id_col |
In chemical table, choose the column name which contains chemical id (usually first column) |
parent_col |
In chemical table, choose the column name which contains parent compound ("parent" in chebi) |
formula_col |
In chemical table, choose the column name which contains molecular formula |
direction_type |
In reaction equation, provide reaction direction symbols. Default is c(' <\\?> ', ' <=> ', ' => ') |
Logical TRUE/FALSE
Byoungnam Min <mbnmbn00@gmail.com>, Byeonghyuk Park, Kyoung Heon Kim and In-Geol Choi
Rhea: http://www.ebi.ac.uk/rhea
ChEBI: http://www.ebi.ac.uk/chebi
1 2 3 4 5 6 7 8 9 10 | data(example) # Load example
chebi = example$chebi
rhea_generic = example$rhea_generic$equationWithChebi
rhea_massbal = example$rhea_massbal
rhea = c(rhea_generic, rhea_massbal)
# Check generic reaction
is.generic.rhea(rhea, chebi, id_col='chebi', parent_col='parent',
formula_col='formula', direction_type=c(' <=> ', ' <\\?> ', ' => '))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.