tests/testthat/test_read_set_annotation_epic_v2.R

context("set_annotation_epic_v2()")
library(yamat)
library(minfiData)

skip_flag <- FALSE

test_that("an annotated minfi object returns TRUE", {
  testthat::skip_if(skip_flag, "Skip")
  rgset <- set_annotation_epic_v2(RGsetEx.sub)
  testthat::expect_equal(
    rgset@annotation,
    c(array = "IlluminaHumanMethylationEPICv2", annotation = "20a1.hg38")
  )
})
markgene/yamat documentation built on Aug. 26, 2024, 11:56 p.m.