show_cn_circos {sigminer} | R Documentation |
Show Copy Number Profile in Circos
Description
Another visualization method for copy number profile like show_cn_profile.
Usage
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",
...
)
Arguments
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. |
Value
a circos plot
Examples
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
[Package sigminer version 2.3.1 Index]