tests/testthat/test-offsets_work.R

test_that("finding offsets works", 
{
  data(chr22_anno)
  data(rpfs)
  data(offsets_df)
  testoffsets_df <- get_offsets(rpfs, chr22_anno)
  expect_equal(colnames(testoffsets_df),c('readlen','phase','p_offset'))
}
)
zslastman/RiboStan documentation built on April 6, 2024, 1:35 p.m.