Learn R Programming

trackViewer (version 1.8.4)

trackStyle-class: Class "trackStyle"

Description

An object of class "trackStyle" represents track style.

Arguments

Objects from the Class

Objects can be created by calls of the form new("trackStyle", tracktype, color, height, marginTop, marginBottom, xscale, yaxis, ylim, ylabpos, ylablas, ylabgp).

Slots

tracktype
"character" track type, could be peak or cluster. Default is "peak". "cluster" is not supported yet.
color
"character" track color. If the track has dat and dat2 slot, it should have two values.
height
"numeric" track height. It should be a value between 0 and 1
marginTop
"numeric" track top margin
marginBottom
"numeric" track bottom margin
xscale
object of xscale, describe the details of x-scale
yaxis
object of yaxisStyle, describe the details of y-axis
ylim
"numeric" y-axis range
ylabpos
"character", ylable postion, ylabpos should be 'left', 'right', 'topleft', 'bottomleft', 'topright' or 'bottomright'.
ylablas
"numeric" y lable direction. It should be a integer 0-3. See par:las
ylabgp
A "list" object, It will convert to an object of class gpar. This is basically a list of graphical parameter settings of y-label.