Description Usage Arguments Author(s) Examples
View source: R/ComparePcaPlots.R
Produces a comparison of principal component multiplots
1 2 3 4 |
lfeaturedata |
A list of data frames in the featuredata format. This is a dataframe with metabolites in columns and samples in rows. Unique sample names should be provided as row names. See NormalizeMets Vignette for details. |
lgroupdata |
A list of data frames or a vectors with group names. |
saveplot |
A logical indication whether to save the plot produced. |
plotname |
Name of the output file if the file is to be saved. This is the general name for all the graphs and the specific type prefix will be added automatically. |
savetype |
The required format for the plot to be saved in. Threre is a
choice of |
y.axis |
The principal component to be plotted on the y-axis. |
x.axis |
The principal component to be plotted on the x-axis. |
center |
A logical indicating whether the variables should be scaled to have zero mean. |
scale |
A logical indicating whether the variables should be scaled to have unit variance before the analysis takes place. |
lmain |
A list of plot titles |
n |
The number of principal components to be plotted. The default value is set to 3. |
showlegend |
A logical indication whether to print a legend for the plot. |
usercols |
A character string with colours to be used or TRUE for ColList
to be used (ColList is the defualt set of colours used in other plots in this
package). A value other then |
cex_val |
A numeric indicating the size of some text elements. |
... |
Arguments to be passed on to other methods. |
Alysha M De Livera, Gavriel Olshansky.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.