computeRDAR2 {MEAL} | R Documentation

## 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(fullMat, varsmodel, covarsmodel = NULL, featNum, R2,
      num_permutations = 1e+05 - 1)

### Arguments

`fullMat` | Matrix with the whole genome expression or methylation values
`varsmodel` | Matrix with the model
`covarsmodel` | Matrix with the covariables model
`featNum` | Numeric with the number of features of the RDA model
`R2` | Numeric with the R2 of the RDA model
`num_permutations` | 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.

[Package MEAL version 1.10.1 Index]