measure-set-scNMFSet-method: Modify factorization measure

Description Usage Arguments Value Examples

Description

Can be used to access and modify factorization measure

Usage

1
2
## S4 replacement method for signature 'scNMFSet'
measure(object) <- value

Arguments

object

Object of class scNMFSet

value

Measure to be substituted

Value

Input object with updated measure

Examples

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

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