Usage
plotMeth(aM, loci, chr, limits, samples, showNumber = TRUE, rgb = c(1, 0, 0), angle = 45, cap, add = FALSE)
Arguments
chr
The name of the chromosome to be plotted. Should correspond to a
chromosome name in the alignmentMeth
object.
limits
The start and end point of the region to be plotted.
samples
The sample numbers of the samples to be plotted. If NULL, plots all samples.
showNumber
Should the row number of each segment be shown?
rgb
The rgb code (rgb
) with which to colour the loci.
angle
The angle at which loci are shaded (see rect
).
cap
Caps the maximum level of coverage shown on the plot; thus, if a
base has been sequenced at a level greater than the cap, the data
for that base will be shown as if it has a coverage of cap.
add
If TRUE, adds the plot of methylation level to the current
plot. Defaults to FALSE.