normalize_matrix_per_dim | R Documentation |
Normalize matrix by columns
normalize_matrix_per_dim(in_matrix, in_dimension)
in_matrix |
matrix to normalize. |
in_dimension |
normalize by rows == 1 or columns == 1 . |
matrix normalized by columns, colsum == 1.
## Not run: data("leukemia") nmf_exp <- run_NMF_tensor(leukemia$matrix, ranks = 2:10, method = "NMF", n_initializations = 10) normalize_matrix_per_dim(WMatrix(nmf_exp, k=2), 2) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.