STATegRa (version 1.6.2)

modelSelection: Find optimal common and distinctive components

Description

Uses selectCommonComps and PCA.selection to estimate the optimal number of common and distinctive components according to given selection criteria.

Usage

modelSelection(Input, Rmax, fac.sel, varthreshold=NULL, nvar=NULL, PCnum=NULL)

Arguments

Input
List of two ExpressionSet objects
Rmax
Maximum common components (see selectCommonComps)
fac.sel
PCA criteria (see PCA.selection)
varthreshold
Cumulative variance criteria (see PCA.selection)
nvar
Relative variance criteria (see PCA.selection)
PCnum
Fixed component number (see PCA.selection)

Value

List containing:
common
Number of common components
dist
Number of distinct components per input block

See Also

selectCommonComps,PCA.selection,omicsCompAnalysis

Examples

Run this code
data(STATegRa_S3)
B1 <- createOmicsExpressionSet(Data=Block1.PCA,pData=ed.PCA,pDataDescr=c("classname"))
B2 <- createOmicsExpressionSet(Data=Block2.PCA,pData=ed.PCA,pDataDescr=c("classname"))
ms <- modelSelection(Input=list(B1, B2), Rmax=4, fac.sel="single\%", varthreshold=0.03)
ms

Run the code above in your browser using DataCamp Workspace