tests/testthat/test-codonmat2pnps.R

data(hiv)

test_that("codonmat2pnps()", {
    expect_true(((hiv |> dnastring2codonmat())[,c(1, 2)] |>
    codonmat2pnps())["Codons"] == "91")
})
kullrich/distSTRING documentation built on Dec. 21, 2021, 8:42 a.m.