plotReads {ChIPseqR} | R Documentation |
Creates an image of all read counts for a chromosome.
.plotReads(x, scale = c("total", "ratio"), log = TRUE, ...)
x |
A two column matrix with read counts (as produced by |
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. |
The read counts (or read count ratios) are plotted as a Hilbert curve using
hilbertImage
.
Called for its side effect.
Peter Humburg
Anders, Simon, 'Visualization of genomic data with the Hilbert curve', Bioinformatics , vol. 25, no. 10, 1231-1235 (2009).