lnmf | R Documentation |
Run lNMF on a list of datasets to separate shared and unique signals.
lnmf(
data,
k_wh,
k_uv,
tol = 1e-04,
maxit = 100,
L1 = c(0, 0),
L2 = c(0, 0),
seed = NULL,
mask = NULL
)
data |
list of dense or sparse matrices giving features in rows and samples in columns. Rows in all matrices must correspond exactly. Prefer |
k_wh |
rank of the shared factorization |
k_uv |
ranks of the unique factorizations, an array corresponding to each dataset provided |
tol |
tolerance of the fit |
maxit |
maximum number of fitting iterations |
L1 |
LASSO penalties in the range (0, 1], single value or array of length two for |
L2 |
Ridge penalties greater than zero, single value or array of length two for |
seed |
single initialization seed or array of seeds. If multiple seeds are provided, the model with least mean squared error is returned. |
mask |
list of dense or sparse matrices indicating values in |
Detailed documentation to come
an object of class lnmf
Zach DeBruine
DeBruine, ZJ, Melcher, K, and Triche, TJ. (2021). "High-performance non-negative matrix factorization for large single-cell data." BioRXiv.
nmf
, nnls
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.