getAssociation-methods: Method to extrat feature result from a ResultSet

Description Usage Arguments Value Examples

Description

Homologous methods from limma, getAssociation resturns a data.frame with the logFC and PValue per featrue for the selcted coef and for given result (rid).

Usage

1
getAssociation(object, rid = 1, coef = 2, contrast = NULL, fNames = NULL, ...)

Arguments

object

A ResultSet object.

rid

The name or index of the result to be extracted.

coef

(default 2) Index of the coefficient to be extracted.

contrast

(default 1) When code corresponds to a multicategorical variable, contasr selects the comparison.

fNames

(default c("chromosome", "start", "end", "genesymbol")) Corresponds to the columns selected from fData that will be incorporated into the resulting data.frame.

...

Further arguments passed to topTable

Value

A data.frame with the result of the association study, including P-Value and Fold Change.

Examples

1
2
data(rset)
getAssociation(rset, rid=1, fNames = c("chromosome", "position"))

MultiDataSet documentation built on Jan. 31, 2021, 2:01 a.m.