sampleNames
Class: bioma.ExpressionSet
Namespace: bioma
Retrieve or set sample names in ExpressionSet object
Syntax
SamNames
= sampleNames(ESObj
)
SamNames
= sampleNames(ESObj
, Subset
)
NewESObj
= sampleNames(ESObj
, Subset
, NewSamNames
)
Description
returns
a cell array of strings specifying all sample names in an ExpressionSet
object. SamNames
= sampleNames(ESObj
)
returns
a cell array of strings specifying a subset the sample names in an
ExpressionSet object. SamNames
= sampleNames(ESObj
, Subset
)
replaces
the sample names specified by NewESObj
= sampleNames(ESObj
, Subset
, NewSamNames
)Subset
in ESObj
,
an ExpressionSet object, with NewSamNames
,
and returns NewESObj
, a new ExpressionSet
object.
Input Arguments
|
Object of the |
|
One of the following to specify a subset of the sample names in an ExpressionSet object:
|
|
New sample names for specific sample names within an ExpressionSet object, specified by one of the following:
The number of sample names in |
Output Arguments
|
Cell array of strings specifying all or some of the sample names
in an ExpressionSet object. The sample names are the column names
in the DataMatrix objects in the ExpressionSet object. The sample
names are also the row names of the |
|
Object of the |
Examples
Construct an ExpressionSet object, ESObj
,
as described in the Examples section
of the bioma.ExpressionSet
class reference page.
Retrieve the sample names from it:
% Retrieve the sample names SNames = sampleNames(ESObj);