Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/getCountsInWindow.R
Computes the number of reads for each fixed-width window between two limits
1 | getCountsInWindow(events, startE, endE, windowSize = 10000, sorted = FALSE)
|
events |
A vector of the read positions |
startE |
Left limit |
endE |
Right Limit |
windowSize |
Size of the window |
sorted |
Whether events is sorted, default F |
Uses hist() function
A vector of counts for each window
Jeremy J. Shen
1 | getCountsInWindow(sample(1:10000, 3000, replace=TRUE), 0, 10000, 100, FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.