Nothing
context("PomaHeatmap")
test_that("PomaHeatmap works", {
data("st000284")
data("st000336")
a <- PomaHeatmap(st000284, sample_names = TRUE, feature_names = FALSE, show_legend = TRUE)
b <- PomaHeatmap(st000284, sample_names = FALSE, feature_names = FALSE, show_legend = FALSE)
c <- PomaHeatmap(st000336, sample_names = TRUE, feature_names = TRUE, show_legend = TRUE)
d <- PomaHeatmap(st000336, sample_names = FALSE, feature_names = TRUE, show_legend = FALSE)
##
expect_equal(class(a), class(b))
expect_equal(class(b), class(d))
expect_false(length(a@matrix) == length(d@matrix))
expect_equal(length(a@row_order), ncol(t(Biobase::exprs(st000284))))
expect_equal(length(d@row_order), ncol(t(Biobase::exprs(st000336))))
##
expect_error(PomaHeatmap())
expect_error(PomaHeatmap(iris))
})
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.