align: Align two NMF models

alignR Documentation

Align two NMF models

Description

Align two NMF models

Usage

align(object, ...)

## S4 method for signature 'nmf'
align(object, ref, method = "cosine", ...)

Arguments

object

nmf model to be aligned to ref

...

arguments passed to or from other methods

ref

reference nmf model to which object will be aligned

method

either cosine or cor

Details

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.


zdebruine/RcppML documentation built on Sept. 13, 2023, 11:44 p.m.