plotReads: Plot compact representation of read counts on a chromosome

Description Usage Arguments Details Value Author(s) References See Also

Description

Creates an image of all read counts for a chromosome.

Usage

1
.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.

Details

The read counts (or read count ratios) are plotted as a Hilbert curve using hilbertImage.

Value

Called for its side effect.

Author(s)

Peter Humburg

References

Anders, Simon, 'Visualization of genomic data with the Hilbert curve', Bioinformatics , vol. 25, no. 10, 1231-1235 (2009).

See Also

strandPileup, hilbertImage


ChIPseqR documentation built on Nov. 8, 2020, 6:49 p.m.