R/turn.off.SNP.filters.R

turn.off.SNP.filters <- function(options){
  
  if(options$turn.off.filters){
    options$snp.miss.rate <- 1
    options$maf <- .0
    options$gene.R2 <- 1
    options$chr.R2 <- 1
    options$huge.gene.R2 <- 1
    options$huge.chr.R2 <- 1
    options$trim.huge.chr <- FALSE
    options$huge.gene.size <- Inf
    options$huge.chr.size <- Inf
    options$HWE.p <- 0
  }
  
  options
  
}

Try the ARTP2 package in your browser

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

ARTP2 documentation built on May 2, 2019, 3:38 p.m.