tests/testthat/test_data.R

context("Data consistence")

data(dunkley2006)

test_that("subsetting", {
  mrk <- markerMSnSet(dunkley2006)
  nm <- sum(fData(dunkley2006)$markers == "unknown")
  expect_equal(nrow(dunkley2006) - nm, nrow(mrk))
})

Try the pRoloc package in your browser

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

pRoloc documentation built on Nov. 8, 2020, 6:26 p.m.