setFixedPatterns {CoGAPS} | R 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')

[Package CoGAPS version 3.4.1 Index]