PlotLoadings: Plot the loadings from PCALMEffects

Description Usage Arguments Value Examples

View source: R/PlotLoadings.R

Description

Plot the loadings from the ASCA, ASCA-E or APCA methods from PCALMEffects

Usage

1
PlotLoadings(ResPCALMEffects, EffectNames, PCdim, ...)

Arguments

ResPCALMEffects

A list from the function PCALMEffects

EffectNames

A character vector of the p effects to plot

PCdim

A vector of length p with the number of dimensions to draw for each effects

...

More arguments to the function DrawLoadings

Value

A list of p graphs with the asked number of dimensions for each.

Examples

1
2
3
4
5
 data('UCH')
 ResLMModelMatrix = LMModelMatrix(formula=as.formula(UCH$formula),design=UCH$design)
 ResLMEffectMatrices = LMEffectMatrices(ResLMModelMatrix,outcomes=UCH$outcomes)
 ResPCALMEffects = PCALMEffects(ResLMEffectMatrices,method="ASCA-E")
 PlotLoadings(ResPCALMEffects,c("Citrate","Hippurate"),PCdim=c(2,3))

FranceschiniS/LMWiRe documentation built on Oct. 30, 2019, 6:20 p.m.