ranks: Rank values in an Object

Description Usage Arguments Details Value Examples

Description

Retrieve or set the rank values in an object

Usage

1
ranks(object)

Arguments

object

Object of class scNMFSet.

Details

Ranks for which factorization has been performed are stored in slot ranks of scNMFSet object. ranks(object) will return the rank vector. ranks(object) <- value can be used to modify it.

Value

Either NULL or vector.

Examples

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

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