setFixedPatterns {CoGAPS} | R Documentation |
these parameters are interrelated so they must be set together
setFixedPatterns(object, fixedPatterns, whichMatrixFixed) ## S4 method for signature 'CogapsParams' setFixedPatterns(object, fixedPatterns, whichMatrixFixed)
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 |
the modified params object
params <- new("CogapsParams") data(GIST) params <- setFixedPatterns(params, getSampleFactors(GIST.result), 'P')