setAnnotationWeights-methods: set the annotation labels and weights for subsetting the data

Description Usage Arguments Value Examples

Description

these parameters are interrelated so they must be set together

Usage

1
2
3
4
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

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

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