summaryReadsLength: Summary the reads lengths

View source: R/summaryReadsLength.R

summaryReadsLengthR 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)

jianhong/ribosomeProfilingQC documentation built on April 15, 2024, 7:10 p.m.