Description Usage Arguments Value
View source: R/peakCallFunctions.R
this function computes a running sum over x with a window width k (modified from S4Vectors package to work on even k, in such a case it adds a length at the end of the output Rle).
1 | evenRunSum(x, k, endrule = c("drop", "constant"), na.rm = FALSE)
|
x |
an Rle object, typically a coverage object. |
k |
window dimension for the running sum over x. |
endrule |
refer to S4Vectors::runSum. |
na.rm |
refer to S4Vectors::runSum. |
an Rle within the running sum over x with a win of length k.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.