View source: R/main.R View source: R/RcppExports.R
| calculate_avg_count | R Documentation |
This function calculates the average count within a 25kb padding around each (x, y) coordinate pair.
calculate_avg_count(x, y, counts, resol)
x |
Numeric vector of x-coordinates of contact frequency data frame. |
y |
Numeric vector of y-coordinates of contact frequency data frame. |
counts |
Numeric vector of contact frequency counts. |
resol |
Integer specifying the HiC resolution. |
A numeric vector of average counts.
x <- c(1, 2, 3, 4, 5)
y <- c(1, 2, 3, 4, 5)
counts <- c(10, 20, 30, 40, 50)
resol <- 10000
calculate_avg_count(x, y, counts, resol)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.