updateTheta_NormalizedC: Update the auxiliary parameters theta and normalize them so...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Update the auxiliary parameters theta and normalize them so that the summation of each group sums to 1 (E-step), also calculate the current log-likelihood value

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
updateTheta_NormalizedC(
  vPatternList,
  vSparseCount,
  vF,
  vQ,
  fdim,
  signatureNum,
  sampleNum,
  patternNum,
  samplePatternNum,
  isBackground,
  vF0
)

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)

vF

F (converted to a vector)

vQ

Q (converted to a vector)

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

vF0

a background mutaiton features

Value

a value for theta


USCbiostats/HiLDA documentation built on Oct. 15, 2021, 10:22 a.m.