Description Usage Arguments Details Author(s) See Also Examples
Add a track of links on circos plot.
1 2 | rc.plot.link(Data, track.id, data.col=NULL, color.col = NULL,
max.lwd=1, sort.links=TRUE, arrow.length=0, arrow.angle=30, ...)
|
Data |
data.frame of at least four columns. See |
track.id |
integer, the track number for plotting. |
data.col |
integer or character string, specifies the column of data. |
color.col |
integer or character string, specifies the column of colors. |
max.lwd |
integer, maximum line width. |
sort.links |
logical, whether to re-assign link start and end positions by sorting them. See |
arrow.length |
length of the edges of the arrow head (in inches). See |
arrow.angle |
angle from the shaft of the arrow to the edge of the arrow head. See |
... |
further graphical parameters (from |
Data
must have at least four columns: Chr1
, Pos1
, Chr2
and Pos2
, specifying the chromosomes and positions for the start and end points of the links. Additional columns may be used to specify the data, color and max line width.
If data.col
is not NULL, the line width will be proportional to the values in column data.col
with the maximum line width determined by max.lwd
.
If sort.links
is true, the links originate from the same chromosome will be sorted and equally spaced to minimize crossing.
Minghui Wang <m.h.wang@live.com>
rc.plot.histogram
, rc.plot.ribbon
1 | #This is not to be run alone. Please see tutorial vignette("netweaver") for usage.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.