ranks<-,scNMFSet-method {ccfindR} | R Documentation |
Replace ranks
slot of scNMFSet
object
## S4 replacement method for signature 'scNMFSet' ranks(object) <- value
object |
Object of class |
value |
Rank values (vector) to be substituted |
Input object with updated ranks
s <- scNMFSet(count=matrix(rpois(n=12,lambda=3),4,3)) s <- vb_factorize(s, ranks=seq(2,3)) ranks(s) <- c('two','three') ranks(s)