metaGeneMatrix {groHMM} | R Documentation |
Supports parallel processing using mclapply in the 'parallel' package. To change the number of processors, use the argument 'mc.cores'.
metaGeneMatrix(features, reads, size = 50, up = 1000, down = up, debug = FALSE, ...)
features |
A GRanges object representing a set of genomic coordinates. |
reads |
A GRanges object representing a set of mapped reads. |
size |
The size of the moving window. |
up |
Distance upstream of each f to align and histogram Default: 1 kb. |
down |
Distance downstream of each f to align and histogram Default: same as up. |
debug |
If set to TRUE, provides additional print options. Default: FALSE |
... |
Extra argument passed to mclapply |
Returns a vector representing the 'typical' signal across genes of different length.
Charles G. Danko and Minho Chae