As discussed in https://github.com/rformassspectrometry/CompoundDb/issues/99, it'd be nice to have a formula2mz function that, given a list of molecular formulas and a list of adducts, calculates a matrix of the corresponding mz's using calculateMass and mass2mz
As discussed in https://github.com/rformassspectrometry/CompoundDb/issues/99, it'd be nice to have a
formula2mz
function that, given a list of molecular formulas and a list of adducts, calculates a matrix of the corresponding mz's usingcalculateMass
andmass2mz