computeRDAR2: Compute signification of RDA test
Description
Compare R2 obtained in our region of interest with the global R^2 and the R^2 of regions with
the same number of probes.
Usage
computeRDAR2(set, res, R2, nperm = 1e+06 - 1)
Arguments
set
MethylationSet or ExpressionSet
R2
Numeric with the R2 obtained in the RDA
nperm
Numeric with the number of permutations.
Value
Numeric vector with the probability of finding a region with the same number of probes
with a bigger R2 and the global R2.