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

setFixedPatternsR Documentation

set the fixed patterns for either the A or the P matrix

Description

these parameters are interrelated so they must be set together

Usage

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

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

CoGAPS/CoGAPS documentation built on May 2, 2024, 5:24 p.m.