calc_llh: Calculates likelihood of the genome with respect to the...

View source: R/calc_llh.R

calc_llhR Documentation

Calculates likelihood of the genome with respect to the available signature probability distributions

Description

Calculates likelihood of the genome with respect to the available signature probability distributions

Usage

calc_llh(spectrum, signatures, counts = NULL, normalize = T)

Arguments

spectrum

is the mutational spectrum

signatures

is the reference signature catalog with the probability distributions

counts

is the number of cases in each cluster that is represented in the catalog. They are used as weights for each signature in the catalog

normalize

is true by default only for when it is used together with NNLS in the match_to_catalog function it is not normalized here but outside of the function


parklab/SigMA documentation built on Feb. 10, 2024, 6:59 p.m.