trackViewer (version 1.8.4)

trackViewerStyle-class: Class "trackViewerStyle"

Description

An object of class "trackViewerStyle" represents track viewer style.

Usage

"setTrackViewerStyleParam"(tvs, attr, value)

Arguments

tvs
An object of trackViewerStyle.
attr
the name of slot to be changed.
value
values to be assigned.

Objects from the Class

Objects can be created by calls of the form new("trackViewerStyle", margin, xlas, xgp, xaxis, autolas, flip).

constructor

trackViewerStyle(...): Each argument in ... becomes an slot in the new trackViewerStyle.

Slots

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
xgp
A "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

Methods

setTrackViewerStyleParam
change the slot values of an object of trackViewerStyle

Examples

Run this code
    tvs <- trackViewerStyle()
    setTrackViewerStyleParam(tvs, "xaxis", TRUE)

Run the code above in your browser using DataLab