tests/testthat/test_byExtremality.R

test_that("test='byExtremality' gives correct errors", {
    
    orig_bed <- system.file("extdata", "MCF7_Cunha_chr11p15.bed.gz",
                            package="biscuiteer")
    orig_vcf <- system.file("extdata",
                            "MCF7_Cunha_header_only.vcf.gz",
                            package="biscuiteer")
    bisc2 <- readBiscuit(BEDfile = orig_bed, VCFfile = orig_vcf,
                         merged = FALSE)
    expect_error(byExtremality(comb))
})

Try the biscuiteer package in your browser

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

biscuiteer documentation built on Nov. 8, 2020, 8:28 p.m.