setFixedPatterns-methods: set the fixed patterns for either the A or the P matrix

Description Usage Arguments Value Examples

Description

these parameters are interrelated so they must be set together

Usage

1
2
3
4
setFixedPatterns(object, fixedPatterns, whichMatrixFixed)

## S4 method for signature 'CogapsParams'
setFixedPatterns(object, fixedPatterns, whichMatrixFixed)

Arguments

object

an object of type CogapsParams

fixedPatterns

values for either the A or P matrix

whichMatrixFixed

either 'A' or 'P' indicating which matrix is fixed

Value

the modified params object

Examples

1
2
3
params <- new("CogapsParams")
data(GIST)
params <- setFixedPatterns(params, getSampleFactors(GIST.result), 'P')

CoGAPS documentation built on Nov. 8, 2020, 5:02 p.m.