View source: R/nnls_exposures.R
This function determines the signature exposures using non-negative least squares.
1 2 | nnls_exposures(subjectMotifs, refSignature, fractions = FALSE,
montecarlo = FALSE, iterations = 2000)
|
subjectMotifs |
The mutation catalog of a subject derived from mutation_catalog() |
refSignature |
The reference signature table, which can be imported by get_reference_signatures() |
fractions |
If TRUE, will return results as a fraction of all mutations rather than number of mutations. |
montecarlo |
If TRUE, will perform Monte Carlo simulation to obtain 95 percent confidence limits |
iterations |
The number of iterations of Monte Carlo to run |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.