A function to plot the loadings resulting from fitting a MPPCA model to metabolomic data. A barplot or a scatterplot can be produced.

1 | ```
mppca.loadings.plot(output, Y, barplot = FALSE, labelsize = 0.3)
``` |

`output` |
An object resulting from fitting a MPPCA model. |

`Y` |
The N x p matrix of observations to which the MPPCA model is fitted. |

`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. |

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 Gift, Isobel Claire Gormley and Lorraine Brennan

Nyamundanda, G., Gormley, I.C. and Brennan, L. (2010) Probabilistic principal components analysis for metabolomic data. Technical report. University College Dublin, Ireland.

`mppca.metabol`

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.