Learn R Programming

MEAL (version 1.2.3)

plotRDA: Plot RDA results

Description

Plot RDA results

Usage

plotRDA(object, n_feat = 5)

Arguments

object
AnalysisRegionResults
n_feat
Numeric with the number of cpgs to be highlighted.

Value

A plot is generated on the current graphics device.

Examples

Run this code
if (require(minfiData) & require(GenomicRanges)){
set <- prepareMethylationSet(getBeta(MsetEx), pheno = pData(MsetEx))
range <- GenomicRanges::GRanges(seqnames=Rle("chrY"), 
ranges = IRanges(3000000, end=12300000))
rangeNoSNPs <- DARegionAnalysis(set, variable_names = "sex", range = range)
plotRDA(rangeNoSNPs)
}

Run the code above in your browser using DataLab