context("plotSwarm")
##run test plotSwarmGraph
test_that("check that plotSwarmGraph outputs the expected result", {
#run function
output <- plotSwarmGraph(
CIMseqSwarm_test, CIMseqSinglets_test, CIMseqMultiplets_test
)
#test
expect_type(output, "list")
expect_is(output, c("gg", "ggplot"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.