plotRDA {MEAL}R Documentation

Plot RDA results

Description

Plot RDA results

Usage

plotRDA(object, pheno, n_feat = 5, main = "RDA plot")

Arguments

object

ResultSet

pheno

data.frame with the variables used to color the samples.

n_feat

Numeric with the number of cpgs to be highlighted.

main

Character with the plot title.

Value

A plot is generated on the current graphics device.

Examples

if (require(minfiData)){
set <- ratioConvert(mapToGenome(MsetEx[1:10,]))
model <- model.matrix(~set$sex)
rda <- runRDA(set, model)
plotRDA(rda, pheno = data.frame(factor(set$sex)))
}

[Package MEAL version 1.10.1 Index]