example(SpatialExperiment, echo = FALSE)
test_that("molecules()/<- gets/sets assay(., 'molecules')", {
tmp <- spe
expect_identical(
molecules(tmp) <- assay(spe),
assay(tmp, "molecules") <- assay(spe))
expect_identical(
assayNames(tmp),
c(assayNames(spe), "molecules"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.