Learn R Programming

mutSignatures (version 2.1.1)

custom_cssls: Custom CSSLS.

Description

This function contributes to solving a nonnegative least square linear problem using normal equations and 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

Usage

custom_cssls(CtC, CtA, Pset)

Arguments

CtC

numeric matrix

CtA

numeric matrix

Pset

nueric matrix

Value

a numeric matrix

Examples

Run this code
# NOT RUN {
x <- mutSignatures:::getTestRunArgs(testN = "custom_cssls")
y <- mutSignatures:::custom_cssls(CtC = x$CtC, CtA = x$CtA, Pset = x$Pset)
y
 
# }

Run the code above in your browser using DataLab