rc.get.coordinates: Get Coordinates

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Retrieve x and y coordinates in a track.

Usage

1
2
rc.get.trackCoordinates(track.id, Start, End, Chr=NULL, degree=NULL, trackThickness=NULL)
rc.get.coordinates(track.id, Pos, Chr=NULL, degree=NULL, innerSide=TRUE, bottomSide=TRUE)

Arguments

track.id

number of track from outermost.

Start, End

start/end position on a chromosome or since first chromosome. See Details.

Pos

a vector of positions on a chromosome or since first chromosome. See Details.

Chr

a chromosome id. See Details.

degree

the angle of the arc rotation, overwrites Start, End, Pos and Chr.

trackThickness

thickness (height) of a track.

innerSide

whether to compute coordinates on the inner side of a track. Outer side coordinates will be returned if FALSE. Used for circular layout.

bottomSide

whether to compute coordinates on the bottom side of a track. Upper side coordinates will be returned if FALSE. Used for landscape layout.

Details

If Chr is NULL, Start, End and Pos will be considered as cumulative positions since first chromosome.

Value

A list of x and y coordinates.

Author(s)

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

See Also

rc.initialize, rc.reset.params

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.