exprWrite
Class: bioma.ExpressionSet
Namespace: bioma
Write expression values in ExpressionSet object to text file
Syntax
exprWrite(
ESObj
, File
)
exprWrite(..., 'Delimiter', DelimiterValue
,
...)
exprWrite(..., 'Precision', PrecisionValue
,
...)
exprWrite(..., 'Header', HeaderValue
,
...)
exprWrite(..., 'Annotated', AnnotatedValue
,
...)
exprWrite(..., 'Append', AppendValue
,
...)
Description
exprWrite(
writes
the expression values in the ESObj
, File
)Expressions
element
(DataMatrix object) from an ExpressionSet object to a text file, using
the delimiter \t
to separate columns. exprWrite
writes
the data starting at the first column of the first row in the destination
file.
exprWrite(..., '
calls PropertyName
', PropertyValue
,
...)exprWrite
with optional properties
that use property name/property value pairs. You can specify one or
more properties in any order. Enclose each PropertyName
in
single quotation marks. Each PropertyName
is
case insensitive. These property name/property value pairs are as
follows:
exprWrite(..., 'Delimiter',
specifies a delimiter symbol to use as a column separator.
Default is DelimiterValue
,
...)'\t'
.
exprWrite(..., 'Precision',
specifies the precision for writing the data to the
text file. Default is PrecisionValue
,
...)5
.
exprWrite(..., 'Header',
specifies the first line of the text file. Default
is the HeaderValue
,
...)Name
property for the DataMatrix object.
exprWrite(..., 'Annotated',
controls the writing of row and column names to the
text file. Choices are AnnotatedValue
,
...)true
(default) or false
.
exprWrite(..., 'Append',
controls the appending of the expression values to AppendValue
,
...)File
when
it is an existing file. Choices are true
or false
(default).
If false
, exprWrite
overwrites File
.
Input Arguments
|
Object of the |
|
Character vector specifying either a file name or a path and
file name for saving the expression values. If you specify only a
file name, |
|
Character vector specifying a delimiter symbol to use as a matrix column separator. Typical choices are:
|
|
Precision for writing the data to the text file, specified by either:
Default: |
|
Character vector specifying the first line of the text file.
Default is the |
|
Controls the writing of row and column names to the text file.
Choices are |
|
Controls the appending of the expression values to |
Examples
Construct an ExpressionSet object, ESObj
,
as described in the Examples section
of the bioma.ExpressionSet
class reference page.
Write the expression values in the ExpressionSet object to a text
file:
% Write expression values to text file exprWrite(ESObj, 'myexpressiondata.txt')