Learn R Programming

NetWeaver (version 0.0.6)

rc.plot.line: 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 Details.

track.id

a vector of integers, specifying the tracks for plotting line.

color.col

integer, specifying the column that contains the color.

custom.length

NULL or numeric, specifying line length.

arrow.length

length of the edges of the arrow head (in inches). See arrows

arrow.angle

angle from the shaft of the arrow to the edge of the arrow head. See arrows

arrow.code

integer code, determining kind of arrows to be drawn. See arrows

...

further graphical parameters (from par), such as lty and lwd.

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.

See Also

rc.plot.histogram, rc.plot.track

Examples

Run this code
# NOT RUN {
#This is not to be run alone. Please see tutorial vignette("netweaver") for usage.
# }

Run the code above in your browser using DataLab