getGeneVals: Get all probes related to a gene

Description Usage Arguments Value Examples

View source: R/ResultSet_getGeneVals.R

Description

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

Usage

1
2
3
4
5
6
7
8
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

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

## End(Not run)

isglobal-brge/MEAL documentation built on May 8, 2021, 8:05 p.m.