Nothing
context("divergence")
test_that("Divergence", {
skip_on_bioc()
data(dietswap)
pseq <- subset_samples(dietswap, nationality == 'AFR')
reference <- apply(abundances(pseq), 1, median)
expect_equal(divergence(reference, reference, method = "bray"), 0, tolerance = 1e-6)
expect_equal(divergence(abundances(pseq)[,1], reference, method = "bray"), 0.3449469, tolerance = 1e-4)
b <- divergence(pseq, reference, method = "bray")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.