Description Usage Arguments Details Value
Filters out null points in the matrix. Applies an average every to all the hits in the pileup.
1 | ave.filter(input, aveType)
|
input |
a list of matrices of the same dimensions required |
aveType |
The type of average. 'mean' or 'median'. |
ave.filter <-function(input,aveType){
t1 = Filter(Negate(is.null), input)
output = aaply(laply(t1, as.matrix), c(2, 3), aveType,na.rm=TRUE)
return (output)
}
A pileup of averaged values calculated from a list of matrices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.