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)

hjunwoo/ccfindR documentation built on Oct. 4, 2019, 10:31 a.m.