context("test creating sorted taxonomy matrix")
test_that("test create taxnomy matrix for a list of taxon names", {
nameList <- c(
9606, "fungiblabla", "mammalia", "Cryptococcus neoformans"
)
out <- sortTaxonomyMatrix(nameList, refspec = "mammalia")
expect_true(nrow(out) == 3)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.