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
}

Try the mzmatch.R package in your browser

Any scripts or data that you put into this service are public.

mzmatch.R documentation built on May 31, 2017, 4:31 a.m.