tests/testthat/test-paraFixSites.R

test_that("The function works", {
    data(zikv_tree)
    data(zikv_align)

    zikv_paths <- addMSA(zikv_tree, alignment = zikv_align)
    zikv_entropy <- sitesMinEntropy(zikv_paths)

    expect_error(paraFixSites(zikv_entropy), NA)
    expect_error(paraFixSites(zikv_entropy, category = "union"), NA)
    expect_error(paraFixSites(zikv_entropy, category = "parallelOnly"), NA)
    expect_error(paraFixSites(zikv_entropy, category = "fixationOnly"), NA)
})

Try the sitePath package in your browser

Any scripts or data that you put into this service are public.

sitePath documentation built on April 17, 2021, 6:05 p.m.