nnls_exposures: Calculate signature exposures

Description Usage Arguments

View source: R/nnls_exposures.R

Description

This function determines the signature exposures using non-negative least squares.

Usage

1
2
nnls_exposures(subjectMotifs, refSignature, fractions = FALSE,
  montecarlo = FALSE, iterations = 2000)

Arguments

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


eyzhao/hrdtools documentation built on May 21, 2019, 3:09 a.m.