tests/testthat/test_resultsDEWSeq.R

# context("resultsDEWSeq")
# test_that("resultsDEWSeq throws expected errors", {
#   set.seed(1)
#   expect_error(resultsDEWSeq(matrix(0,10,4)),
#                'object MUST be of class DESeqDataSet!')
#   data("slbpDds")
#   slbpDds <- estimateSizeFactors(slbpDds)
#   slbpDds <- estimateDispersions(slbpDds)
#   slbpDds <- nbinomLRT(slbpDds,reduced = ~1)
#   expect_error(resultsDEWSeq(slbpDds),
#               'this function do not support likelihood ratio test!')
# })

Try the DEWSeq package in your browser

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

DEWSeq documentation built on Nov. 28, 2020, 2:01 a.m.