# You need to load 'ChemmineOB' package before running this function.
data(example) # Load example data
chebi = example$chebi # Sample ChEBI
Rg = example$rhea_generic$equationWithChebi # Sample Rhea generic reaction
## Instantiate: Not run
#instanceR = instantiate.rhea(Rg, chebi, id_col = "chebi", parent_col="parent",
# formula_col="formula", smiles_col="smiles", inchi_col="inchi",
# direction_type=c(" <\\\\?> ", " <=> ", " => "))
#print(instanceR)
Run the code above in your browser using DataCamp Workspace