plotPCA | R Documentation |
plotPCA
creates a principal analysis plot using first two components.
plotPCA(
pdat,
with.legend = TRUE,
point.size = 1.2,
text.size = 10,
label.size = 3,
legend.text.size = 7,
palette = cbPalette
)
pdat |
Peptide or protein |
with.legend |
Logical, whether to plot a legend. |
point.size |
Size of the point in the plot. |
text.size |
Size of the axis text. |
label.size |
Size of the text labels identifying sapmles. |
legend.text.size |
Size of the legend text. |
palette |
Palette of colours |
Creates a plot
library(proteusLabelFree)
data(proteusLabelFree)
plotPCA(pepdat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.