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

## Modify coefficient matrices

### Description

Can be used to access and modify coefficient matrices

### Usage

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

### Arguments

`object` | Object of class `scNMFSet`
`value` | Coefficient matrix to be substituted

### Value

Input object with updated coefficient matrices

### Examples

    s <- scNMFSet(count=matrix(rpois(n=12,lambda=3),4,3))
    s <- vb_factorize(s, ranks=3)
    coeff(s)[[1]] <- apply(coeff(s)[[1]],c(1,2),round,digits=2)
    coeff(s)

[Package ccfindR version 1.14.0 Index]