makeIdeogram {GenomeGraphs} | R Documentation

## Creates object of class Ideogram

### Description

Creates object of class Ideogram

### Usage

    makeIdeogram(chromosome, dp = NULL)

### Arguments

`chromosome` | Chromosome to represent (currently human only)
`dp` | Display parameters such as color and size

### Value

Object of class Ideogram

### Author(s)

Jim Bullard and Steffen Durinck

### References

~put references to the literature/web site here ~

### See Also

`gdPlot`

### 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 (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)
      }

[Package GenomeGraphs version 1.2.3 Index]