setAnnotationWeights {CoGAPS} | R Documentation

## set the annotation labels and weights for subsetting the data

### Description

these parameters are interrelated so they must be set together

### Usage

    setAnnotationWeights(object, annotation, weights)

    ## S4 method for signature 'CogapsParams'
    setAnnotationWeights(object, annotation, weights)

### Arguments

`object` | an object of type CogapsParams
`annotation` | vector of labels
`weights` | vector of weights

### Value

the modified params object

### Examples

     params <- new("CogapsParams")
     params <- setAnnotationWeights(params, c('a', 'b', 'c'), c(1,2,1))

[Package CoGAPS version 3.14.0 Index]