test_that("SingleCellExperiment", {
object <- selectSamples(sce, sampleId = "sample1")
expect_identical(
object = sampleNames(object),
expected = c(sample1 = "sample1")
)
expect_identical(
object = rownames(sampleData(object)),
expected = "sample1"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.