measure: Factorization measures in an Object

Description Usage Arguments Details Value Examples

Description

Retrieve or set factorization measures in an object

Usage

1
measure(object)

Arguments

object

Object of class scNMFSet.

Details

Factorization under multiple rank values lead to measures stored in a data frame inside a slot measure. In maximum likelihood using factorize, this set of quality measures include dispersion and cophenetic coeeficients for each rank. In Bayesian factorization using vb_factorize, log evidence for each rank is stored. measure(object) will return the data frame. measure(object) <- value can be used to modify it.

Value

Either NULL or a data frame containing measures.

Examples

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

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