Nothing
context("get_n_lineages")
test_that("get_n_lineages example", {
phylogeny <- ape::read.tree(text = "((a:2,b:2):1,c:3);")
testthat::expect_true(
all.equal(nLTT::get_n_lineages(phylogeny), c(2, 3)))
phylogeny$root.edge <- 2 # nolint ape variable name
testthat::expect_true(
all.equal(nLTT::get_n_lineages(phylogeny), c(1, 2, 3)))
})
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.