tests/testthat/test-statsUMI4C.R

stats_plot <- statsUMI4C(wk_dir = system.file("extdata", "CIITA",
    package = "UMI4Cats"
))


test_that("Stats plot output is correct", {
  expect_equal(class(stats_plot), c("gg", "ggplot"))
  expect_equal(length(stats_plot), 9)
})

Try the UMI4Cats package in your browser

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

UMI4Cats documentation built on Dec. 31, 2020, 2:01 a.m.