tests/testthat/test_DAGtest.R

test_that("test_testDAU_group", {
    bg <- buildBackgroundModel(seq.example, proteome = proteome.example, 
        numSubsamples = 10L)
    t <- testDAU(seq.example, bg)
    expect_true(t@statistics["K", "AA0"] > 100)
    expect_equal(0, t@pvalue["K", "AA0"])
})
jianhong/dagLogo documentation built on Nov. 5, 2024, 7:46 a.m.