# Generated by roxytest: do not edit by hand!
# File R/show_cn_profile.R: @testexamples
test_that("Function show_cn_profile() @ L45", {
# Load copy number object
load(system.file("extdata", "toy_copynumber.RData",
package = "sigminer", mustWork = TRUE
))
p <- show_cn_profile(cn, nrow = 2, ncol = 1)
p
p2 <- show_cn_profile(cn,
nrow = 2, ncol = 1,
position = "chr1:3218923-116319008"
)
p2
expect_s3_class(p, "ggplot")
expect_s3_class(p2, "ggplot")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.