Description Usage Arguments Value Examples
Given a data.frame, plot the first two principle components and label them
| 1 2 | 
| df | a data.frame with columns referring to different experimental conditions | 
| groups | group by which to color columns by | 
| useColLabels | if true, print the column names on the plot | 
| centerDf | center df in prcomp | 
| scaleDf | scale df in prcomp | 
a ggplot object
| 1 2 3 4 5 6 7 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.