A function to plot the loadings resulting from fitting a PPCA model or a PPCCA model to metabolomic data. A barplot or a scatterplot can be produced.
loadings.plot(output, barplot = FALSE, labelsize = 0.3)
An object resulting from fitting a PPCA model or a PPCCA model.
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 to plot the loadings resulting from fitting a PPCA model or a PPCCA 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.