rc.plot.line: Plot Line

Description Usage Arguments Details Author(s) See Also Examples

Description

Plot lines at designated position.

Usage

1
2
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.

Author(s)

Minghui Wang <m.h.wang@live.com>

See Also

rc.plot.histogram, rc.plot.track

Examples

1
#This is not to be run alone. Please see tutorial vignette("netweaver") for usage.

Example output



NetWeaver documentation built on May 2, 2019, 11:26 a.m.