measure {ccfindR}R Documentation

Factorization measures in an Object

Description

Retrieve or set factorization measures in an object

Usage

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

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

[Package ccfindR version 1.10.0 Index]