Description Usage Arguments Value
View source: R/empirical_pval.R
This function permutes the coefficient of interest and re-runs
get_tstats
and regionFinder
for each permutation.
Code for permutations copied from the dmrseq
function from the package
of the same name.
1 2 3 4 5 6 7 8 9 10 11 12 13 | empirical_pval(
presa,
design,
rforiginal,
coeff,
cont,
smooth,
maxPerms = 10,
Q,
maxGap,
method,
...
)
|
presa |
SExperiment output from |
design |
design matrix. |
rforiginal |
data.frame of DAMEs calculated with original design. |
coeff |
Coefficient of interest to permute. |
cont |
same as in |
smooth |
Boolean. |
maxPerms |
Maximum possible permutations generated. Default = 10. |
Q |
Quantile for cuttof. |
maxGap |
Same as other functions in the package. |
method |
lmFit method. |
... |
Passed to |
Vector of empirical p-values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.