Description Usage Arguments Value
View source: R/data_integration_sketched.R
Solve for dataset specific shift b with Stochastic Porximal Point method
1 | solve_b_penalized(X, W, H, lambd, b.old, iter, b.gamma = 0.1)
|
X |
ncells-by-ngenes gene expression matrix |
W |
ngenes-by-r non-negative common factor matrix |
H |
ncells-by-r nonnegative factor loading matrix |
lambd |
numeric scalar, scaling associated with the dataset |
b.old |
b vector from last iteration |
iter |
current iteration, for calculating the step size. |
b.gamma |
tunning parameter for the L2 panelty on b.gamma. |
b shift vector of size p (ngenes).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.