# You need to load 'ChemmineOB' package before running this function.
data(example) # Load example rdata
Mc = example$metacyc.c
Mg = example$metacyc_generic$equation
names(Mc) # Check chemical table columns
# Instantiate: Not run
#instanceM = instantiate.metacyc(Mg, Mc, id_col = "UNIQUE.ID",
# parent_col = "TYPES", formula_col = "CHEMICAL.FORMULA", smiles_col
# = "SMILES", inchi_col = "INCHI", direction_type = c(" => ", " <=> "))
#print(instanceM)
Run the code above in your browser using DataLab