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 June 11, 2025, 2:34 a.m.