dmNames
Class: bioma.data.ExptData
Namespace: bioma.data
Retrieve or set Name properties of
DataMatrix objects in ExptData object
Syntax
DMNames = dmNames(EDObj)
DMNames = dmNames(EDObj, Subset)
NewEDObj = dmNames(EDObj, Subset, NewDMNames)
Description
returns
a cell array of character vectors specifying the DMNames = dmNames(EDObj)Name properties
of all the DataMatrix objects in an ExptData object.
returns
a cell array of character vectors specifying the DMNames = dmNames(EDObj, Subset)Name properties
of a subset of the DataMatrix objects in an ExptData object.
replaces
the NewEDObj = dmNames(EDObj, Subset, NewDMNames)Name properties of DataMatrix objects specified
by Subset in EDObj,
an ExptData object, with NewDMNames, and
returns NewEDObj, a new ExptData object.
Input Arguments
| Object of the |
| One of the following to specify the names of a subset of the DataMatrix objects in an ExptData object:
|
| New names for specific 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 names of all or some of the DataMatrix objects in an ExptData object. |
| Object of the |
Examples
Construct an ExptData object, and then retrieve the 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 DataMatrix object names
DMNames = dmNames(EDObj);