solve_b_penalized: Solve for dataset specific shift b with Stochastic Porximal...

Description Usage Arguments Value

View source: R/data_integration_sketched.R

Description

Solve for dataset specific shift b with Stochastic Porximal Point method

Usage

1
solve_b_penalized(X, W, H, lambd, b.old, iter, b.gamma = 0.1)

Arguments

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.

Value

b shift vector of size p (ngenes).


pengminshi/cFIT documentation built on July 11, 2021, 11:12 p.m.