trackStyle-class {trackViewer} | R Documentation |
"trackStyle"
An object of class "trackStyle"
represents track style.
Objects can be created by calls of the form
new("trackStyle", tracktype, color, height, marginTop, marginBottom,
xscale, yaxis, ylim, ylabpos, ylablas, ylabgp)
.
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'.
For gene type track, it also could be 'upstream' or 'downstream'
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.