PLS_Toolbox Documentation: plotscores | < plotloads | pls > |
plotscores
Purpose
Extract and display scores information from model.
Synopsis
a = scoresplot(modl,options)
a = scoresplot(modl,pred,options)
a = plotscores(scores,labels,classes)
options = plotscores('options')
Description
Given a standard model structure, relevant scores information (e.g. labels) is collected and passed to PLOTGUI for plotting. The input is the model containing scores to plot modl. (e.g. see MODELSTRUCT). A second input pred contains a test or validation structrure (see PCA) that can be plotted with scores in modl. Optional input options is discussed below.
Input scores is a M by K scores matrix (class "double"). Optional input labels is a character or cell array with M rows containing sample labels, and optional input classes is a vector with M integer elements of class identifiers.
If no output is requested then PLOTSCORES initiates an interactive plotting utility to make scores plots. If an output is requested, no plots are made, and the output a is a dataset object containing the scores and labels, etc.
Options
The default options can be retreived using: options = plotscores('options');.
See Also
analysis, mcr, modelstruct, modelviewer, mpca, pca, pcr, plotgui, plotloads, pls
< plotloads | pls > |