set.charge.formula: Set the charge to a cdkFormula object.
Description
This function set the charge to a cdkFormula
object.
It modifies as the IMolecularFormula
Java object as the
its mass.
Usage
set.charge.formula(formula, charge=-1)
Arguments
charge
The value of the charge to set.
Value
Returns the formula object with the specified charge