While running the somatic signature package,I am getting an error -
> sigs_nmf = identifySignatures(sca_mm, n_sigs, nmfDecomposition)
Error in rowQ(imat, ncol(imat)) : cannot handle missing values.
Calls: identifySignatures ... standardGeneric -> eval -> eval -> eval -> rowMax -> rowQ -> rowQ
In addition: Warning message:
In .local(x, rank, method, ...) :
NMF residuals: final objective value is NA
Please have a look at the link https://www.dropbox.com/s/wc0a0sprzqcydnq/Data.maf?dl=0 , where a toy example of maf file is there and the following link for the code https://www.dropbox.com/s/m6pf05hnyfj7gos/code.R?dl=0