Learn R Programming

Tmisc (version 1.0.0)

rownames_to_symprobe: Rownames to symbol-probeID

Description

This function takes an exprs(eset) matrix where the rownames are probeset IDs and takes an annotated topTable output where you have an ID and Symbol column and outputs a character vector with symbol_probeid for each probeid in rownames(exprs(eset)). You can use this such that the output on a heatmap contains the gene names concatenated to the probe ID in case you have multiple symbols with the same probeID.

Usage

rownames_to_symprobe(exprset, tt)

Value

Character vector of the gene symbol with the probe ID.

Arguments

exprset

The output of exprs(eset).

tt

A topTable object.

Examples

Run this code
if (FALSE) {
rownames_to_symprobe(esprs(eset), topTable(fit, number=nrow(fit)))
}
  

Run the code above in your browser using DataLab