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
}
andzajan/mzmatch.R documentation built on Dec. 1, 2020, 11:33 a.m.