calc_change_in_ml: calc_change_in_ml

View source: R/calc_change_in_ml.R

calc_change_in_mlR Documentation

calc_change_in_ml

Description

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

Usage

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.


rhierbaps documentation built on Nov. 18, 2022, 5:06 p.m.