tests/testthat/test-sens_spec_calc.R

test_that("sens_spec_calc is deprecated", {
    expect_snapshot({
        expect_equal(sens_spec_calc(cutoff = 2, mut_rate = 1, mean_gens_pdf = c(0.02,
            0.08, 0.15, 0.75), max_link_gens = 1)[1, "sensitivity"][[1]], 0.7357589,
            tolerance = 0.01)
    })
})

Try the phylosamp package in your browser

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

phylosamp documentation built on May 31, 2023, 5:23 p.m.