R/is.gap.R

Defines functions is.gap

is.gap <- function(seq) {

  #characters allowed to be a gap
  gap <- c("-", ".", "~")

  #NA not considered as gap
  return(seq %in% gap)
}

Try the bios2mds package in your browser

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

bios2mds documentation built on April 14, 2020, 5:08 p.m.