Formulae¶
- checkFormulae(formulaA, formulaB, exceptions)[source]¶
Compares two formulae for the number of elements for all optionally except the elements listed in exceptions
- USAGE
bool = checkFormulae (formulaA, formulaB, exceptions)
- INPUT
formulaA
formulaB
- OPTIONAL INPUT
exceptions – String array of metabolite abbreviation exceptions e.g. {‘H’}
- OUTPUT
bool – Boolean where 1 means the formulae match and 0 otherwise