Description Usage Arguments Details Note Author(s) See Also
figure_pca()
reproduces the LCMS and NMR PCA scores compound figure
in Benjamin Gordon's PhD thesis.
1 2 |
scale |
Logical indicating if scaling should be applied in PCA |
center |
Logical indicatinf if the data should be centered |
view.plot |
Logical indicating if the plot should be printed to the plot viewer. |
save.plot |
Logical indicating if the plot should be saved to
|
plot.name |
Name of plot. |
seed |
Integer the sets the state of the random number generator |
figure_pca()
loads the saved gg objects in ./inst/extdata/
;
extracts the legend from the mzpca plot; adds plot labels (a and b) and saves
the plot to ./figs/
as a .pdf
file.
Although this function is exported, figure_pca()
was not
intended to be used outside of this package.
Benjamin R. Gordon
gridExtra-package
ggplot
grid-package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.