R/PeakML.Methods.getRTWindowFromString.R

Defines functions PeakML.Methods.getRTWindowFromString

Documented in PeakML.Methods.getRTWindowFromString

PeakML.Methods.getRTWindowFromString <- function (lb, ub){
  rtDiff <- ub - lb
  meanRT <- (ub+lb) / 2
  rtWin <- rtDiff/2
  c(meanRT, rtWin)
}

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.