test_that("SummarizedExperiment", {
object <- rse
x <- droplevels2(object)
expect_s4_class(x, "RangedSummarizedExperiment")
## Check for factor columns.
ok <- any(vapply(
X = decode(rowData(x)),
FUN = is.factor,
FUN.VALUE = logical(1L)
))
expect_true(ok)
ok <- any(vapply(
X = decode(colData(x)),
FUN = is.factor,
FUN.VALUE = logical(1L)
))
expect_true(ok)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.