tests/testthat/test_plots.R

test_that("neutralitytest returns correct object", {
  expect_is(vaf_histogram(neutralitytest(VAFneutral)), "ggplot")
  expect_is(normalized_plot(neutralitytest(VAFneutral)), "ggplot")
  expect_is(lsq_plot(neutralitytest(VAFneutral)), "ggplot")
  expect_is(plot_all(neutralitytest(VAFneutral)), "ggplot")
})

Try the neutralitytestr package in your browser

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

neutralitytestr documentation built on Feb. 17, 2021, 1:08 a.m.