tests/testthat/test_extractBoundaries.R

context("test-extractBoundaries")

test_that("Whether extractBoundaries gives us the same output", {

    data("arrowhead_gm12878_5kb")

    bounds.GR <- extractBoundaries(domains.mat=arrowhead_gm12878_5kb,
                                   preprocess=FALSE,
                                   CHR=paste0("CHR",c(1:8,10:22)),
                                   resolution=5000)

    expect_equal(length(bounds.GR), 15468)

})

Try the preciseTAD package in your browser

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

preciseTAD documentation built on Nov. 8, 2020, 6:51 p.m.