makeGeneModel {GenomeGraphs} | R Documentation

## Creates an object of class GeneModel

### Description

Creates an object of class GeneModel representing a custom annotation or gene model

### Usage

    makeGeneModel(start, end, chromosome, dp = NULL)

### Arguments

`start` | Vector of start positions for exons
`end` | Vector of end positions for exons
`chromosome` | chromosome name
`dp` | Display parametes represented as an object of class DisplayPars

### Value

Object of class GeneModel

### Author(s)

Steffen Durinck and Jim Bullard

### References

~put references to the literature/web site here ~

### See Also

`DisplayPars`

### Examples

    ##---- Should be DIRECTLY executable !! ----
    ##-- ==>  Define data, use random,
    ##--    or do  help(data=index)  for the standard data sets.

    ## The function is currently defined as
    function (start, end, chromosome, dp = NULL)
    {
        if (is.null(dp))
            dp <- getClass("GeneModel")@prototype@dp
        new("GeneModel", exonStart = start, exonEnd = end, dp = dp)
      }

[Package GenomeGraphs version 1.2.3 Index]