calc_change_in_ml: calc_change_in_ml

Description Usage Arguments Value

View source: R/calc_change_in_ml.R

Description

Calculate the change in the log marginal likelihood after moving index to each possible cluster

Usage

1
calc_change_in_ml(snp.object, partition, indexes)

Arguments

snp.object

A snp.object containing the processed SNP data.

partition

An integer vector indicating a partition of the isolates.

indexes

Indexes of the isolates to be moved (must come from one cluster.)

Value

the best cluster to move indexes to.


gtonkinhill/rhierbaps documentation built on May 3, 2021, 9:04 p.m.