| Bioinformatics Toolbox™ | ![]() |
mapcaplot(Data)
mapcaplot(Data, Label)
| Data | Microarray expression profile data. |
| Label | Cell array of strings representing labels for the data points. |
mapcaplot(Data) creates 2-D scatter plots of principal components of the array Data.
mapcaplot(Data, Label) uses the elements of the cell array of strings Label, instead of the row numbers, to label the data points in the PCA plots.

Once you plot the principal components, you can:
Select principal components for the x and y axes from the drop-down list boxes below each scatter plot.
Click a data point to display its label.
Select a subset of data points by click-dragging a box around them. This will highlight the points in the selected region and the corresponding points in the other axes. The labels of the selected data points appear in the list box.
Select a label in the list box to highlight the corresponding data point in the plot. Press and hold Ctrl or Shift to select multiple data points.
Export the gene labels and indices to a structure in the MATLAB® workspace by clicking Export.
load filteredyeastdata mapcaplot(yeastvalues, genes)
Bioinformatics Toolbox™ functions: clustergram, mattest, mavolcanoplot
Statistics Toolbox™ function: princomp
![]() | manorm | mattest | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |