elementData
Class: bioma.ExpressionSet
Namespace: bioma
Retrieve or set data element (DataMatrix object) in ExpressionSet object
Syntax
DMObj
= elementData(ESObj
, Element
)
NewESObj
= elementData(ESObj
, Element
, NewDMObj
)
Description
returns
the DataMatrix object from an ExpressionSet object, specified by DMObj
= elementData(ESObj
, Element
)Element
,
a positive integer or a character vector specifying an element name.
replaces
the DataMatrix object specified by NewESObj
= elementData(ESObj
, Element
, NewDMObj
)Element
in ESObj
,
an ExpressionSet object, with NewDMObj
,
a new DataMatrix object, and returns NewESObj
,
a new ExpressionSet object.
Input Arguments
|
Object of the |
|
Element (DataMatrix object) in an ExpressionSet object, specified by either of the following:
|
|
Object of the DataMatrix class.
The sample names and feature names in |
Output Arguments
|
Object of the DataMatrix class, returned from the ExptData object of an ExpressionSet object. |
|
Object of the |
Examples
Construct an ExpressionSet object, ESObj
,
as described in the Examples section
of the bioma.ExpressionSet
class reference page.
Extract a DataMatrix object from it:
% Extract first DataMatrix object ExtractedDMObj = elementData(ESObj, 1);