ccGenomicLines | R Documentation |
Object ccGenomicCellGeom will call the function circlize::circos.genomicLines while drawing.
ccGenomicLines(
region = NULL,
value = NULL,
numeric.column = NULL,
posTransform = NULL,
col = ifelse(area, "grey", "black"),
lwd = par("lwd"),
lty = par("lty"),
type = "l",
area = FALSE,
area.baseline = NULL,
border = "black",
baseline = "bottom",
pt.col = par("col"),
cex = par("cex"),
pch = par("pch"),
...
)
region |
A data frame contains 2 column which correspond to start positions and end positions. |
value |
A data frame contains values and other information. |
numeric.column |
Which column in |
posTransform |
Self-defined function to transform genomic positions, see |
col |
col of lines/areas. If there are more than one numeric column, the length of |
lwd |
Settings are similar as |
lty |
Settings are similar as |
type |
There is an additional option |
area |
Settings are similar as |
area.baseline |
Deprecated, use |
border |
Settings are similar as |
baseline |
Settings are similar as |
pt.col |
Settings are similar as |
cex |
Settings are similar as |
pch |
Settings are similar as |
... |
Mysterious parameters. |
Object ccGenomicCellGeom
library(circlizePlus)
data <- generateRandomBed(nr = 30, nc = 2)
all_chr <- c("chr1", "chr2", "chr3", "chr4", "chr5", "chr6", "chr7", "chr8",
"chr9", "chr10", "chr11", "chr12", "chr13", "chr14", "chr15", "chr16",
"chr17", "chr18", "chr19", "chr20", "chr21", "chr22", "chrX", "chrY")
cc <- ccPlot(initMode = "initializeWithIdeogram", plotType = NULL)
t1 <- ccGenomicTrack(data = data, numeric.column = 4)
cells1 <- ccCells(sector.indexes = all_chr) +
ccGenomicLines(numeric.column = 2)
t1 <- t1 + cells1
show(cc + t1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.