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))
})
lgatto/pRoloc documentation built on Oct. 23, 2024, 12:51 a.m.