context("Basic simulation framwork")
library(Biobase)
test_that("Simulation provides output", {
set.seed(42)
sim.data <- BisqueRNA::SimulateData(3,3,2,c('a','b'), c(.5,.5))
expect_match(class(sim.data$sc.eset), "ExpressionSet")
expect_match(class(sim.data$bulk.eset), "ExpressionSet")
expect("matrix" %in% class(sim.data$props),
failure_message="sim.data$props not of class matrix")
expect_match(class(sim.data$markers), "data.frame")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.