solve_b: Solve for dataset specific shift b

Description Usage Arguments Value

View source: R/data_integration.R

Description

argmin_{b_j>=0} ||X- HW^T diag(lambda_j) - 1_n b^T||_F^2

Usage

1
solve_b(X, W, H, lambd, 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.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.