Main Content

expressions

Class: bioma.ExpressionSet
Namespace: bioma

Retrieve or set Expressions DataMatrix object from ExpressionSet object

Syntax

ExpressionsDMObj = expressions(ESObj)
NewESObj = expressions(ESObj, NewDMObj)

Description

ExpressionsDMObj = expressions(ESObj) returns the Expressions element (DataMatrix object), which contains expression values, from an ExpressionSet object.

NewESObj = expressions(ESObj, NewDMObj) replaces the Expressions element (DataMatrix object) in ESObj, an ExpressionSet object, with NewDMObj, a new DataMatrix object, and returns NewESObj, a new ExpressionSet object.

Input Arguments

ESObj

Object of the bioma.ExpressionSet class.

NewDMObj

Object of the DataMatrix class.

Output Arguments

ExpressionsDMObj

DataMatrix object containing the expression values from the Expressions DataMatrix object within an ExpressionSet object.

NewESObj

ExpressionSet object returned after replacing the Expressions DataMatrix object.

Examples

Construct an ExpressionSet object, ESObj, as described in the Examples section of the bioma.ExpressionSet class reference page. Extract the Expressions DataMatrix object from it:

% Extract expression values from Expressions DataMatrix object
ExpressionsDMObj = expressions(ESObj);