tests/testthat/test-rc.restore.qc.samples.R

test_that("RAMClustR rc.restore.qc.samples", {
  ramclustObj <- readRDS(file.path("testdata", "rc.remove.qc.rds"))
  expected <- readRDS(file.path("testdata", "rc.restore.qc.samples.rds"))
  
  actual <- rc.restore.qc.samples(ramclustObj = ramclustObj)
  
  expect_equal(actual, expected)
})

Try the RAMClustR package in your browser

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

RAMClustR documentation built on Oct. 20, 2023, 5:08 p.m.