ranks-set-scNMFSet-method: Modify ranks

Description Usage Arguments Value Examples

Description

Replace ranks slot of scNMFSet object

Usage

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

Arguments

object

Object of class scNMFSet

value

Rank values (vector) to be substituted

Value

Input object with updated ranks

Examples

1
2
3
4
s <- scNMFSet(count=matrix(rpois(n=12,lambda=3),4,3))
s <- vb_factorize(s, ranks=seq(2,3))
ranks(s) <- c('two','three')
ranks(s)

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