loadings.plot {MetabolAnalyze} | R Documentation |
Plot loadings.
Description
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.
Usage
loadings.plot(output, barplot = FALSE, labelsize = 0.3)
Arguments
output |
An object resulting from fitting a PPCA model or a PPCCA model. |
barplot |
Logical indicating whether a barplot of the loadings is required rather than a scatter plot. By default a scatter plot is produced. |
labelsize |
Size of the text of the spectral bin labels on the resulting plot. |
Details
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.
Author(s)
Nyamundanda Gift, Isobel Claire Gormley and Lorraine Brennan
References
Nyamundanda, G., Gormley, I.C. and Brennan, L. (2010) Probabilistic principal components analysis for metabolomic data. Technical report. University College Dublin, Ireland.