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).
"character" track type, could be peak or cluster.
Default is "peak". "cluster" is not supported yet.
"character" track color. If the track has dat and dat2 slot,
it should have two values.
"numeric" track height. It should be a value between 0 and 1
"numeric" track top margin
"numeric" track bottom margin
xscale, describe the details of x-scale
yaxisStyle, describe the details of y-axis
"numeric" y-axis range
"character", ylable postion, ylabpos should
be 'left', 'right', 'topleft', 'bottomleft', 'topright' or 'bottomright'.
For gene type track, it also could be 'upstream' or 'downstream'
"numeric" y lable direction. It should
be a integer 0-3. See
"list" object, It will convert to an object of
gpar. This is basically a list of graphical
parameter settings of y-label.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.