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)
}
smgogarten/GWASTools documentation built on May 18, 2024, 1:19 a.m.