pcaScorePlot | R Documentation |
Produces rich score plots from pcaBySvd
with the same graphical options as plotScatter
.
pcaScorePlot( resPcaBySvd, axes = c(1, 2), title = "PCA score plot", points_labs_rn = FALSE, ... )
resPcaBySvd |
A list corresponding to the output value of |
axes |
A numerical vector with the 2 Principal Components axes to be drawn. |
title |
Plot title. |
points_labs_rn |
Boolean indicating if the rownames of the scores matrix should be plotted. |
... |
Additional arguments to be passed to |
pcaScorePlot
is a wrapper of plotScatter
.
A PCA score plot (ggplot).
data('UCH') ResPCA = pcaBySvd(UCH$outcomes) pcaScorePlot(resPcaBySvd = ResPCA, axes = c(1,2), title = "PCA score plot UCH", design = UCH$design, color = "Hippurate", shape = "Citrate")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.