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.
# S3 method for PairedPSCBS
plotTracks1(x, tracks=c("tcn", "dh", "tcn,c1,c2", "tcn,c1", "tcn,c2", "c1,c2", "betaN",
"betaT", "betaTN")[1:3], scatter="*", calls=".*", pch=".", col=NULL, cex=1,
changepoints=FALSE, grid=FALSE, quantiles=c(0.05, 0.95), xlim=NULL,
Clim=c(0, 3 * ploidy(x)), Blim=c(0, 1), xScale=1e-06, ..., add=FALSE,
subplots=!add && (length(tracks) > 1), verbose=FALSE)
Returns nothing.
A result object returned by segmentByPairedPSCBS
().
A character
vector
specifying which of the tracks should
have scatter plot.
A character
vector
of regular expression identifying
call labels to be highlighted in the panels.
The type of the scatter points, if any.
The color of the scatter points, if any.
The size of the scatter points, if any.
If TRUE
, changepoints are drawn as vertical lines.
If TRUE
, horizontal lines are displayed.
A numeric
vector
in [0,1] specifying the quantiles
of the confidence bands to be drawn, if any.
(Optional) The genomic range to plot.
The range of copy numbers.
The range of allele B fractions (BAFs) and decrease of heterozygosity (DHs).
The scale factor used for genomic positions.
Not used.
If TRUE
, the panels plotted are added to the existing plot,
otherwise a new plot is created.
If TRUE
, then subplots are automatically setup.
See Verbose
.
Henrik Bengtsson