R/PeakML.Methods.getRTWindow.R

Defines functions PeakML.Methods.getRTWindow

Documented in PeakML.Methods.getRTWindow

PeakML.Methods.getRTWindow <- function(retTime, time){
	# PRE:
	#	original retention time in sec
	# 	required window size
	# POST:
	# 	list containing the window (min, max)

	rv <- vector("list",2)
	rv[[1]]<- retTime-time
	rv[[2]]<- retTime+time
	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.