bioma.data.ExptData Class
Namespace: bioma.data
Superclasses:
Contain data values from microarray experiment
Description
The ExptData class is designed to contain data values, such as gene expression values, from a microarray experiment. It stores the data values in one or more DataMatrix objects, each having the same row names (feature names) and column names (sample names). It provides a convenient way to store related experiment data in a single data structure (object). It also lets you manage and subset the data.
The ExptData class includes properties and methods that let you access, retrieve, and change data values from a microarray experiment. These properties and methods are useful to view and analyze the data.
Construction
creates an ExptData object, from one or more matrices
of data. Each matrix can be a logical matrix, a numeric matrix, or
a DataMatrix object. EDobj
= bioma.data.ExptData(Data1
, Data2
,
...)
specifies an element name for each DataMatrix object. EDobj
= bioma.data.ExptData(...,
{DMobj1
, Name1
},
{DMobj2
, Name2
},
...)Name#
is a character vector or string specifying a unique name. Default names are
Elmt1
, Elmt2
, etc.
creates an ExptData object, from a cell array of
matrices of data. Each matrix can be a logical matrix, a numeric matrix,
or a DataMatrix
object. EDobj
= bioma.data.ExptData({Data1
, Data2
,
...})
constructs
the object using options, specified as property name/property value
pairs.EDobj
= bioma.data.ExptData(...,
'PropertyName
', PropertyValue
)
specifies element names for the matrix inputs.
EDobj
= bioma.data.ExptData(...,
'ElementNames', ElementNamesValue
)ElementNamesValue
is a cell array of character vectors or
string vector. Default names are Elmt1
, Elmt2
,
etc.
specifies feature names
(row names) for the ExptData object.EDobj
= bioma.data.ExptData(...,
'FeatureNames', FeatureNamesValue
)
specifies
sample names (column names) for the ExptData object.EDobj
= bioma.data.ExptData(...,
'SampleNames', SampleNamesValue
)
Input Arguments
|
Matrix of experimental data values specified by any of the following:
All inputs must have the same dimensions. All DataMatrix objects
must also have the same row names and columns names. If you provide
logical or numeric matrices, The rows must correspond to features and the columns must correspond to samples. |
|
Variable name of a DataMatrix object in the MATLAB Workspace. |
|
Character vector or string specifying an element name for the corresponding DataMatrix object |
|
Cell array of character vectors or string vector that specifies unique element names for the
matrix inputs. The number of elements in
Default: { |
|
Feature names (row names) for the ExptData object, specified by one of the following:
If you use a cell array of character vectors, character array, string vector, numeric or
logical vector, then the number of elements must be equal in number to
the number of rows in |
|
Sample names (column names) for the ExptData object, specified by one of the following:
If you use a cell array of character vectors, character array, string vector, numeric or
logical vector, then the number of elements must be equal in number to
the number of columns in |
Properties
|
Class type of the DataMatrix objects in the experiment Cell array of character vectors specifying the class type of
each DataMatrix object in the ExptData object. Possible values are MATLAB® classes,
such as Attributes:
| ||
|
Name of the ExptData object. Character vector specifying the name of the ExptData object.
Default is | ||
|
Number of elements in the experiment Positive integer specifying the number of elements (DataMatrix objects) in the experiment data. This value is equivalent to the number of DataMatrix objects in the ExptData object. This information is read-only. Attributes:
| ||
|
Number of features in the experiment Positive integer specifying the number of features in the experiment. This value is equivalent to the number of rows in each DataMatrix object in the ExptData object. This information is read-only. Attributes:
| ||
|
Number of samples in the experiment Positive integer specifying the number of samples in the experiment. This value is equivalent to the number of columns in each DataMatrix object in the ExptData object. This information is read-only. Attributes:
|
Methods
combine | Combine two ExptData objects |
dmNames | Retrieve or set Name properties of
DataMatrix objects in ExptData object |
elementData | Retrieve or set data element (DataMatrix object) in ExptData object |
elementNames | Retrieve or set element names of DataMatrix objects in ExptData object |
featureNames | Retrieve or set feature names in ExptData object |
isempty | Determine whether ExptData object is empty |
sampleNames | Retrieve or set sample names in ExptData object |
size | Return size of ExptData object |
Instance Hierarchy
An ExpressionSet object contains an ExptData object. An ExptData object contains one or more DataMatrix objects.
Attributes
To learn about attributes of classes, see Class Attributes.
Copy Semantics
Value. To learn how this affects your use of the class, see Copying Objects.
Indexing
ExptData objects support 1-D parenthesis ( ) indexing to extract, assign, and delete data.
ExptData objects do not support:
Dot . indexing
Curly brace { } indexing
Examples
References
[1] Hovatta, I., Tennant, R S., Helton, R., et al. (2005). Glyoxalase 1 and glutathione reductase 1 regulate anxiety in mice. Nature 438, 662–666.