data("mouseData")
test_that("compute distance matrix", {
aggdat <- aggFeatures(mouseData, level = "order")
distmat <- computeDistMat(aggdat, dist_method = "bray")
expect_equal(round(sum(distmat)), 1740)
distmat <- computeDistMat(aggdat, dist_method = "euclidean")
expect_equal(round(sum(distmat)), 89262)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.