powered by
This function takes iatomcontainer object and returns the molecular formula.
iatom.to.formula(iatoms, silent = TRUE)
list of rcdk iatomcontainers
suppress warnings?, Default: TRUE
Character vector of formulas per iatomcontainer.
get.mol2formula jcall
get.mol2formula
jcall
# NOT RUN { iatom = smiles.to.iatom(c('OC[C@H]1OC(O)[C@H](O)[C@H](O)[C@H]1O')) form = iatom.to.formula(iatom) # }
Run the code above in your browser using DataLab