getGeneVals {MEAL} | R Documentation

## Get all probes related to a gene

### Description

Given a `ResultSet` and a gene name returns the results of the analysis of all the probes of the gene.

### Usage

    getGeneVals(
      object,
      gene,
      rid = 1,
      genecol = "genes",
      fNames = c("chromosome", "start"),
      ...
    )

### Arguments

`object` | `ResultSet`
`gene` | Character with the name of the gene
`rid` | Name of the results: "DiffMean" for mean differences, "DiffVar" for variance differences. (Default: DiffMean)
`genecol` | Character with the column of `object` fData with the gene information
`fNames` | Names of the columns of `object` fData that will be added to the results data.frame.
`...` | Further arguments passed to `getProbeResults`

### Value

data.frame with the results of the analysis of the probes belonging to the gene

### Examples

    ## Not run:
    if (require(minfiData)){
     set <- ratioConvert(mapToGenome(MsetEx[1:10,]))
    methyOneVar <- runPipeline(set, variable_names = "sex")
    getGeneVals(methyOneVar, "TSPY4")
    }

    ## End(Not run)

[Package MEAL version 1.17.4 Index]