tests/testthat/test_plotting.R

context("Plotting functions")

test_that("image,MSnSet-method", {
              data(naset)
              par(mfrow = c(1, 2))
              expect_is(image(naset), "gg")
              expect_null(image2(exprs(naset)))
              dev.off()
          })

Try the MSnbase package in your browser

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

MSnbase documentation built on Jan. 23, 2021, 2 a.m.