Description Usage Arguments Value Author(s) References See Also Examples
View source: R/GenomeGraphs-classes.R
Creates object of class Ideogram
1 | makeIdeogram(chromosome, dp = NULL)
|
chromosome |
Chromosome to represent (currently human only) |
dp |
Display parameters such as color and size |
Object of class Ideogram
Jim Bullard and Steffen Durinck
~put references to the literature/web site here ~
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ##---- 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 (chromosome, dp = NULL)
{
if (missing(chromosome))
stop("Need to specify chromosome for creating an Ideogram")
if (is.numeric(chromosome)) {
chromosome = as.character(chromosome)
}
if (is.null(dp))
dp <- getClass("Ideogram")@prototype@dp
new("Ideogram", chromosome = chromosome, dp = dp)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.