objective_func: Calculate the objective function

Description Usage Arguments Value

View source: R/data_integration.R

Description

1/N ∑_j||X_j -(H_JW^TΛ_j + 1_{n_j} b_j^T)||_F^2

Usage

1
objective_func(X.list, W, lambda.list, H.list, b.list)

Arguments

X.list

a list of ncells-by-ngenes gene expression matrix

W

ngenes-by-r numeric matrix.

lambda.list

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

H.list

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

b.list

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

Value

numeric scalar, the value of the objective function


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