Learn R Programming

groHMM (version 1.6.0)

metaGene_nL: Returns a histogram of the number of reads in each section of a moving window of #' variable size across genes.

Description

Supports parallel processing using mclapply in the 'parallel' package. To change the number of processors, use the argument 'mc.cores'.

Usage

metaGene_nL(features, reads, n_windows = 1000, debug = FALSE, ...)

Arguments

features
A GRanges object representing a set of genomic coordinates.
reads
A GRanges object representing a set of mapped reads.
n_windows
The number of windows to break genes into.
debug
If set to TRUE, provides additional print options. Default: FALSE
...
Extra argument passed to mclapply

Value

Returns a vector representing the 'typical' signal across genes of different length.