# Generated by roxytest: do not edit by hand!
# File R/show_sig_exposure.R: @testexamples
test_that("Function show_sig_exposure() @ L48", {
# Load mutational signature
load(system.file("extdata", "toy_mutational_signature.RData",
package = "sigminer", mustWork = TRUE
))
# Show signature exposure
p1 <- show_sig_exposure(sig2)
p1
# Load copy number signature
load(system.file("extdata", "toy_copynumber_signature_by_W.RData",
package = "sigminer", mustWork = TRUE
))
# Show signature exposure
p2 <- show_sig_exposure(sig)
p2
expect_s3_class(p1, "ggplot")
expect_s3_class(p2, "ggplot")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.