inst/unitTests/test-run.cin.chr.R

##checking input
test_that("Input check", {

    test1 = matrix(rnorm(100*4), nrow=100, ncol=4) #test input is in matrix form

    #check input has to be GRangesList
    checkException(run.cin.chr(grl.seg = test1, thr.gain=2.25, thr.loss=1.75, V.def=3, V.mode="sum"), silent = TRUE)
})

Try the CINdex package in your browser

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

CINdex documentation built on Nov. 8, 2020, 7:23 p.m.