Learn R Programming

GenomeGraphs (version 1.32.0)

GeneModel-class: 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

Arguments

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.

References

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

See Also

objects to See Also as gdPlot

Examples

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


Run the code above in your browser using DataLab