Learn R Programming

QuantumClone (version 1.0.0.6)

BIC_criterion_FLASH: Compute criterion FLASH

Description

Computes BIC from a list of outputs of EM algorithm, then returns the position with minimal BIC

Usage

BIC_criterion_FLASH(Obj, Mut_num, k, model.selection, s)

Arguments

Obj

Numeric vector with objective function values

Mut_num

Number of mutations to cluster

k

the number of clusters (in the same order as Obj)

model.selection

The function to minimize for the model selection: can be "AIC", "BIC", or numeric. In numeric, the function

s

Number of samples