Description Usage Arguments Value
This performs a similar task to the Bump-Hunting algorithm,
but here the meth
argument is a putative bump. The
residuals of the null model are shuffled added back to the
null model and the beta's of that simulated data are
repeatedly stored and finally compare to the observed
coefficient. Due to the shufflings, this is much slower
than the other functions in this package.
1 |
formula |
an R formula containing "methylation" |
covs |
covariate data.frame containing the terms in formula except "methylation" which is added automatically |
meth |
a matrix of correlated data. |
weights |
optional weights matrix of same shape as meth |
n_sims |
this is currently used as the minimum number of shuffled data sets to compare to. If the p-value is low, it will do more shufflings |
mc.cores |
sent to mclapply for parallelization |
list(covariate, p, coef)
where p and coef are for
the coefficient of the first term on the RHS of the model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.