tests/testthat/test_motif_rc.R

context("motif_rc()")

test_that("motif reverse complement works", {

  m1 <- create_motif("AAAAA")
  m2 <- motif_rc(m1)

  expect_equal(m2@consensus, "TTTTT")

})
bjmt/universalmotif documentation built on March 18, 2024, 8:32 a.m.