# NOT RUN {
data(adduct_rules)
data(adducts)
structure = 'OC[C@H]1OC(O)[C@H](O)[C@H](O)[C@H]1O'
doAdduct(structure = structure, formula="C6H12O6", charge=0,
adduct_table=adducts, query_adduct="[M+H]1+")
# }
Run the code above in your browser using DataLab