Description Usage Arguments Value
Estimate variance of a trendfiltering fit by bootstrapping
1 2 3 |
Y |
A matrix of complete (not average) data for one group. |
sds |
A matrix of estimated standard deviations of |
READS |
A matrix of reads corresponding to |
pos |
Vector of positions corresponding to the rows of |
ord |
Order of trendfiltering. Can be 0, 1 or 2. |
n.rep |
Number of bootstrap samples to take. |
A list with three elements
all.fits
All of the fits from bootstrapped samples. p by n.rep matrx
avg.fit
Equivalent to rowMeans(all.fits)
var
Estimated variance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.