setFeatures {geneExpression} R Documentation

set new gene id list to the matrix rows

Description

Usage

setFeatures(x, gene.ids);

Arguments

x

target gene expression matrix object

gene.ids

a collection of the new gene ids to set to the feature rows of the gene expression matrix. [as string]

env

the R# runtime environment object. [as Environment]

Details

it is kind of rownames liked function for dataframe object.

Authors

phenotype_kit

Value

the input matrix object that the gene id of each feature row has been modified;

if the size of the given gene id vector is not equals to the feature row numbers of the input matrix, or the input x object is not a valid gene expression matrix object, then a R# error message object will be returned.

clr value class

Examples


[Package geneExpression version 1.0.0.0 Index]