featureNames
Class: bioma.data.ExptData
Namespace: bioma.data
Retrieve or set feature names in ExptData object
Syntax
FeatNames
= featureNames(EDObj
)
FeatNames
= featureNames(EDObj
, Subset
)
NewESObj
= featureNames(EDObj
, Subset
, NewFeatNames
)
Description
returns
a cell array of character vectors specifying all feature names in
an ExptData object. FeatNames
= featureNames(EDObj
)
returns
a cell array of character vectors specifying a subset the feature
names in an ExptData object. FeatNames
= featureNames(EDObj
, Subset
)
replaces
the feature names specified by NewESObj
= featureNames(EDObj
, Subset
, NewFeatNames
)Subset
in EDObj
,
an ExptData object, with NewFeatNames
,
and returns NewEDObj
, a new ExptData object.
Input Arguments
|
Object of the |
|
One of the following to specify a subset of the feature names in an ExptData object:
|
|
New feature names for specific feature names within an ExptData object, specified by one of the following:
The number of feature names in |
Output Arguments
|
Cell array of character vectors specifying all or some of the feature names in an ExptData object. The feature names are the row names in the DataMatrix objects in the ExptData object. |
|
Object of the |
Examples
Construct an ExptData object, and then retrieve the feature names 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 feature names FNames = featureNames(EDObj);