Object ccCellGeom will call the function circlize::circos.lines while drawing.
Arguments
- x
Data points on x-axis, measured in "current" data coordinate.
- y
Data points on y-axis, measured in "current" data coordinate.
- col
Line color.
- lwd
Line width.
- lty
Line style.
- type
Line type, similar as
type
argument inlines
, but only inc("l", "o", "h", "s")
- straight
Whether draw straight lines between points.
- area
Whether to fill the area below the lines. If it is set to
TRUE
,col
controls the filled color in the area andborder
controls color of the line.- area.baseline
deprecated, use
baseline
instead.- border
color for border of the area.
- baseline
The base line to draw areas. By default it is the minimal of y-range (bottom). It can be a string or a number. If a string, it should be one of
bottom
andtop
. This argument also works iftype
is set toh
.- pt.col
If
type
is "o", point color.- cex
If
type
is "o", point size.- pch
If
type
is "o", point type.
Value
Object ccCellGeom
Examples
library(circlizePlus)
sectors <- letters[1:9]
par <- ccPar(points.overflow.warning = FALSE)
cc <- ccPlot(sectors = sectors, xlim = c(0, 10))
cc <- cc + par
track <- ccTrack(sectors = sectors, ylim = c(0, 10), track.height = 0.5)
cells <- ccCell(sector.index = "a") + ccLines(sort(x = runif(10) * 10), y = runif(10) * 10)
track <- track + cells
cc + track