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/AcidPlots documentation built on March 29, 2024, 9:27 a.m.