malowess
Smooth microarray data using Lowess method
Syntax
YSmooth
= malowess(X
, Y
)
YSmooth
= malowess(X
, Y
,
...'Order', OrderValue
, ...)
YSmooth
= malowess(X
, Y
,
...'Robust', RobustValue
, ...)
YSmooth
= malowess(X
, Y
,
...'Span', SpanValue
, ...)
Arguments
X , Y | DataMatrix object or numeric vector containing scatter data. |
OrderValue | Property to select the order of the algorithm. Enter
either |
RobustValue | Property to select a robust fit. Enter either |
SpanValue | Property to specify the window size. The default value
is |
Description
smooths
scatter data in YSmooth
= malowess(X
, Y
)X
and Y
using
the Lowess smoothing method. The default window size is 5% of the
length of X
. YSmooth
is
a numeric vector or, if Y
is a DataMatrix
object, also a DataMatrix object with the same properties as Y
.
calls YSmooth
= malowess(X
, Y
,
...'PropertyName
', PropertyValue
,
...)malowess
with optional properties
that use property name/property value pairs. You can specify one or
more properties in any order. Each PropertyName
must
be enclosed in single quotation marks and is case insensitive. These
property name/property value pairs are as follows:
chooses
the order of the algorithm. Note that the Curve Fitting Toolbox™ software
refers to Lowess smoothing of order YSmooth
= malowess(X
, Y
,
...'Order', OrderValue
, ...)2
as Loess
smoothing.
uses
a robust fit when YSmooth
= malowess(X
, Y
,
...'Robust', RobustValue
, ...)
is
set to RobustValue
true
. This option can take a long time to
calculate.
modifies
the window size for the smoothing function. If YSmooth
= malowess(X
, Y
,
...'Span', SpanValue
, ...)
is
less than SpanValue
1
, the window size is taken to be a fraction
of the number of points in the data. If SpanValue
is
greater than 1,
the window is of size SpanValue
.
Examples
maStruct = gprread('mouse_a1wt.gpr'); cy5data = magetfield(maStruct, 'F635 Median'); cy3data = magetfield(maStruct, 'F532 Median'); [x,y] = mairplot(cy5data, cy3data); drawnow ysmooth = malowess(x,y); hold on; plot(x, ysmooth, 'rx') ynorm = y - ysmooth;
Version History
Introduced before R2006a
See Also
affyinvarsetnorm
| maboxplot
| magetfield
| maimage
| mainvarsetnorm
| mairplot
| maloglog
| manorm
| quantilenorm
| robustfit