Plot RDA results

Share:

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 = pData(MsetEx))
range <- GenomicRanges::GRanges(seqnames=Rle("chrY"), 
ranges = IRanges(3000000, end=12300000))
rangeNoSNPs <- DARegionAnalysis(set, variable_names = "sex", range = range)
plotRDA(rangeNoSNPs)
}

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.