W.fcnnls:
Function to calculate common W using Nonnegative Least Square method
Description
This function was obtained from NMF package (Gaujoux R., BMC Bioinformatics 2010,11:367) at https://github.com/renozao/NMF/blob/master/R/algorithms-snmf.R and was modified for using multiple data sets.
Usage
W.fcnnls(x = x, y = y, verbose = FALSE, pseudo = FALSE, eps = 0)