Add lines to the plotting regions in a same track
circos.trackLines(
sectors,
x, y,
track.index = get.current.track.index(),
col = par("col"),
lwd = par("lwd"),
lty = par("lty"),
type = "l",
straight = FALSE,
area = FALSE,
area.baseline = NULL,
border = "black",
baseline = "bottom",
pt.col = par("col"),
cex = par("cex"),
pch = par("pch"),
factors = sectors)
A factor
or a character vector which represents the categories of data.
The same as sectors
. It will be removed in future versions.
Data points on x-axis.
Data points on y-axis.
Index for the track.
Line color.
Line width.
Line style.
Line type, similar as type
argument in lines
, but only in c("l", "o", "h", "s")
.
Whether draw straight lines between points.
Whether to fill the area below the lines. If it is set to TRUE
, col
controls the filled color in the area and border
controls the color of the line.
Deprecated, use baseline
instead.
The base line to draw area, pass to circos.lines
.
Color for border of the area.
If type
is "o", points color.
If type
is "o", points size.
If type
is "o", points type.
The function adds lines in multiple cells by first splitting data into several parts in which
each part corresponds to one factor (sector index) and then add lines in cells by calling circos.lines
.
This function can be replaced by a for
loop containing circos.lines
.