R/anomDetectBAF.R

Defines functions anomDetectBAF

Documented in anomDetectBAF

# wrapper function to segment and filter anomalies in one step

anomDetectBAF <- function(intenData, genoData, scan.ids, chrom.ids, snp.ids,
                          centromere, low.qual.ids=NULL, ...) {
  segments <- anomSegmentBAF(intenData, genoData, scan.ids, chrom.ids, snp.ids)
  anoms <- anomFilterBAF(intenData, genoData, segments, snp.ids,
                         centromere, low.qual.ids, ...)
  return(anoms)
}

Try the GWASTools package in your browser

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

GWASTools documentation built on Nov. 8, 2020, 7:49 p.m.