Plots the two components defined by pc1, pc2 of the matrix of scores coming from a multivariable analysis, typically a Principal Component Analysis (PCA).
plotScores(data, pc1, pc2, samples, factor = NULL, cexlabel = 1.2,
level = 0.95, xlim = NULL, ylim = NULL, col = NULL)
the matrix of scores coming from a multivariable analysis, typically a Principal Component Analysis (PCA)
the fist component of the matrix of variable loadings to be plotted.
the second component of the matrix of variable loadings to be plotted.
as well as the levels of the experimental factors if specified in the input.
See doProcessing
or generateMetadata
the samples matrix with the correspondence of the raw spectra,
if not null, the name of one of the columns defining the factorial groups in the samples matrix at input
number indicating the amount by which plotting text and symbols should be scaled relative to the default.
confidence level for plotting the corresponding ellipse
gives the limit to be plotted of the first component
gives the limit to be plotted of the second component
colors vector for ellipses - automatically defined by default