liana_path <- system.file(package = "liana")
seurat_object <-
readRDS(file.path(liana_path , "testdata",
"input", "testdata.rds"))
# Test Cytotalk Wrap
test_that("Test Cytotalk Wrap", {
exp1 <- readRDS(file.path(liana_path, "testdata",
"output", "liana_cytotalk.RDS"))
res1 <- liana_wrap(sce = seurat_object,
method = c('cytotalk'),
resource = c('OmniPath'))
expect_equal(res1, exp1)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.