Description Usage Arguments Value Author(s) References See Also Examples
View source: R/GenomeGraphs-classes.R
Creates an object of class GeneModel representing a custom annotation or gene model
1 | makeGeneModel(start, end, chromosome, dp = NULL)
|
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 |
Object of class GeneModel
Steffen Durinck and Jim Bullard
~put references to the literature/web site here ~
1 2 3 4 5 6 7 8 9 10 11 | ##---- 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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.