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 Aug. 15, 2021, 9:08 a.m.