custom_fcnnls | R Documentation |
This function contributes to solve a least square linear problem using the fast combinatorial strategy from Van Benthem et al. (2004). This implementation is similar to that included in the NMF R package by Renaud Gaujoux and Cathal Seoighe, and it is tailored to the data used in the mutational signature analysis. For more info, see: https://CRAN.R-project.org/package=NMF
custom_fcnnls(mutCounts, signatures)
mutCounts |
numeric matrix including mutation counts |
signatures |
numeric matrix including mutation signatures |
list, including: (K) a numeric matrix of estimated exposures; and (Pset) a Pset numeric matrix
x <- mutSignatures:::getTestRunArgs(testN = "custom_fcnnls") y <- mutSignatures:::custom_fcnnls(mutCounts = x$muts, signatures = x$signs) y$coef
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.