is.subformula: is.subformula.

Description Usage Arguments Details Value

Description

is.subformula will test for all elements of one chemical formula (f_sub) to be present in another (f_main).

Usage

1
is.subformula(f_sub, f_main)

Arguments

f_sub

Supposed chemical sub formula.

f_main

Supposed chemical main formula.

Details

To achieve the task formulas are split into elements and counted using CountChemicalElements.

Value

Logical indicating if f_sub is potentially a subformula of f_main.



Search within the InterpretMSSpectrum package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.