tests/testthat/test_plotWin.R

test_that("plotWin gives a ggplot object", {
    file <- system.file("extdata", "ex1.bam", package="Rsamtools")
    win <- getStrandFromBamFile(file)
    g <- plotWin(win, groupBy = "Type")
    expect_is(g,"ggplot")
})
UofABioinformaticsHub/strandCheckR documentation built on Feb. 12, 2025, 11:15 a.m.