tests/testthat/test-plotCountsPerFeature.R

test_that("RSE, SCE", {
    for (object in list(rse, sce)) {
        p <- plotCountsPerFeature(object)
        expect_s3_class(p, "ggplot")
    }
})

geoms <- eval(formals(`plotCountsPerFeature,SE`)[["geom"]])
test_that("geom", {
    for (geom in geoms) {
        p <- plotCountsPerFeature(rse, geom = geom)
        expect_s3_class(p, "ggplot")
    }
})
acidgenomics/minimalism documentation built on April 1, 2024, 10:34 a.m.