| Bioinformatics Toolbox | ![]() |
Display intensity versus ratio scatter plot for microarray signals
mairplot(X, Y, 'PropertyName', PropertyValue...) mairplot(..., 'FactorLines', FactorLinesValue) mairplot(..., 'Title', TitleValue) mairplot(..., 'Labels', LabelsValue) mairmage(..., 'HandleGraphicsPropertyName' PropertyValue) [Intensity, Ratio] = mairplot(...) [Intensity, Ratio, H] = mairplot(...)
| X, Y | Gene expression data. |
| FactorLines | Property to specify a factor of change. |
| Title | Property to specify a title for the plot. |
| Labels | Property to specify labels for the plot. |
| HandleGraphics | Property to pass optional property name/value pairs from Handle Graphics. |
mairplot(X, Y, 'PropertyName', PropertyValue...) creates an intensity versus ratio scatter plot of X versus Y.
mairplot(..., 'FactorLines', FactorLinesValue) adds lines showing a factor of N change.
mairplot(..., 'Title', TitleValue) allows you to specify a title for the plot.
mairplot(..., 'Labels', LabelsValue) allows you to specify a cell array of labels for the data. If labels are defined, then clicking a point on the plot shows the label corresponding to that point.
maimage(..., 'HandleGraphicsPropertyName' PropertyValue) allows you to pass optional Handle Graphics property name/property value pairs to the function.
[Intensity, Ratio] = mairplot(...) returns the intensity and ratio values.
[Intensity, Ratio, H] = mairplot(...) returns the handle of the plot.
maStruct = gprread('mouse_a1wt.gpr');
cy3data = maStruct.Data(:,36);
cy5data = maStruct.Data(:,37);
positiveVals = (cy3data>0) & (cy5data>0);
cy3data(~positiveVals) = [];
cy5data(~positiveVals) = [];
mairplot(cy3data,cy5data,'title','R vs G')
figure
names = maStruct.Names(positiveVals);
mairplot(cy3data,cy5data,'FactorLines',2,...
'Labels',maStruct.Names)
Bioinformatics Toolbox functions maboxplot, maloglog, malowess
| maimage | maloglog | ![]() |
© 1994-2005 The MathWorks, Inc.