computeRDAR2: Compute signification of RDA test

Description Usage Arguments Value

View source: R/computeRDAR2.R

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

1
2
3
4
5
6
7
8
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.


isglobal-brge/MEAL documentation built on May 8, 2021, 8:05 p.m.