elementNames
Class: bioma.data.ExptData
Namespace: bioma.data
Retrieve or set element names of DataMatrix objects in ExptData object
Syntax
ElmtNames
= elementNames(EDObj
)
ElmtNames
= elementNames(EDObj
, Subset
)
NewEDObj
= elementNames(EDObj
, Subset
, NewElmtNames
)
Description
returns
a cell array of character vectors specifying the element names of
all the data elements (DataMatrix objects) stored in an ExptData object.ElmtNames
= elementNames(EDObj
)
returns
a cell array of character vectors specifying the element names of
a subset of the data elements (DataMatrix objects) stored in an ExptData
object. ElmtNames
= elementNames(EDObj
, Subset
)
replaces
the element names of the data elements (DataMatrix objects) specified
by NewEDObj
= elementNames(EDObj
, Subset
, NewElmtNames
)Subset
in EDObj
,
an ExptData object, with NewElmtNames
,
and returns NewEDObj
, a new ExptData object.
Input Arguments
|
Object of the |
|
One of the following to specify the element names of a subset of the data elements (DataMatrix objects) in an ExptData object:
|
|
New element names for specific data elements (DataMatrix objects) within an ExptData object, specified by one of the following:
The number of elements in |
Output Arguments
|
Cell array of character vectors specifying the element names of all or some of the data elements (DataMatrix objects) in an ExptData object. |
|
Object of the |
Examples
Construct an ExptData object, and then retrieve the element names of DataMatrix objects from it:
% Import the bioma.data namespace to make constructor functions % available import bioma.data.* % Create DataMatrix object from .txt file containing % expression values from microarray experiment dmObj = DataMatrix('File', 'mouseExprsData.txt'); % Construct ExptData object EDObj = ExptData(dmObj); % Retrieve element names of DataMatrix objects ENames = elementNames(EDObj);