tests/testthat/test_read.modbam2bed.R

context("read.modbam2bed")

# TODO: Re-factor read.modbam2bed() and update tests accordingly
test_that("read.modbam2bed() works for BED files", {
  infile <- system.file("extdata", "modbam2bed/ctr1.chr10.chr11.bed.gz",package = "bsseq")
  bsseq <- read.modbam2bed(files = infile,
                        colData = NULL,
                        rmZeroCov = FALSE,
                        strandCollapse = TRUE)
  expect_is(bsseq, "BSseq")
})
kasperdanielhansen/bsseq documentation built on May 9, 2024, 4:11 p.m.