| nmf.rrr.heatmap | R Documentation |
nmfae.heatmap displays the three factor matrices X_1, \Theta,
and X_2 as side-by-side heatmaps. This provides an alternative to DOT graph
visualization, especially when Y_2 has many variables (e.g., kernel matrix).
nmf.rrr.heatmap(
x,
Y1.label = NULL,
X1.label = NULL,
X2.label = NULL,
Y2.label = NULL,
palette = NULL,
...
)
x |
An object of class |
Y1.label |
Character vector of output variable names (rows of |
X1.label |
Character vector of decoder basis labels (columns of |
X2.label |
Character vector of encoder basis labels (rows of |
Y2.label |
Character vector of input variable names (columns of |
palette |
Color palette vector. Default is white-orange-red (64 colors). |
... |
Not used. |
Invisible NULL. Called for its side effect (plot).
This function is experimental. The interface may change in future versions; details are to be described in an upcoming paper.
nmfae, plot.nmfae, nmfae.DOT
set.seed(1)
Y <- matrix(runif(20), nrow = 4)
res <- nmf.rrr(Y, rank1 = 2)
nmf.rrr.heatmap(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.