topRDAhits: Get the top features associated with the RDA

Description Usage Arguments Value Examples

View source: R/ResultsSet_topRDAhits.R

Description

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

Usage

1
topRDAhits(object, tPV = 0.05)

Arguments

object

ResultSet

tPV

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

1
2
3
4
5
6
if (require(minfiData) & require(GenomicRanges)){
set <- ratioConvert(mapToGenome(MsetEx[1:10,]))
model <- model.matrix(~set$sex)
rda <- runRDA(set, model)
topRDAhits(rda)
}

MEAL documentation built on Nov. 1, 2018, 5:01 a.m.