solve_H: Solve for factor loading paramters H

Description Usage Arguments Value

View source: R/data_integration.R

Description

argmin_{H>=0} ||X- HW^T diag(lambd) - 1_n b^T||_F^2 s.t H1 = 1)

Usage

1
solve_H(X, W, lambd, b)

Arguments

X

ncells-by-ngenes gene expression matrix

W

ngenes-by-r non-negative common factor matrix

lambd

nonnegative numeric scalar, scaling associated with the dataset

b

nonegative scalar, shift associated with tht edataset

Value

ncells-by-r matrix, factor loading matrix H


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