counts-set-scNMFSet-method: Assignment of count matrix

Description Usage Arguments Value Examples

Description

Count matrix can be modified

Usage

1
2
## 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

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

ccfindR documentation built on Nov. 8, 2020, 5:12 p.m.