Rdocumentation
powered by
Learn R Programming
ChIPseqR (version 1.26.0)
plotReads: Plot compact representation of read counts on a chromosome
Description
Creates an image of all read counts for a chromosome.
Usage
.plotReads(x, scale = c("total", "ratio"), log = TRUE, ...)
Arguments
x
A two column matrix with read counts (as produced by
strandPileup
).
scale
Character string indicating whether to plot the total number of reads on both strands or the ratio between them.
log
Logical indicating whether to use log read counts.
...
Further plotting arguments.
Value
Called for its side effect.
Details
The read counts (or read count ratios) are plotted as a Hilbert curve using
hilbertImage
.
References
Anders, Simon, 'Visualization of genomic data with the Hilbert curve', Bioinformatics , vol. 25, no. 10, 1231-1235 (2009).
See Also
strandPileup
,
hilbertImage