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

setAnnotationWeightsR 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))

CoGAPS/CoGAPS documentation built on April 12, 2024, 3:12 a.m.