This function serves to update an objects created with previous versions of the NMF package, which would otherwise be incompatible with the current version, due to changes in their S4 class definition.
nmfObject(object, verbose = FALSE)
an R object created by the NMF package,
e.g., an object of class NMF
or
NMFfit
.
logical to toggle verbose messages.
This function makes use of heuristics to automatically
update object slots, which have been borrowed from the
BiocGenerics package, the function
updateObjectFromSlots
in particular.