R/create.pos.R

Defines functions create.pos

Documented in create.pos

create.pos <-
function(chr, start, end, pos) {

  if(is.null(chr)) {
    pos = list(cbind(start, end))
    names(pos) = chr
  } # if(is.null(chr))

  return(pos)
}

Try the SNPtools package in your browser

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

SNPtools documentation built on May 29, 2017, 3:12 p.m.