jrSiCKLSNMF | R Documentation |
Perform joint non-negative matrix factorization (NMF) across multiple modalities of single-cell data.
To measure the discrepancy between two distributions, one can use the Poisson Kullback-Leibler divergence (\mathtt{diffFunc}=
\mathtt{"klp"}
) or the Frobenius norm (\mathtt{diffFunc}=
\mathtt{"fr"}
).
It is also possible to set graph regularization constraints on \mathbf{W}^v
and either a sparsity constraint on \mathbf{H}
or an
L2 norm constraint on the rows of \mathbf{H}
.
This function passes by reference and updates the variables \mathtt{WL}
and \mathtt{H}
and does not require data to be in an
object of type SickleJr. \mathtt{RunjrSiCKLSNMF}
calls this function. If your data are in an object of class SickleJr,
please use the \mathtt{RunjrSiCKLSNMF}
function instead.
jrSiCKLSNMF(
datamatL,
WL,
H,
AdjL,
DL,
lambdaWL,
lambdaH,
initsamp,
suppress_warnings,
diffFunc = "klp",
Hconstraint = "None",
differr = 1e-06,
rounds = 1000L,
display_progress = TRUE,
minibatch = TRUE,
batchsize = 100L,
random_W_updates = TRUE,
minrounds = 100L
)
datamatL |
An R list where each entry contains a normalized, sparse |
WL |
An R list containing initialized values of the |
H |
A matrix containing initialized values for the shared |
AdjL |
An R list containing all of the adjacency matrices for the
feature-feature similarity graphs in sparse format; note that |
DL |
An R list containing all of the degree matrices of the
feature-feature similarity graphs; note that |
lambdaWL |
A list of the |
lambdaH |
A double containing the desired value for |
initsamp |
A vector of randomly selected rows of |
suppress_warnings |
A Boolean that indicates whether warnings should be suppressed |
diffFunc |
A string indicating what type of divergence to use; set to the Poisson Kullback-Leibler divergence
( |
Hconstraint |
A string that indicates whether you want to set an L2 norm constraint on the rows of |
differr |
A double containing the tolerance |
rounds |
A double containing the number of rounds |
display_progress |
A Boolean indicating whether to display the progress bar |
minibatch |
A Boolean indicating whether to use the mini-batch version of the algorithm |
batchsize |
Number of batches for mini-batch updates |
random_W_updates |
A Boolean indicating whether to update |
minrounds |
A minimum number of rounds for the algorithm to run: most useful for the mini-batch algorithm |
An R list containing values for the objective function.
Cai2008jrSiCKLSNMF
\insertRefjnmf2009jrSiCKLSNMF
\insertRefEddelbuettel2011jrSiCKLSNMF
\insertRefEddelbuettel2014jrSiCKLSNMF
\insertRefElyanow2020jrSiCKLSNMF
\insertRefhalfbakednmfjrSiCKLSNMF
\insertRefLee1999jrSiCKLSNMF
\insertRefLiu2013jrSiCKLSNMF
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.