Learn R Programming

cn.mops (version 1.18.0)

plot: Plots a CNVDetectionResult

Description

Plots read counts, call values and CNV calls in an identified CNV region.

Usage

"plot"(x, which,margin=c(10,10),toFile=FALSE)

Arguments

x
An instance of "CNVDetectionResult"
which
The index of the CNV region to be plotted.
margin
Vector of two positive integers that states how many segments left and right of the CNV region should be included in the plot. Default = c(10,10).
toFile
Logical value whether the output should be plotted to a file. Default = FALSE.

Value

Generates a CNV calling plot.