data(woodmouse, package="ape")
test_that("rcpp_pairwiseDeletionDNA()", {
w <- woodmouse |> dnabin2dnastring() |> as.character()
expect_true(rcpp_pairwiseDeletionDNA(dnavector=w, ncores=1)$sitesUsed[2,2]
== 962)
expect_true(rcpp_pairwiseDeletionDNA(dnavector=w, ncores=1,
symmetric=0)$sitesUsed[2,2] == 962)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.