AssignWithCcube: Computing responsibilities (assignment probabilities) with...

View source: R/ccube.R

AssignWithCcubeR Documentation

Computing responsibilities (assignment probabilities) with modified Ccube VBEM-step

Description

Computing responsibilities (assignment probabilities) with modified Ccube VBEM-step

Usage

AssignWithCcube(res, ssm, tol = 1e-08, maxiter = 100, epi = 0.001,
  verbose = F)

Arguments

res

A reference Ccube results list

ssm

A data frame of SNVs to be assigned. Ideally, the data has been processed by Ccube model. So it should have the ccube_mult column.

tol

convergence threshold

maxiter

maximum iterations, default number is 100.

epi

sequencing error, default is 1e-3

verbose

show VBEM progress

Value

a standard Ccube model with recomputed responsibilities and logResponsibilities


keyuan/ccube documentation built on Jan. 11, 2023, 12:01 a.m.