counts<-,scNMFSet-method {ccfindR} | R Documentation |
Count matrix can be modified
## S4 replacement method for signature 'scNMFSet' counts(object) <- value
object |
Object containing count |
value |
Matrix-like object for replacement |
Object with updated count
mat <- matrix(rpois(n=12,lambda=3),3,4) s <- scNMFSet(count = mat) counts(s) <- mat^2 counts(s)