getError: Calculates error

Description Usage Arguments Value

View source: R/internal.scripts.R

Description

Finds error between calculated trinucleotide context fractions and inputted ones

Usage

1
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


luolingqi/deconstructSigs.hg38 documentation built on Jan. 22, 2021, 12:35 a.m.