tests/testthat/test_plots.R

library("gemini")

test_that("plots are working", {
    data("Model", package = "gemini")
    gg = gemini_plot_mae(Model)
    testthat::expect_is(object = gg, class = "ggplot")
    
    gg2 = gemini_boxplot(Model, g = "BRCA1", h = "BRCA2", nc_gene = "CD81", sample = "A549")
    testthat::expect_is(object = gg2, class = "ggplot")
})

Try the gemini package in your browser

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

gemini documentation built on Nov. 8, 2020, 8:22 p.m.