This function checks whether a molecular formula follows the extended SENIOR rule.
extendedSENIORrule(mol_vec, valence_vec, ionization_correction = 0)
TURE for when the molecular formula passes the rule and FALSE for when the molecular formula fails to pass the rule.
A vector of the deconvoluted molecular formula
A vector of the valences from the molecular formula. Valences may be acquired from the 'IUPAC_Isotopes' data.
A number to compensate for the ionization losses/gains. For example, `-1` for [M+H/K/Na] ionization pathways and `+1' for [M-H] ionization pathway.