Learn R Programming

cn.farms (version 1.20.0)

plotEvalIc: Creates a plot with known regions and a numeric vector

Description

Creates a plot with known regions and a numeric vector

Usage

plotEvalIc(object, segments, chrom, variable, ylim, ylab = "CN indicator", stripCol = "lightgray", regionCol = rgb(130, 0, 139, maxColorValue = 255), pointSize = 0.75, pointType = 4, bandwidth = c(0.01, 1000), nbin = 100)

Arguments

object
an instance of ExpressionSet
segments
A data.frame with known regions.
chrom
the chromosome.
variable
The numeric vector which should be plotted.
ylim
the limits of the y axis.
ylab
the ylab from function par.
stripCol
color of points.
regionCol
color of regions.
pointSize
size of the points.
pointType
type of the points.
bandwidth
for the color of the plot.
nbin
number of bins for the coloring.

Value

Some data

Examples

Run this code
load(system.file("exampleData/slData.RData", package = "cn.farms"))
load(system.file("exampleData/testSegments.RData", package = "cn.farms"))
plotEvalIc(slData, fData(testSegments),
     variable = assayData(slData)$L_z[, 1], 23)

Run the code above in your browser using DataLab