setAnnotationWeights {CoGAPS} | R Documentation |
these parameters are interrelated so they must be set together
setAnnotationWeights(object, annotation, weights) ## S4 method for signature 'CogapsParams' setAnnotationWeights(object, annotation, weights)
object |
an object of type CogapsParams |
annotation |
vector of labels |
weights |
vector of weights |
the modified params object
params <- new("CogapsParams") params <- setAnnotationWeights(params, c('a', 'b', 'c'), c(1,2,1))