Description Usage Arguments Details Value Author(s) Examples
A three-point moving median is a very effective way of robustly removing outlier single points without removing effects in a vector that persist over more than one point.
1 |
x |
a numeric vector sorted in the order of interest (for example, chromosome order) |
This is pretty simple. The data are embedded with length=3 and then rowMedians is called.
A numeric vector the same length as the input vector.
Sean Davis <sdavis2@mail.nih.gov>
1 2 3 4 5 | x <- rnorm(100)
x[4] <- 10
summary(x)
y <- threeMedianSmooth(x)
summary(y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.