plotRDA-methods: Plot RDA results

Description Usage Arguments Value Examples

Description

Plot RDA results

Usage

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

Arguments

object

AnalysisRegionResults

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

1
2
3
4
5
6
7
if (require(minfiData) & require(GenomicRanges)){
set <- prepareMethylationSet(getBeta(MsetEx), pheno = data.frame(pData(MsetEx)))
range <- GenomicRanges::GRanges(seqnames=Rle("chrY"), 
ranges = IRanges(3000000, end=12300000))
rangeNoSNPs <- DARegionAnalysis(set, variable_names = "sex", range = range)
plotRDA(rangeNoSNPs)
}

MEAL documentation built on May 31, 2017, 11:16 a.m.