trackViewerStyle-class {trackViewer} | R Documentation

## Class `"trackViewerStyle"`

### Description

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

### Usage

    trackViewerStyle(...)

    setTrackViewerStyleParam(tvs, attr, value)

    ## S4 method for signature 'trackViewerStyle,character'
    setTrackViewerStyleParam(tvs, attr,
      value)

### Arguments

`...` | Each argument in ... becomes an slot in the new trackViewerStyle.
`tvs` | An object of `trackViewerStyle`.
`attr` | the name of slot to be changed.
`value` | values to be assigned.

### 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

### Examples

    tvs <- trackViewerStyle()
    setTrackViewerStyleParam(tvs, "xaxis", TRUE)

[Package trackViewer version 1.18.3 Index]