Skip to contents

Calculate the accurate mass of a specified molecular formula.

Usage

calcAccurateMass(MF, charge = 0, element_table = elements())

Arguments

MF

the molecular formula for which to calculate the accurate mass

charge

the total charge of the specified molecular formula

element_table

elemental mass information. Defaults to elements().

Examples

calcAccurateMass('C4H5O5',charge = 0)
#> [1] 133.0137