Peform an iteration of the second move in the algorithm. That is combine two clusters to improve the marginal likelihood.
join_units_2(
snp.object,
partition,
threshold = 1e-05,
n.cores = 1,
comb.chache = NULL
)The best partition after combining two clusters as well as a boolean value indicating whether a move increased the marginal likelihood.
A snp.object containing the processed SNP data.
An integer vector indicating an initial partition of the isolates.
The increase in marginal log likelihood required to accept a move.
The number of cores to use.
a matrix recording previous marginal llks of combining clusters