marker-class {motifStack} | R Documentation

## Class `marker`

### Description

An object of class `"marker"` represents a marker in a motif

### Objects from the Class

Objects can be created by calls of the form `new("marker", type, start, stop, label, gp)`.

### Slots

`type`:

  character(1), 1 of 'rect', 'text', 'line'

`start`:

  numberic indicates the start position of the marker

`stop`:

  numberic indicates the end position of the marker

`label`:

  character(1) indicates the text to be marked

`gp`:

  an object of gpar

### Methods

$, $<-

  Get or set the slot of `marker`

### Examples

     new("marker", type="rect", start=c(2, 4), gp=gpar(lty=3))

[Package motifStack version 1.31.2 Index]