rc.plot.line {NetWeaver} | R Documentation |
Plot Line
Description
Plot lines at designated position.
Usage
rc.plot.line(Data, track.id, color.col=NULL, custom.length=NULL, arrow.length=0,
arrow.angle=30, arrow.code=2, ...)
Arguments
Data |
a data.frame. See |
track.id |
a vector of integers, specifying the tracks for plotting line. |
color.col |
integer, specifying the column that contains the color. |
custom.length |
|
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 |
arrow.code |
integer code, determining kind of arrows to be drawn. See |
... |
further graphical parameters (from |
Details
Data
is a data.frame, with at least two columns named 'Chr' and 'Pos', specifying the chromosomal positoins for each line in every row. An additional column can be used to specify the line color. Default line length is determined by track height.
Author(s)
Minghui Wang <m.h.wang@live.com>
See Also
rc.plot.histogram
, rc.plot.track
Examples
#This is not to be run alone. Please see tutorial vignette("netweaver") for usage.