Run the CLUMPP algorithms.

Description

Run the CLUMPP algorithms.

Usage

1
clumpak(Q_list, method = "none")

Arguments

Q_list

A list of of Q matrices.

method

The method the algorithm uses to infer the correct permutations. One of 'greedy' or 'greedyLargeK' or 'stephens' or 'none'

Examples

1
2
3
4
# Read in Structure files
multiple_runs_k10 <- exampleStructure("mcmc_diagnostics")
Q_list <- lapply(multiple_runs_k10, getQ)
clumpak_results <- clumpak(Q_list)