tests/testthat/test-RNA_halflife_core.R

context("BridgeRCore testing1")

test_that("testing BridgeRCore", {
  halflife_table <- BridgeRCore(RNA_halflife_comparison,
                                save = FALSE)
  expect_is(halflife_table, "data.table")
})

context("BridgeRCore testing2")

test_that("testing BridgeRCore 2", {
  halflife_table <- BridgeRCore(RNA_halflife_comparison_HK,
                                save = FALSE,
                                normalization = "house_keeping_genes",
                                method = "3models")
  expect_is(halflife_table, "data.table")
})

Try the bridger2 package in your browser

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

bridger2 documentation built on May 2, 2019, 8:14 a.m.