Description Usage Arguments Value Examples
Windowed mean smoother
1 | meanSmoother(x, k = 1, iter = 2, na.rm = TRUE)
|
x |
Input data matrix where samples are columns and regions/loci are rows |
k |
The number of windows to use (k=1 is 3 windows and k=2 is 5 windows) |
iter |
The number of iterations to smooth |
na.rm |
Whether to remove NAs prior to smoothing |
Smoothed data matrix
1 2 | dummy <- matrix(rnorm(10000), ncol=25)
smooth.dummy <- meanSmoother(dummy)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.