Nothing
# markers table
markers_hs_tbl <- clustermole_markers(species = "hs")
markers_mm_tbl <- clustermole_markers(species = "mm")
# gene list
gene_names <- unique(markers_hs_tbl$gene)
gene_names <- sample(gene_names)
test_that("clustermole_overlaps() wrong input", {
expect_error(clustermole_overlaps(gene_names[1:3], species = "hs"))
expect_error(clustermole_overlaps(gene_names[1:10000], species = "hs"))
expect_error(clustermole_overlaps(c(gene_names[1:3], "X", "Y", "Z"), species = "hs"))
expect_error(clustermole_overlaps(as.list(gene_names[1:10]), species = "hs"))
})
test_that("clustermole_overlaps() human input", {
overlap_tbl <- clustermole_overlaps(genes = gene_names[1:50], species = "hs")
expect_s3_class(overlap_tbl, "tbl_df")
expect_gt(nrow(overlap_tbl), 1)
})
# gene list for mouse overrepresentation tests
gene_names <- unique(markers_mm_tbl$gene)
gene_names <- sample(gene_names)
test_that("clustermole_overlaps() mouse input", {
overlap_tbl <- clustermole_overlaps(genes = gene_names[1:50], species = "mm")
expect_s3_class(overlap_tbl, "tbl_df")
expect_gt(nrow(overlap_tbl), 1)
})
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.