R/PeakML.Methods.getPPMMass.R

Defines functions PeakML.Methods.getPPMMass

Documented in PeakML.Methods.getPPMMass

PeakML.Methods.getPPMMass <- function(mass, ppm){
	# PRE:
	#	mass of the molecule
	# 	The required ppm as a number
	# POST:
	#	measured mass wrt given ppm
	
	rv <- mass * ppm * 1e-6
	rv
}
andzajan/mzmatch.R documentation built on Dec. 1, 2020, 11:33 a.m.