inst/unitTests/test_VariantFilteringParam-methods.R

test_VariantFilteringParam <- function() {

  CEUvcf <- file.path(system.file("extdata", package="VariantFiltering"), "CEUtrio.vcf.bgz")
  CEUped <- file.path(system.file("extdata", package="VariantFiltering"), "CEUtrio.ped")
  vfpar <- VariantFilteringParam(CEUvcf, CEUped, snpdb=character(0),
                                 otherAnnotations=character(0))

  checkTrue(class(get(vfpar$bsgenome)) == "BSgenome")
  checkTrue(class(get(vfpar$orgdb)) == "OrgDb")
  checkTrue(class(get(vfpar$txdb)) == "TxDb")
}

Try the VariantFiltering package in your browser

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

VariantFiltering documentation built on Nov. 8, 2020, 7:25 p.m.