Main Content

featureVarDesc

Class: bioma.ExpressionSet
Namespace: bioma

Retrieve or set feature variable descriptions in ExpressionSet object

Syntax

DSVarDescriptions = featureVarDesc(ESObj)
NewESObj = featureVarDesc(ESObj, NewDSVarDescriptions)

Description

DSVarDescriptions = featureVarDesc(ESObj) returns a dataset array containing the feature variable names and descriptions from the MetaData object in an ExpressionSet object.

NewESObj = featureVarDesc(ESObj, NewDSVarDescriptions) replaces the feature variable descriptions in ESObj, an ExpressionSet object, with NewDSVarDescriptions, and returns NewESObj, a new ExpressionSet object.

Input Arguments

ESObj

Object of the bioma.ExpressionSet class.

NewDSVarDescriptions

Descriptions of the feature variable names, specified by either of the following:

  • A new dataset array containing the feature variable names and descriptions. In this dataset array, each row corresponds to a variable. The first column contains the variable name, and the second column (VariableDescription) contains a description of the variable. The row names (variable names) must match the row names (variable names) in DSVarDescriptions, the dataset array being replaced in the MetaData object in the ExpressionSet object, ESObj.

  • Cell array of character vectors containing descriptions of the feature variables. The number of elements in VarDesc must equal the number of row names (variable names) in DSVarDescriptions, the dataset array being replaced in the MetaData object in the ExpressionSet object, ESObj.

Output Arguments

DSVarDescriptions

A dataset array containing the feature variable names and descriptions from the MetaData object of an ExpressionSet object. In this dataset array, each row corresponds to a variable. The first column contains the variable name, and the second column (VariableDescription) contains a description of the variable.

NewESObj

Object of the bioma.ExpressionSet class, returned after replacing the dataset array containing the feature variable descriptions.