rc.plot.link: Plot Link

Description Usage Arguments Details Author(s) See Also Examples

Description

Add a track of links on circos plot.

Usage

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, ...)

Arguments

Data

data.frame of at least four columns. See Details.

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 details

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

...

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

Details

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.

Author(s)

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

See Also

rc.plot.histogram, rc.plot.ribbon

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.