tests/testthat/test_align.R

context("Testing alignments")

test_that("alignment", {
  expect_equal(align("ALA", "ALA", score.matrix = "BLOSUM62", type = "global")$alignment[1, 1], "A")
  expect_equal(align("ALA", "ALA", score.matrix = "BLOSUM62", type = "local")$alignment[1, 1], "A")
})
ddiez/motiftools documentation built on May 8, 2020, 11:38 a.m.