GenericArray-class {GenomeGraphs} | R Documentation

## Class "GenericArray", representing array data

### Description

The Generic Array class is a class that can be used to create plots from array data such as microarrays and arrayCGH platforms. It can represent, the data as line plots or dot plots and segments can be included as well

### Objects from the Class

Objects can be created by calls of the form `new("GenericArray", ...)`.

### Slots

`intensity`:
  Object of class `"matrix"`, matrix containing the intensities of expression or cgh data. Rows should be probes, columns samples
`probeStart`:
  Object of class `"numeric"`, start position of the probes
`probeEnd`:
  Object of class `"numeric"`, end position of the probes if available
`type`:
  Object of class `"character"`, has two values: line and point. If line is selected then a line will be plotted for each sample. If point is selected. points will be plotted.
`segments`:
  Object of class `"list"`, if segments are available they have to be represented as a list, each position in the list should correspond to each sample as defined by the columns of the intensity matrix
`segmentStart`:
  Object of class `"list"`, containing the start positions of the segments
`segmentEnd`:
  Object of class `"list"`, containing the end positions of the segments
`color`:
  Object of class `"character"`, represents the color to be used to plot the intensity matrix, can be a vector of colors for multiple samples
`lty`:
  Object of class `"character"`,if line is selected as type, lty specifies which line type should be used. Can be a vector of line types for multiple samples
`pch`:
  Object of class `"numeric"`, if point is selected as type then pch represents which symbol should be used to plot the points
`pointSize`:
  Object of class `"numeric"`, specifies the point size if point is selected as type
`lwd`:
  Object of class `"numeric"`, specifies the line width if line is selected as type. Can be a vector of line widths if multple samples are present
`size`:
  Object of class `"numeric"` representing the size of the Array plot in the final plot
`segmentColor`:
  Object of class `"character"`. If segments are to be plotted, this will define the color of the segment lines

### Methods

show
  `signature(object = "GenericArray")`: ...

### Author(s)

Steffen Durinck

### References

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

### See Also

objects to See Also as `gdPlot`

### Examples

    if(interactive()){
    data("exampleData", package="GenomeGraphs")

    minbase <- 180292097
    maxbase <- 180492096
    ideog <- new("Ideogram", chromosome = "3")
    expres <- new("GenericArray", intensity = intensity, probeStart = exonProbePos,
                  dp = DisplayPars(color="darkred", type="point"))
    gdPlot(list(ideog, expres), minBase = minbase, maxBase =maxbase)
    }

[Package GenomeGraphs version 1.4.1 Index]