Learn R Programming

MEAL (version 1.2.3)

topRDAhits: Get the top features associated with the RDA

Description

Get a list of the features significantly associated to the first two RDA components

Usage

topRDAhits(object, pval = 0.05)

Arguments

object
AnalysisRegionResults
pval
numeric with the p-value threshold. Only features with a p-values below this threshold will be shown.

Value

data.frame with the features, the component, the correlation and the p-value

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)
topRDAhits(rangeNoSNPs)
}

Run the code above in your browser using DataLab