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

View source: R/ccube_sv.R

AssignWithCcube_svR Documentation

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

Description

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

Usage

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

Arguments

res

A reference Ccube results list

ssm

A data frame of SVs to be assigned. Ideally, the data has been processed by CcubeSV model. So it should have ccube_mult1 and ccube_mult2 columns.

tol

convergence threshold

maxiter

maximum iterations, default number is 100.

epi

sequencing error, default is 1e-3

verbose

show VBEM progress

Value

a standard CcubeSV model with recomputed responsibilities and logResponsibilities


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