lmwLoading1dPlot: Loadings represented on a line plot.

View source: R/lmwLoading1dPlot.R

lmwLoading1dPlotR Documentation

Loadings represented on a line plot.

Description

Plots the loadings for each effect matrix from lmwPcaEffects outputs with line plots.

Usage

lmwLoading1dPlot(resLmwPcaEffects, effectNames = NULL, axes = c(1, 2), ...)

Arguments

resLmwPcaEffects

A list corresponding to the output value of lmwPcaEffects.

effectNames

Names of the effects to be plotted. if NULL, all the effects are plotted.

axes

A numerical vector with the Principal Components axes to be drawn.

...

Additional arguments to be passed to plotLine.

Details

lmwLoading1dPlot is a wrapper of plotLine.

Value

A list of ggplot objects representing the loading plots.

Examples


data('UCH')
resLmwModelMatrix = lmwModelMatrix(UCH)
resLmwEffectMatrices = lmwEffectMatrices(resLmwModelMatrix)
resASCA = lmwPcaEffects(resLmwEffectMatrices)

lmwLoading1dPlot(resASCA, effectNames = c("Hippurate", "Citrate"))

bgovaerts/LMWiRe documentation built on Sept. 17, 2022, 12:32 a.m.