plotRegions {cn.farms} | R Documentation |
A pdf in the working directory is produced.
plotRegions(object, segments, addInd = NULL, ylim, variable, colorVersion = 0, plotLegend = TRUE, pdfname)
object |
An instance of |
segments |
An instance of |
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. |
A graph. Normally a pdf in the current work directory.
Djork-Arne Clevert okko@clevert.de and Andreas Mitterecker mitterecker@bioinf.jku.at
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")