View source: R/extendedSENIORrule.R
extendedSENIORrule | R Documentation |
This function checks whether a molecular formula follows the extended SENIOR rule.
extendedSENIORrule(mol_vec, valence_vec, ionization_correction = 0)
mol_vec |
A vector of the deconvoluted molecular formula |
valence_vec |
A vector of the valences from the molecular formula. Valences may be acquired from the 'IUPAC_Isotopes' data. |
ionization_correction |
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. |
rule2 |
TURE for when the molecular formula passes the rule and FALSE for when the molecular formula fails to pass the rule. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.