tests/testthat/test-lfcThreshold.R

test_that("DESeqAnalysis", {
    object <- objs[["deseq"]]
    value <- metadata(object@results[[1L]])[["lfcThreshold"]]
    expect_type(value, "integer")
    lfcThreshold(object) <- NULL
    expect_identical(lfcThreshold(object), value)
    value <- 1L
    lfcThreshold(object) <- value
    expect_identical(lfcThreshold(object), value)
})
acidgenomics/DESeqAnalysis documentation built on March 27, 2024, 10:32 p.m.