Applies HRMF to every compound in an MSP file that has a
chemical formula annotation.
Usage
getHRMF(
file,
charge = 1,
adduct = NULL,
mass_accuracy = 5,
intensity_cutoff = 1,
IR_RelAb_cutoff = 1
)Arguments
- file
character. Path to an MSP file.
- charge
integer. Charge state (see
HRMF). Default 1. Ignored whenadductis supplied.- adduct
character vector of adduct names or named numeric vector of custom mass deltas (see
HRMF). Default NULL.- mass_accuracy
numeric. Mass accuracy in ppm. Default 5.
- intensity_cutoff
numeric. Minimum absolute intensity. Default 1.
- IR_RelAb_cutoff
numeric. Relative abundance cutoff (%) for theoretical isotopologues. Default 1.