R/strip.quality.columns.R

Defines functions strip.quality.columns

Documented in strip.quality.columns

strip.quality.columns = function(variants) {
  qual.cols = grep("qual", colnames(variants))
  if(length(qual.cols) > 0) {
    variants = variants[,-qual.cols]
  } # if(length(qual.cols) > 0)
  return(variants)
}
dmgatti/DOQTL documentation built on April 7, 2024, 10:35 p.m.