View source: R/show_cn_circos.R
show_cn_circos | R Documentation |
Another visualization method for copy number profile like show_cn_profile.
show_cn_circos(
data,
samples = NULL,
show_title = TRUE,
chrs = paste0("chr", 1:22),
genome_build = c("hg19", "hg38", "T2T", "mm10", "mm9", "ce11"),
col = NULL,
side = "inside",
...
)
data |
a CopyNumber object or a |
samples |
default is |
show_title |
if |
chrs |
chromosomes start with 'chr'. |
genome_build |
genome build version, used when |
col |
colors for the heatmaps. If it is |
side |
side of the heatmaps. |
... |
other parameters passing to circlize::circos.genomicHeatmap. |
a circos plot
load(system.file("extdata", "toy_copynumber.RData",
package = "sigminer", mustWork = TRUE
))
show_cn_circos(cn, samples = 1)
show_cn_circos(cn, samples = "TCGA-99-7458-01A-11D-2035-01")
## Remove title
show_cn_circos(cn, samples = 1, show_title = FALSE)
## Subset chromosomes
show_cn_circos(cn, samples = 1, chrs = c("chr1", "chr2", "chr3"))
## Arrange plots
layout(matrix(1:4, 2, 2))
show_cn_circos(cn, samples = 4)
layout(1) # reset layout
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.