A function to plot the loadings resulting from fitting a MPPCA model to metabolomic data. A barplot or a scatterplot can be produced.
mppca.loadings.plot(output, Y, barplot = FALSE, labelsize = 0.3)
An object resulting from fitting a MPPCA model.
The N x p matrix of observations to which the MPPCA model is fitted.
Logical indicating whether a barplot of the loadings is required rather than a scatter plot. By default a scatter plot is produced.
Size of the text of the spectral bin labels on the resulting plot.
A function which produces a series of plots illustrating the loadings resulting from fitting a MPPCA model to metabolomic data. A barplot or a scatterplot can be produced. The size of the text of the spectral bin labels on the bar plot can also be adjusted if the number of bins plotted is large.
Nyamundanda, G., Gormley, I.C. and Brennan, L. (2010) Probabilistic principal components analysis for metabolomic data. Technical report. University College Dublin, Ireland.