Learn R Programming

deconstructSigs (version 1.8.0)

updateW_GR: Updates the weights matrix

Description

Determines what proportion of what signature, when added to the current weights matrix, results in the lowest sum-squared error

Usage

updateW_GR(tumor, signatures, w, signatures.limit, bound = 100)

Arguments

tumor
Actual trinucleotide context fractions
signatures
Signatures matrix
w
Weights matrix
signatures.limit
Number of signatures to limit the search to

Value

Returns an updated weights matrix