- algorithm
signature(object = "NMFfitXn")
:
Returns the name of the common NMF algorithm used to
compute all fits stored in object
Since all fits are computed with the same algorithm, this
method returns the name of algorithm that computed the
first fit. It returns NULL
if the object is empty.
- basis
signature(object = "NMFfitXn")
:
Returns the basis matrix of the best fit amongst all the
fits stored in object
. It is a shortcut for
basis(fit(object))
.
- coef
signature(object = "NMFfitXn")
:
Returns the coefficient matrix of the best fit amongst
all the fits stored in object
. It is a shortcut
for coef(fit(object))
.
- compare
signature(object = "NMFfitXn")
:
Compares the fits obtained by separate runs of NMF, in a
single call to nmf
.
- consensus
signature(object = "NMFfitXn")
:
This method returns NULL
on an empty object. The
result is a matrix with several attributes attached, that
are used by plotting functions such as
consensusmap
to annotate the plots.
- dim
signature(x = "NMFfitXn")
: Returns the
dimension common to all fits.
Since all fits have the same dimensions, it returns the
dimension of the first fit. This method returns
NULL
if the object is empty.
- entropy
signature(x = "NMFfitXn", y =
"ANY")
: Computes the best or mean entropy across all NMF
fits stored in x
.
- fit
signature(object = "NMFfitXn")
: Returns
the best NMF fit object amongst all the fits stored in
object
, i.e. the fit that achieves the lowest
estimation residuals.
- .getRNG
signature(object = "NMFfitXn")
:
Returns the RNG settings used for the best fit.
This method throws an error if the object is empty.
- getRNG1
signature(object = "NMFfitXn")
:
Returns the RNG settings used for the first run.
This method throws an error if the object is empty.
- minfit
signature(object = "NMFfitXn")
:
Returns the best NMF model in the list, i.e. the run that
achieved the lower estimation residuals.
The model is selected based on its deviance
value.
- modelname
signature(object = "NMFfitXn")
:
Returns the common type NMF model of all fits stored in
object
Since all fits are from the same NMF model, this method
returns the model type of the first fit. It returns
NULL
if the object is empty.
- nbasis
signature(x = "NMFfitXn")
: Returns
the number of basis components common to all fits.
Since all fits have been computed using the same rank, it
returns the factorization rank of the first fit. This
method returns NULL
if the object is empty.
- nrun
signature(object = "NMFfitXn")
:
Returns the number of runs performed to compute the fits
stored in the list (i.e. the length of the list itself).
- purity
signature(x = "NMFfitXn", y =
"ANY")
: Computes the best or mean purity across all NMF
fits stored in x
.
- runtime.all
signature(object = "NMFfitXn")
:
If no time data is available from in slot
‘runtime.all’ and argument null=TRUE
, then
the sequential time as computed by seqtime
is returned, and a warning is thrown unless
warning=FALSE
.
- seeding
signature(object = "NMFfitXn")
:
Returns the name of the common seeding method used the
computation of all fits stored in object
Since all fits are seeded using the same method, this
method returns the name of the seeding method used for
the first fit. It returns NULL
if the object is
empty.
- seqtime
signature(object = "NMFfitXn")
:
Returns the CPU time that would be required to
sequentially compute all NMF fits stored in
object
.
This method calls the function runtime
on each fit
and sum up the results. It returns NULL
on an
empty object.
- show
signature(object = "NMFfitXn")
: Show
method for objects of class NMFfitXn