Rdocumentation
powered by
Learn R Programming
deconstructSigs (version 1.8.0)
getError: Calculates error
Description
Finds error between calculated trinucleotide context fractions and inputted ones
Usage
getError(tumor, signatures, w)
Arguments
tumor
Actual trinucleotide context fractions
signatures
Signatures matrix
w
Weights matrix
Value
Returns the sum squared error between calculated and actual trinucleotide context fractions