Description Usage Arguments Details Note Author(s) Examples
Create plots reflecting the location of aberrated segments. Results may be visualized over the entire genome or by chromosomes.
1 2 |
segments |
a data frame containing the segmentation results found by either |
thres.gain |
a numeric vector giving the threshold value(s) to be applied for calling gains. |
thres.loss |
a numeric vector of same length as |
pos.unit |
the unit used to represent the probe positions. Allowed options are "mbp" (mega base pairs), "kbp" (kilo base pairs) or "bp" (base pairs). By default assumed to be "bp". |
chrom |
a numeric or character vector with chromosome number(s) to indicate which chromosome(s) is (are) to be plotted. If unspecified the whole genome is plotted. |
layout |
the vector of length two giving the number of rows and columns in the plot window. Default is |
... |
other optional graphical parameters. These include the plot arguments
|
For each sample, the aberrated regions are shown in the color specified in colors[1]
(default dodgerblue) if the segment value is below thres.loss
and the color specified in colors[2]
(default red) if the segment value is above thres.gain
. Non-aberrated regions are shown in white. Each row in the plot represents a sample, while probe positions are reflected along the x-axis.
This function applies par(fig)
, and is therefore not compatible with other setups for arranging multiple plots in one device such as par(mfrow,mfcol)
.
Gro Nilsen
1 2 3 4 5 6 7 8 9 10 11 | #Load lymphoma data
data(lymphoma)
#Run pcf to obtain estimated copy number values
seg <- pcf(data=lymphoma,gamma=12)
#Plot aberrations for the entire genome
plotAberration(segments=seg,thres.gain=0.15)
#Plot aberrations for the first 4 chromosomes:
plotAberration(segments=seg,thres.gain=0.1,chrom=c(1:4),layout=c(2,2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.