R/offsetfun.R

Defines functions offsetfun

offsetfun <-
function(Offset=0, targets){

  if(Offset > 0){
    ranges(targets) <- ranges(targets) + Offset
    targets <- reduce(targets)
  }
  return(targets)
}
hummelma/TEQC documentation built on March 22, 2021, 9:45 a.m.