Add lines to the plotting regions in a same track
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)
sectors |
A |
factors |
The same as |
x |
Data points on x-axis. |
y |
Data points on y-axis. |
track.index |
Index for the track. |
col |
Line color. |
lwd |
Line width. |
lty |
Line style. |
type |
Line type, similar as |
straight |
Whether draw straight lines between points. |
area |
Whether to fill the area below the lines. If it is set to |
area.baseline |
Deprecated, use |
baseline |
The base line to draw area, pass to |
border |
Color for border of the area. |
pt.col |
If |
cex |
If |
pch |
If |
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
.
# There is no example NULL
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.