getAssociation {MultiDataSet} | R Documentation

## Method to extrat feature result from a ResultSet

### 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

    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

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

[Package MultiDataSet version 1.8.0 Index]