test_that("generate data.frame from Seurat object", {
fpath <- system.file("extdata", "SeuratBC.rda", package="stJoincount")
load(fpath)
df <- dataPrepFromSeurat(seuratBC, "Cluster")
expect_type(df, "list")
})
test_that("generate data.frame from Spatial Experiment object", {
fpath <- system.file("extdata", "SpeBC.rda", package="stJoincount")
load(fpath)
df <- dataPrepFromSpE(SpeObjBC, "label")
expect_type(df, "list")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.