lsqnonneg | R Documentation |
Ripped least squares fitting function from pracma
lsqnonneg(x, ...)
## Default S3 method:
lsqnonneg(mut.context.counts, signature.profiles)
## S3 method for class 'matrix'
lsqnonneg(mut.context.counts, signature.profiles, verbose = F)
## S3 method for class 'data.frame'
lsqnonneg(mut.context.counts, signature.profiles, verbose = F)
mut.context.counts |
A numeric vector of mutation context counts |
signature.profiles |
A matrix containing the mutational signature profiles, where rows are the mutation contexts and the columns are the mutational signatures. |
A vector returned containing the the absolute contribution of each signature
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.