tests/testthat/test_mv.R

context("ggplot2 objects as outputs of MetaVolcanoR")

data(diffexplist)

test_that("MetaVolcano outputs are MetaVolcano valid objects", {
    
    mv <- votecount_mv(diffexplist)
    expect_is(mv, "MetaVolcano")
    expect_is(mv@MetaVolcano, "gg")

    mv <- combining_mv(diffexplist)
    expect_is(mv, "MetaVolcano")
    expect_is(mv@MetaVolcano, "gg")

    mv <- rem_mv(diffexplist)
    expect_is(mv, "MetaVolcano")
    expect_is(mv@MetaVolcano, "gg")

})

Try the MetaVolcanoR package in your browser

Any scripts or data that you put into this service are public.

MetaVolcanoR documentation built on Nov. 8, 2020, 7:52 p.m.