plotRDA {MEAL} | R Documentation

## Plot RDA results

### Description

Plot RDA results

### Usage

    plotRDA(object, pheno = data.frame(), n_feat = 5, main = "RDA plot", alpha = 1)

### 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. Default: 5.
`main` | Character with the plot title.
`alpha` | Numeric with the alpha level for colour transparance. Default: 1; no transparency.

### 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.20.4 Index]