powered by
Calculate 'rules' for all compounds (requires iatom-ization)
countAdductRuleMatches(iatoms, adduct_rules)
Iatomcontainers with compounds
Adduct rule table (default is data(adduct_rules))
Table with all structures and if they pass the rules given for each adduct
matches,get.total.formal.charge
matches
get.total.formal.charge
# NOT RUN { iatom = smiles.to.iatom(c('OC[C@H]1OC(O)[C@H](O)[C@H](O)[C@H]1O')) data(adduct_rules) addScore <- countAdductRuleMatches(iatom, adduct_rules = adduct_rules) # }
Run the code above in your browser using DataLab