align | R Documentation |
Align two NMF models
align(object, ...)
## S4 method for signature 'nmf'
align(object, ref, method = "cosine", ...)
object |
nmf model to be aligned to |
... |
arguments passed to or from other methods |
ref |
reference nmf model to which |
method |
either |
For nmf
models, factors in object
are reordered to minimize the cost of bipartite matching
(see bipartiteMatch
) on a cosine
or correlation distance matrix. The w
matrix is used for matching, and
must be equidimensional in object
and ref
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.