| trackViewerStyle-class {trackViewer} | R Documentation |
"trackViewerStyle"An object of class "trackViewerStyle" represents track viewer style.
## S4 method for signature 'trackViewerStyle,character,ANY'
setTrackViewerStyleParam(tvs, attr, value)
tvs |
An object of |
attr |
the name of slot to be changed. |
value |
values to be assigned. |
Objects can be created by calls of the form
new("trackViewerStyle", margin, xlas,
xgp, xaxis, autolas, flip).
trackViewerStyle(...): Each argument in ... becomes an slot in the new trackViewerStyle.
margin"numeric", specify the bottom, left, top and right
margin.
xlas"numeric", label direction of x-axis mark. It should
be a integer 0-3. See par:las
xgpA "list" object, It will convert to an object of
class gpar. This is basically a list of graphical
parameter settings of x-axis. For y-axis, see yaxisStyle
xaxis"logical", draw x-axis or not
autolas"logical" automatic determine y label direction
flip"logical" flip the x-axis or not, default FALSE
change the slot values of an object of
trackViewerStyle
tvs <- trackViewerStyle()
setTrackViewerStyleParam(tvs, "xaxis", TRUE)