test_that("Test that list_available_cancer_types works", {
dir <- paste0("../testdata/GRETTA_example/")
# To list all types
res1 <- list_cancer_types(data_dir = dir)
expect_equal(length(res1), 33)
# To list all subtypes
res2 <- list_cancer_subtypes("Lung Cancer", data_dir = dir)
expect_equal(length(res2), 11)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.