Nothing
#test_functions
test_that("DEGS are called from the single cell object", {
#load dummy single cell object
outdir <- paste0(tempdir(),'/degs')
sce <- readRDS(testthat::test_path("sce_obj.Rds"))
DEG_dir <- paste0(outdir, '/deseq2')
on.exit(unlink(c(DEG_dir,outdir), recursive = T))
dir.create(file.path(paste0(outdir)), showWarnings = FALSE)
DEGS_scANANSE(
sce,
min_cells = 2,
output_dir = outdir,
cluster_id = 'seurat_clusters',
RNA_count_assay = "RNA",
additional_contrasts = list('cluster1_cluster2')
)
expect_true(file.exists(
paste0(
DEG_dir,
'/',
'hg38-anansesnake_cluster1_average.diffexp.tsv'
)
))
expect_true(file.exists(
paste0(
DEG_dir,
'/',
'hg38-anansesnake_cluster2_average.diffexp.tsv'
)
))
expect_true(file.exists(
paste0(
DEG_dir,
'/',
'hg38-anansesnake_cluster3_average.diffexp.tsv'
)
))
expect_true(file.exists(
paste0(
DEG_dir,
'/',
'hg38-anansesnake_cluster1_cluster2.diffexp.tsv'
)
))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.