| Bioinformatics Toolbox | ![]() |
Display a box plot for microarray data
maboxplot(Data, 'PropertyName', PropertyValue...) maboxplot(Data, ColumnName) maboxplot(MasStruct, FieldName) maboxplot(..., 'Title', TitleValue) maboxplot(..., 'Notch', NotchValue) maboxplot(..., 'Symbol', SymbolValue) maboxplot(..., 'Orientation', OrientationValue) maboxplot(..., 'WhiskerLength', WhiskerLengthValue) H = maboxplot(...) [H, HLines] = maboxplot(...)
maboxplot(Data, 'PropertyName', PropertyValue...) displays a box plot of the values in the columns of Data. Data can be a numeric array or a structure containing a field called Data.
maboxplot(Data,ColumnName) labels the box plot column names. For microarray data structures that are block based, maboxplot creates a box plot of a given field for each block.
maboxplot(MasStruct, FieldName) displays a box plot of field FieldName for each block in microarray data structure MasStruct.
maboxplot(..., 'Title', TitleValue) allows you to specify the title of the plot. The default Title is FieldName.
maboxplot(..., 'Notch', NotchValue) if Notch is true, draws notched boxes. The default is false to show square boxes.
maboxplot(..., 'Symbol', SymbolValue) allows you to specify the symbol used for outlier values. The default Symbol is '+'.
maboxplot(..., 'Orientation', OrientationValue) allows you to specify the orientation of the box plot. The choices are 'Vertical' and 'Horizontal'. The default is 'Vertical'.
maboxplot(..., 'WhiskerLength', WhiskerLengthValue) allows you to specify the whisker length for the box plot. WhiskerLengthValue defines the maximum length of the whiskers as a function of the interquartile range (IQR) (default = 1.5). The whisker extends to the most extreme data value within WhiskerLength*IQR of the box. If WhiskerLength = 0, then maboxplot displays all data values outside the box, using the plotting symbol Symbol.
H = maboxplot(...) returns the handle of the box plot axes.
[H, HLines] = maboxplot(...) returns the handles of the lines used to separate the different blocks in the image.
load yeastdata
maboxplot(yeastvalues,times);
xlabel('Sample Times');
% Using a structure
geoStruct = getgeodata('GSM1768');
maboxplot(geoStruct);
% For block-based data
madata = gprread('mouse_a1wt.gpr');
maboxplot(madata,'F635 Median');
figure
maboxplot(madata,'F635 Median - B635','TITLE',...
'Cy5 Channel FG - BG');
Bioinformatics Toolbox functions maboxplot, maimage, mairplot, maloglog, malowess
Statistics Toolbox function boxplot
| joinseq | maimage | ![]() |
© 1994-2005 The MathWorks, Inc.