summaryReadsLength {ribosomeProfilingQC} | R Documentation

## Summary the reads lengths

### Description

Plot the reads length distribution

### Usage

    summaryReadsLength(reads, widthRange = c(20:35), plot = TRUE, ...)

### Arguments

`reads` | Output of getPsiteCoordinates
`widthRange` | The reads range to be plot
`plot` | Do plot or not
`...` | Not use.

### Value

The reads length distribution

### Examples

    reads <- GRanges("chr1", ranges=IRanges(seq.int(100), width=1),
                     qwidth=sample(25:31, size = 100, replace = TRUE,
                                   prob = c(.01, .01, .05, .1, .77, .05, .01)))
    summaryReadsLength(reads)

[Package ribosomeProfilingQC version 1.6.1 Index]