LLHOfSignatureGivenSpectrum: The log likelihood of a *single* observed spectrum given the...

View source: R/SeparateBackground.R

LLHOfSignatureGivenSpectrumR Documentation

The log likelihood of a single observed spectrum given the signature.

Description

Assumes that all mutations spectrum were generated by signature.

Usage

LLHOfSignatureGivenSpectrum(spectrum, signature, nbinom.size)

Arguments

spectrum

A single background spectrum.

signature

A signature as a numeric vector.

nbinom.size

The dispersion parameter for the negative binomial distribution; smaller is more dispersed. See NegBinomial.


steverozen/mSigBG documentation built on Nov. 4, 2022, 10:58 a.m.