plotRegions {cn.farms} | R Documentation

## Plots given regions by segments

### Description

A pdf in the working directory is produced.

### Usage

    plotRegions(object, segments, addInd = NULL, ylim, variable,
      colorVersion = 0, plotLegend = TRUE, pdfname)

### Arguments

`object` | An instance of `ExpressionSet`
`segments` | An instance of `ExpressionSet` with the segments to plot
`addInd` | States how many indices should be plotted besides the region
`ylim` | The limits for the y axis.
`variable` | States which variable of the assayData should be plotted.
`colorVersion` | States different color versions.
`plotLegend` | If a legend should be plotted or not.
`pdfname` | The name of the pdf file.

### Value

A graph. Normally a pdf in the current work directory.

### Author(s)

Djork-Arne Clevert okko@clevert.de and Andreas Mitterecker mitterecker@bioinf.jku.at

### Examples

    load(system.file("exampleData/slData.RData", package = "cn.farms"))
    load(system.file("exampleData/testSegments.RData", package = "cn.farms"))
    plotRegions(slData, testSegments, addInd = 10, ylim = c(-2, 2),
            variable = "L_z", colorVersion = 1, plotLegend = TRUE,
            pdfname = "slData.pdf")

[Package cn.farms version 1.42.0 Index]