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")
})
sellerslab/gemini documentation built on Dec. 5, 2022, 8:56 a.m.