summaryReadsLength: Summary the reads lengths

Description Usage Arguments Value Examples

View source: R/summaryReadsLength.R

Description

Plot the reads length distribution

Usage

1
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

1
2
3
4
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)

ribosomeProfilingQC documentation built on March 13, 2021, 2:01 a.m.