solve_subproblem: Solve subproblems via coordinate descent, given the parameter...

Description Usage Arguments Value

View source: R/data_integration.R

Description

Solve the subproblem given which parameter set to update. For each subproblem, the exact solution is obtained

Usage

1
2
3
4
5
6
7
8
9
solve_subproblem(
  params.to.update = c("W", "lambda", "H"),
  X.list,
  W,
  H.list,
  b.list,
  lambda.list,
  verbose = T
)

Arguments

params.to.update

a characteristic scalar, choice of ('W','lambda','b','H'), specifying which set of parameters to update

X.list

a list of ncells-by-ngenes gene expression matrix

W

ngenes-by-r numeric matrix.

H.list

A list of factor loading matrix of size ncells-by-r

b.list

A list of shift vector of size p (ngenes).

lambda.list

A list of scaling vector of size p (ngenes).

verbose

boolean scalar, whether to show extensive program logs (default TRUE)

Value

a list containing updated parameters: W, H.list, lambda.list, b.list


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