plotRegions: Plots given regions by segments

Description Usage Arguments Value Author(s) Examples

View source: R/plotsRegions.R

Description

A pdf in the working directory is produced.

Usage

1
2
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

1
2
3
4
5
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")

cn.farms documentation built on Nov. 8, 2020, 7:59 p.m.