context("spPlotExtras")
##run test coloursFromTargets
test_that("check that coloursFromTargets outputs the expected result", {
###TEST1####
#run function
singlets <- getData(CIMseqSinglets_test, "counts.cpm")
output <- coloursFromTargets(col40(), singlets, rownames(singlets)[1:3])
#test
expect_is(output, c("tbl_df", "tbl", "data.frame"))
expect_type(output, "list")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.