summary
method for class "nmf
". Describes metadata representation in NMF factors. Returns object of class nmfSummary
. Plot results using plot
.
Arguments
- object
an object of class "
nmf
", usually, a result of a call tonmf
- group_by
a discrete factor giving groupings for samples or features. Must be of the same length as number of samples in
object$h
or number of features inobject$w
.- stat
either
sum
(sum of factor weights falling within each group), ormean
(mean factor weight falling within each group).- ...
arguments passed to or from other methods
- x
nmfSummary
object, the result of callingsummary
on annmf
object