Nothing
context("PlotCatalog.SBS1536Catalog")
test_that("PlotCatalog.SBS1536Catalog function", {
skip_if("" == system.file(package = "BSgenome.Hsapiens.1000genomes.hs37d5"))
stopifnot(requireNamespace("BSgenome.Hsapiens.1000genomes.hs37d5"))
catalog.counts <-
ReadCatalog("testdata/regress.cat.sbs.1536.csv", ref.genome = "GRCh37",
region = "genome", catalog.type = "counts")
cat.counts <- catalog.counts[, 1, drop = FALSE]
out <- PlotCatalog(cat.counts)
expect_equal(out$plot.success, TRUE)
cat.density <-
TransformCatalog(cat.counts, target.ref.genome = "GRCh37",
target.region = "genome",
target.catalog.type = "density")
out <- PlotCatalog(cat.density)
expect_equal(out$plot.success, TRUE)
cat.counts.signature <-
TransformCatalog(cat.counts, target.ref.genome = "GRCh37",
target.region = "genome",
target.catalog.type = "counts.signature")
out <- PlotCatalog(cat.counts.signature)
expect_equal(out$plot.success, TRUE)
cat.density.signature <-
TransformCatalog(cat.counts, target.ref.genome = "GRCh37",
target.region = "genome",
target.catalog.type = "density.signature")
out <- PlotCatalog(cat.density.signature)
expect_equal(out$plot.success, TRUE)
graphics.off()
})
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.