measure {ccfindR} | R Documentation |
Retrieve or set factorization measures in an object
measure(object)
object |
Object of class |
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.
Either NULL
or a data frame containing measures.
s <- scNMFSet(count=matrix(rpois(n=12,lambda=3),4,3)) s <- vb_factorize(s,ranks=seq(2,4)) measure(s)