fixGeneNames: Change gene names of expression data set

Description Usage Arguments Value Examples

View source: R/viper_functions.R

Description

Replaces rownames of a gene expression data set with either a character vector of replacement names, or with values in a specified column in the data table.

Usage

1

Arguments

expr

A gene expression matrix, with genes as rows and samples as columns

names

Either a character vector of the desired gene names, or the column of expr containing the desired gene names.

Value

Gene expression matrix with fixed gene names.

Examples

1
fixGeneNames(expr, 2)

danielderrick/defunctions documentation built on Aug. 4, 2017, 6:23 p.m.