updateMstepFQC: Update the parameter F and Q (M-step in the EM-algorithm)

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Update the parameter F and Q (M-step in the EM-algorithm)

Usage

1
2
updateMstepFQC(vPatternList, vSparseCount, nTheta, fdim, signatureNum,
  sampleNum, patternNum, samplePatternNum, isBackground)

Arguments

vPatternList

The list of possible mutation features (converted to a vector)

vSparseCount

The table showing (mutation feature, sample, the number of mutation) (converted to a vector)

nTheta

The parameters in the distribution

fdim

a vector specifying the number of possible values for each mutation signature

signatureNum

the number of mutation signatures

sampleNum

the number of cancer genomes

patternNum

the number of possible combinations of all the mutation features

samplePatternNum

the number of possible combination of samples and mutation patternns

isBackground

the logical value showing whether a background mutaiton features is included or not

Value

a vector


HiLDA documentation built on Nov. 8, 2020, 11:09 p.m.