update_G: Update G in Semi-NMF

View source: R/update_G.R

update_GR Documentation

Update G in Semi-NMF

Description

Update G in Semi-NMF

Usage

update_G(X, mf, mg)

Arguments

X

Data expression matrix need to be factorized

mf

The basis matrix

mg

The co-efficient matrix

Details

By definition, G is a graph adjacency matrix. The update_G updates G after every iteration.

Value

G The basis matrix

Author(s)

Haidong Yi, Ayush T. Raman

Examples

X <- matrix(1:12,nrow=4)
mf <- matrix(1:8,nrow=4)
mg <- matrix(1:6,ncol=2)
mg <- update_G(X,mf,mg)

aayushraman/DASC documentation built on May 9, 2023, 12:03 a.m.