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