GeneModel-class {GenomeGraphs} | R Documentation

## Class "GeneModel", represents a custom gene model

### Description

This class represents a custom gene model defined by exon boundaries. An example of this class could be an Affymetrix gene model used to create the Affy Exon array

### Objects from the Class

Objects can be created by calls of the form `new("GeneModel", ...)`.

### Slots

`exonStart`:

  Object of class `"numeric"`, vector containing the start positions of the exons that are to be drawn

`exonEnd`:

  Object of class `"numeric"`, vector containing the end positions of the exons that are to be drawn

`chromosome`:

  Object of class `"numeric"` , chromosome name

`dp`:

  Object of class `"DisplayPars"`, color of the exons and size of the exon model in the final plot

### Methods

No methods defined with class "GeneModel" in the signature.

### Author(s)

Steffen Durinck

### References

http://www.stat.berkeley.edu/~steffen/

### See Also

objects to See Also as `gdPlot`

### Examples

    data("unrData", package="GenomeGraphs")
    affyModel = new("GeneModel", exonStart = unrPositions[,3], exonEnd =  unrPositions[,4])
    gdPlot(list(affyModel), minBase = min(unrPositions[,3]), maxBase=max(unrPositions[,4]))

[Package GenomeGraphs version 1.42.0 Index]