counts<-,scNMFSet-method {ccfindR} | R Documentation

## Assignment of count matrix

### Description

Count matrix can be modified

### Usage

    ## S4 replacement method for signature 'scNMFSet'
    counts(object) <- value

### Arguments

`object` | Object containing count
`value` | Matrix-like object for replacement

### Value

Object with updated count

### Examples

    mat <- matrix(rpois(n=12,lambda=3),3,4)
    s <- scNMFSet(count = mat)
    counts(s) <- mat^2
    counts(s)

[Package ccfindR version 1.7.0 Index]