lmwScorePlot | R Documentation |
Draws the score plots of each effect matrix provided in lmwPcaEffects
outputs. As a wrapper of the plotScatter
function, it allows the visualization of effect score matrices for two components at a time with all options available in plotScatter
.
lmwScorePlot(resLmwPcaEffects, effectNames = NULL, axes = c(1, 2), ...)
resLmwPcaEffects |
A list corresponding to the output value of |
effectNames |
Names of the effects to be plotted. If |
axes |
A numerical vector with the 2 Principal Components axes to be drawn. |
... |
Additional arguments to be passed to |
lmwScorePlot
is a wrapper of plotScatter
.
A list of score plots (ggplot).
data('UCH') resLmwModelMatrix = lmwModelMatrix(UCH) resLmwEffectMatrices = lmwEffectMatrices(resLmwModelMatrix) resASCA = lmwPcaEffects(resLmwEffectMatrices) lmwScorePlot(resASCA, effectNames = "Hippurate", color = "Hippurate", shape = "Hippurate") lmwScorePlot(resASCA, effectNames = "Hippurate:Time", color = "Hippurate", shape = "Time")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.