Create Principal Component Analysis (PCA) plot of microarray data
|Data||DataMatrix object or numeric array containing microarray expression profile data. If a DataMatrix object, the row names are used as labels in the plot, unless you provide labels with the second input Label.|
|Label||Cell array of strings representing labels for the data points in the plot.|
mapcaplot(Data) creates 2-D scatter plots of principal components of Data, a DataMatrix object or numeric array containing microarray expression profile 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.