Nothing
library(PAICE)
context("Basic test")
test_that("Testing colonization inference", {
expect_equal({
x <- colonization(CmonsData, CmonsNetwork)
x$Total[1, 1]
}, 13)
})
test_that("Testing maximum of colonization events with a few replicates", {
expect_equal({
set.seed(24)
rare <- rarecol(data = CmonsData,
network = CmonsNetwork,
replicates_field = 5,
replicates_genetic = 5,
monitor = FALSE)
max <- maxCol(rare)
c(round(x = max$Summary[1, 1],
digits = 4),
round(x = max$Summary[2, 1],
digits = 4))
}, c(34.0653, 41.1658))
})
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.