Learn R Programming

aroma.core (version 2.14.0)

plotTracks.PairedPSCNData: Plots parental specific copy numbers along the genome

Description

Plots parental specific copy numbers along the genome for one or more chromosomes. It is possible to specify what type of tracks to plot. Each type of track is plotted in its own panel.

Usage

## S3 method for class 'PairedPSCNData':
plotTracks(x, tracks=c("tcn", "dh", "tcn,c1,c2", "tcn,c1", "tcn,c2", "c1,c2", "betaN",
  "betaT", "betaTN")[1:3], pch=".", col=NULL, cex=1, grid=FALSE, xlim=NULL, Clim=c(0, 6),
  Blim=c(0, 1), xScale=1e-06, ..., add=FALSE, subplots=!add && (length(tracks) > 1),
  verbose=FALSE)

Arguments

tracks
A character vector specifying what types of tracks to plot.
pch
The type of the scatter points, if any.
col
The color of the scatter points, if any.
cex
The size of the scatter points, if any.
grid
If TRUE, horizontal lines are displayed.
xlim
(Optional) The genomic range to plot.
Clim
The range of copy numbers.
Blim
The range of allele B fractions (BAFs) and decrease of heterozygosity (DHs).
xScale
The scale factor used for genomic positions.
...
Not used.
add
If TRUE, the panels plotted are added to the existing plot, otherwise a new plot is created.
subplots
If TRUE, then subplots are automatically setup.
verbose
See Verbose.

Value

  • Returns nothing.