plotReads {ChIPseqR} | R Documentation

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

### 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`

[Package ChIPseqR version 1.48.0 Index]