Learn R Programming

MEAL (version 1.2.3)

RDAset: Calculate RDA for a set

Description

Perform RDA calculation for a AnalysisRegionResults. Feature values will be considered the matrix X and phenotypes the matrix Y. Adjusting for covariates is done using covariable_names stored in the object.

Usage

RDAset(set, equation = NULL)

Arguments

set
AnalysisResults
equation
Character with the equation used in the analysis

Value

Object of class rda

See Also

rda

Examples

Run this code
if (require(minfiData)){
set <- prepareMethylationSet(getBeta(MsetEx)[1:50,], pheno = pData(MsetEx))
methyOneVar <- DAPipeline(set, variable_names = "sex", probe_method = "ls")
rda <- RDAset(methyOneVar)
rda
}

Run the code above in your browser using DataLab